Java 11 is an older LTS release of Java, and includes many new features such as a faster garbage collection algorithm, general performance improvements, and advancements in the code that allows developers to write better and cleaner code. Java 16 is the latest non-LTS release with similar benefits, now that Java 17 has been released it is the latest LTS release of Java that includes more optimizations and stability changes.

Many server JARs are planning to require a newer version in upcoming releases, so it's important to make sure your server is ready!

When Paper switches to require Java 16, what do I have to do?

As a PebbleHost customer, you will be automatically updated to the correct Java version for your server, it will not be necessary to change any settings or configuration files. All services should already be running the correct Java version for their specific Minecraft version so you won't need to touch a thing!

When Minecraft 1.18 switches to require Java 17, what do I have to do?

As above as a PebbleHost customer, you will be automatically updated to the correct Java version for your server, it will not be necessary to change any settings or configuration files. All services should already be running the correct Java version for their specific Minecraft version so you won't need to touch a thing!

Will my server be rebooted when PebbleHost switches Java versions?

No. Should we switch the Java version for a specific JARfile, it will simply be switched next time you Restart the server - which would be necessary for an update to Minecraft 1.17 anyway.

What if I want to switch early?

In the PebbleHost Control Panel you can easily choose to switch Java versions to either Java 8, 11, or 17 at any point, please feel free to follow the below steps:

On your main server page, go to the PebbleHost Loader settings:
Change the Java Version option to your desired version:
Restart your server using the green Restart button on your server page

The "Automatically Detect" option will detect the Java Version based on your Minecraft version. Please note this does not work with a custom.jar file, you would need to in this case choose it manually

Will all my plugins be compatible with Java 11/16/17?

Likely, yes. There may be a very small minority of plugins that are not compatible however the vast majority will function correctly. You always have the option to switch back to different Java if you hit into any issues, with the latest 17 release you will likely find many plugins will need to be updated but as it is the latest LTS it is likely that many developers will start to use this version making plugins compatible.

Is there any server JAR / version that is not compatible with Java 11 / Java 16 / Java 17?

Yes, many Forge versions alongside older builds of Minecraft may not be compatible. The best way to test this is to simply try to start the server with Java 11/16/17 and see if it works - you can always switch back if it does not.
Was this article helpful?
Cancel
Thank you!