Minecraft | switching between java versions
In this tutorial, we will demonstrate how to switch between different Java versions for your Minecraft server.
-
Minecraft Java Edition
1.0
to1.5.2
:- Recommended Java version:
Java 6
orJava 7
- Recommended Java version:
-
Minecraft Java Edition
1.6
to1.8.9
:- Recommended Java version:
Java 7
orJava 8
- Recommended Java version:
-
Minecraft Java Edition
1.9
to1.12.2
:- Recommended Java version:
Java 8
- Recommended Java version:
-
Minecraft Java Edition
1.13
to1.15.2
:- Recommended Java version:
Java 8
orJava 11
- Recommended Java version:
-
Minecraft Java Edition
1.16
to1.16.5
:- Recommended Java version:
Java 8
orJava 11
- Recommended Java version:
-
Minecraft Java Edition
1.17
to1.20.4
:- Recommended Java version:
Java 17
or later
- Recommended Java version:
-
Minecraft Java Edition
1.20.5
and later:- Recommended Java version:
Java 21
or later
- Recommended Java version:
By default, our Minecraft servers are deployed with the latest OpenJDK version. They also have automatic Java version detection. However, if automatic detection does not occur, follow the steps below:
- Stop your Minecraft server.
- On the left-hand side, locate the
Select Java version
button.
- Click the button to open the dropdown menu.
- Choose the desired Java version from the list.
- Click
Execute
to apply the selected Java version.
If your server fails to start after switching Java versions, it is likely due to an incompatible Java version. In such cases, revert back to Java 8.
- Use
Java 17
for Minecraft servers running1.17
to1.20.4
. - Use
Java 21
for Minecraft servers running1.20.5
and above.
Following these steps will allow you to easily switch between Java versions for your Minecraft server.