STEP 1111 of 16
Match Java to Minecraft
Recognize the usual version errors without memorizing Java releases.
◷ About 7 min◇ EasyReviewed Aug 18, 2026
The runtime must match the game#
Java is the runtime that executes a Minecraft server. A Java release can be too old for a newer server, while some old mod loaders or mods do not support the newest Java. Crafty’s container may include several Java versions; choose the one required by the exact Minecraft release.
| Minecraft generation | Typical Java requirement |
|---|---|
| 1.16.5 and older | Java 8 for many packs |
| 1.17.x | Java 16 |
| 1.18 through 1.20.4 | Java 17 |
| 1.20.5 through 1.21.x | Java 21 |
| 26.1 | Java 25 according to current Fabric documentation |
Recognize a Java error#
“Unsupported class file major version,” “compiled by a more recent version,” or a message requesting a specific Java release usually means the selected runtime is too old. Immediate crashes involving removed Java modules can mean it is too new for an old pack.
- 1Stop the server in Crafty.
- 2Open the server’s Config or launch settings.
- 3Find the Java executable/runtime override.
- 4Select the release required by that Minecraft and Fabric combination.
- 5Save, start, and read the first error—not just the final “process exited” line.
Was this page helpful?