Enigmatica 6 - E6 - 1.16.5

Enigmatica 6 - E6 - 1.16.5

1M Downloads

Improve server-setup-config.yaml to allow serverpack to also run on java16+ without user intervention

radiomike opened this issue ยท 2 comments

commented

Describe your suggestion

Add the following to server-setup-config.yaml

    - "--add-opens=java.base/sun.security.util=ALL-UNNAMED"
    - "--add-opens=java.base/java.util.jar=ALL-UNNAMED"
    - "-XX:+IgnoreUnrecognizedVMOptions"

Why would you like this added/changed?

This will allow the server pack to run on java 16+ without needing additional user intervention. Because of the inclusion of -XX:+IgnoreUnrecognizedVMOptions earlier java versions will ignore the other lines and won't break.

commented

Solid suggestion, have you tried it out yourself? :)

commented

I've been using them in a few packs in multimc with various different java versions.