Java 11 is the latest 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.

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!

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?

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 Java 8 if you hit into any issues

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

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 and see if it works - you can always switch back if it does not.
Was this article helpful?
Thank you!