Java version problemsUnsupportedClassVersionError — wrong Java version
What the log looks like
unsupportedclassversionerror
has been compiled by a more recent version of the java runtime
How to fix it
- Class file version maps to a Java release: 52=8, 55=11, 60=16, 61=17, 65=21
- Install that Java release and point the launcher at it
- Minecraft 1.17–1.20.4 needs Java 17; 1.20.5 and newer need Java 21
| Severity | Stops the game |
|---|
| Category | Java version problems |
|---|
Check your own log