You might see
UnsupportedClassVersionErrorUnsupported class versionhas been compiled by a more recent version of the Java Runtimeclass file version 65.0class file version 61.0class file version 69.0
Our servers
- All the Mods 10Minecraft 1.21.1 · NeoForgeJava 21
How to fix it
- In your launcher, turn off any custom Java path so it uses its own Java.
- Picking one yourself? Use the table. Newer than needed is fine; older won't start.
- In the error, class file version 61 = Java 17, 65 = Java 21, 69 = Java 25.
Which Java each Minecraft version needs
| Minecraft version | Java needed |
|---|---|
| 1.20 – 1.20.4 | Java 17 |
| 1.20.5 – 1.21.11 | Java 21 |
| 26.1 and newer | Java 25 |
Was this article helpful?
Thanks! Glad that sorted it.
Sorry about that. What went wrong?
Thanks, that helps us fix it.
Staff can sort it out with you.Open a ticket
