FreeMCHost logoFreeMCHost
Free Minecraft tools

Which Java version for your Minecraft server?

Type your Minecraft version, or the class file number printed in the error.

Use Java 21

This jar needs Java 21 or newer.

Full table

MinecraftJava
26.1 and newer25
1.20.5 to 1.21.x21
1.18 to 1.20.417
1.1716 or newer
1.16.5 and older8

Fix UnsupportedClassVersionError

Select the matching Java image in your startup settings and restart. Details in the Java version guide.

Questions

Which Java does Minecraft 1.21 need?

Java 21.

Which Java does Minecraft 1.20.1 need?

Java 17.

What is class file version 65?

It is Java 21. The Java number is the class file version minus 44.

Need somewhere to run it?