Java version problems

UnsupportedClassVersionError — 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

  1. Class file version maps to a Java release: 52=8, 55=11, 60=16, 61=17, 65=21
  2. Install that Java release and point the launcher at it
  3. Minecraft 1.17–1.20.4 needs Java 17; 1.20.5 and newer need Java 21
SeverityStops the game
CategoryJava version problems

Check your own log

Related errors