Right now, your server is likely running a Java version below 11. With Minecraft 1.17 being on the horizon, you'll want to update this if you're running a Paper server. This is especially important for users who plan to update their server when 1.17 is released. In the meantime, you might see a warning in your server's console that looks a little like this:
[io.papermc.paper.util.PaperJvmChecker] * WARNING - YOU ARE RUNNING AN OUTDATED VERSION OF JAVA.
[io.papermc.paper.util.PaperJvmChecker] * PAPER WILL STOP BEING COMPATIBLE WITH THIS VERSION OF
[io.papermc.paper.util.PaperJvmChecker] * JAVA WHEN MINECRAFT 1.17 IS RELEASED.
[io.papermc.paper.util.PaperJvmChecker] * Please update the version of Java you use to run Paper
[io.papermc.paper.util.PaperJvmChecker] * to at least Java 11. When Paper for Minecraft 1.17 is
[io.papermc.paper.util.PaperJvmChecker] * released support for versions of Java before 11 will
[io.papermc.paper.util.PaperJvmChecker] * be dropped.
If you take out all the extra spacing and text, you get the following informational message:
Warning - You are running an outdated version of Java. Paper will stop being compatible with this version of Java when Minecraft 1.17 is released. Please update the version of Java you use to run Paper to at least Java 11. When Paper for Minecraft 1.17 is released support for versions of Java 11 will be dropped.
TL;DR - Paper will not support any versions below Java 11 once updated for Minecraft 1.17, so update your server's Java version before then.
If I don't update my Java version, will it break my server?
Until you update to Paper for 1.17, no. You can leave your server's Java version as-is.
How do I update my server's Java version?
You can use whichever version of Java you'd like, from 7 to 11. If you plan to update your server to 1.17, you'll need to use Java 11. To update this on your server, log into Prisma and select the server you'd like to manage, then follow the steps below.
Stop your server.
Go to your server's File Manager by selecting Customize then File Manager in Prisma's top navigation bar.
In your file manager, locate the
.java_versionfile and open it by double-clicking on its file line or by selecting the edit button.
Find the line that does not begin with a pound sign (
#) but goes straight to
Update the number or word
autoafter the equals sign (
11. The line should now read as
Note: The other lines beginning with the pound sign serve as notes. If you do not follow step 4, you may remove the pound sign from one of the lines but this should leave
java-version=11behind. Otherwise, do not edit any other lines.
Save your changes by selecting the Save button toward the top-right.
Start your server. You're all set!
Will you ever automatically update my server's Java version?
If you use the
auto option in your Java version file, we may automatically update the version of Java your server is using based on the server type you're running. While this will work successfully in most cases, we cannot guarantee that the most appropriate version will be selected for every server type.
How do I get more help?
You can reach out to our team at any time using the blue bubble in the bottom-right of our site or by emailing us at [email protected].