Knowledge Base
Choosing the correct Java version for Minecraft
Before you start your Minecraft server, make sure it runs the Java version that matches your Minecraft version. The wrong version causes compatibility problems and can hurt performance.
| Minecraft server version | Required Java version | Required Java version (Forge and Fabric only) |
|---|---|---|
| 1.16 and below | Java 11 | Java 8 |
| 1.17 | Java 16 | Java 16 |
| 1.18 to 1.20 | Java 17 | Java 17 |
| 1.20.5 and above | Java 21 | Java 21 |
Change the Java version
- Log into the Zettako Panel and open your server.
- Go to the Startup page.
- Open the Docker Image drop down and select the version you need.
- Go back to the Console page and restart your server. This installs the new Java version and runs your server on it.