Which Java version to use for Minecraft server?

Written By Xylo01

Last updated About 10 hours ago

Minecraft servers run on Java, and each version of Minecraft requires a compatible Java version. Using the wrong Java version may prevent the server from starting or cause plugins, mods to fail during startup.

Java Version List

Minecraft VersionJava Version

1.16.5 and below

Java 8

1.17

Java 16

1.18 to 1.20.4

Java 17

1.20.5 and above

Java 21

Some plugins or mods may require a newer Java version than the base Minecraft version. Always follow the Java version specified by the mod or plugin developer if one is listed.

How to change Java version for your server

  1. Access your server from the gamepanel

  2. From the left side of the panel, open the Startup tab.

  3. Select the appropriate Java version from the Docker image area.

  1. Start your server!