What Version Of Java Do You Need For A Minecraft Server?
Running a Minecraft server? Then knowing what Java version you need isn’t just helpful—it’s essential. Each specific Minecraft version comes with its own Java version requirements, and skipping this step can lead to frustrating errors, unstable worlds, or even an unlaunchable .jar file.
Whether you're setting up a Java Edition server for the first time or upgrading to the latest version, this guide will show you what version of Java do you need for Minecraft server, and how to install the latest Java version or desired version for your server in no time!
Different Minecraft versions have different minimum Java version requirements. Below are the recommended Java versions for each version of Minecraft:
The recommended Java version for Minecraft versions 1.20 and above is Java 17.
The required Java version for Minecraft 1.18 to 1.19.4 is Java 17.
The recommended Java version for Minecraft 1.17 is Java 16.
The recommended Java version for Minecraft 1.12 to 1.16.5 is Java 8.
The recommended Java version for Minecraft 1.7.10 and below is Java 7, or Java 8.
To change the Java Version of your Minecraft server:
Log in to your Apollo Panel
Navigate to the “Startup” tab under the Configuration category.

After that, you should see a Java Version box beside the Startup Command field.

Select the suitable Java Version according to your Minecraft server version and the option will be auto saved.

Lastly, to make the update to the Java version effective, don't forget to restart the server.
If you need any further help, you can file a ticket here, and we'll answer right away!
Whether you're setting up a Java Edition server for the first time or upgrading to the latest version, this guide will show you what version of Java do you need for Minecraft server, and how to install the latest Java version or desired version for your server in no time!
Recommended Java Versions
Different Minecraft versions have different minimum Java version requirements. Below are the recommended Java versions for each version of Minecraft:
Minecraft 1.20 and Above
The recommended Java version for Minecraft versions 1.20 and above is Java 17.
Minecraft 1.18 to 1.19.4
The required Java version for Minecraft 1.18 to 1.19.4 is Java 17.
Minecraft 1.17
The recommended Java version for Minecraft 1.17 is Java 16.
Minecraft 1.12 to 1.16.5
The recommended Java version for Minecraft 1.12 to 1.16.5 is Java 8.
Minecraft 1.7.10 and Below
The recommended Java version for Minecraft 1.7.10 and below is Java 7, or Java 8.
How to Change Minecraft Server Java Version
To change the Java Version of your Minecraft server:
Log in to your Apollo Panel
Navigate to the “Startup” tab under the Configuration category.

After that, you should see a Java Version box beside the Startup Command field.

Select the suitable Java Version according to your Minecraft server version and the option will be auto saved.

Lastly, to make the update to the Java version effective, don't forget to restart the server.
Still have some questions about setting up Java on your Minecraft server?
If you need any further help, you can file a ticket here, and we'll answer right away!
Updated on: 21/04/2025
Thank you!