setupmc.com

Java for your Minecraft server

Minecraft Java version checker

Choose your Minecraft version or paste the startup error. You get the matching Java version and Docker image.

Enter a version or startup error

A pasted startup error takes priority over the selected version.

Or paste a startup error

As soon as a class-file version is detected, the result uses the startup error instead of the selection above.

Why this happens

Which Java version does the error refer to?

Java bytecode contains a class-file version. The server needs a runtime that supports it, including when running in Docker.

Read the full Java version guide
Minecraft versionRecommended JavaClass file
26.1+ Java 2569.0
1.20.5 – 1.21.11 Java 2165.0
1.18 – 1.20.4 Java 1761.0
1.17.x Java 1760.0
1.12 – 1.16.5 Java 852.0

FAQ

Java version questions