Which Java version do I use for my Minecraft server?
When installing or upgrading a Minecraft server, one of the parameters that needs to be properly configured is the “Java version” that corresponds with the server version, otherwise the server simply won’t boot.
Minecraft version to Java table
Server Version | Java Version |
1.16.5 & older | Java 8 |
1.17 - 1.17.1 | Java 16 |
1.18 - 1.20.4 | Java 17 |
1.20.5 + | Java 21 |
Related documentation
If you require further assistance, you can open a support ticket here!
Feedback and suggestions regarding this article are welcome on our Discord server