Before starting your Minecraft server, ensure it is running the appropriate Java version for the Minecraft version you intend to play. Using the correct Java version helps prevent compatibility issues and improves server performance.

Minecraft Server & Java Compatibility

Minecraft Server Version

Required Java Version

Required Java Version (Forge & 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

Make sure your server is configured with the correct Java version before launching. This will ensure smooth gameplay and avoid potential issues.


1. Log into the Pterodactyl panel and open your server

2. Head to the Startup Page

3. Click the Docker Image drop down and select the required version

4. Head back to the console page and restart your server. This will install the new java version and run your code on the new version.

Was this answer helpful? 1 Users Found This Useful (1 Votes)

Powered by WHMCompleteSolution