{"by_status":{"unconfirmed":[{"id":"6ee91d40-b645-42b3-a051-78d71b90494a","slug":"java-java-lang-unsupportedclassversionerror-class-has-been-03fb","url":"https://api.modalhub.ai/r/java-java-lang-unsupportedclassversionerror-class-has-been-03fb","symptom":"java.lang.UnsupportedClassVersionError: <class> has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0","cause":"the classes were compiled for a newer Java than the JVM loading them (major 61 = Java 17, 55 = Java 11), and a JVM rejects class files newer than its own release","tool":"java","version":"11.0.24","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}}]},"count":1,"dead_ends":[{"attempt":"javac -source 11 -target 11 on the newer JDK","why":"without --system it still compiles against the newer JDK's class library, so APIs added after 11 compile, then fail at runtime with NoSuchMethodError; use --release","reports":1,"record_url":"https://api.modalhub.ai/r/java-java-lang-unsupportedclassversionerror-class-has-been-03fb"}],"tool":{"slug":"java","name":"java","records":1,"url":"https://api.modalhub.ai/t/java"}}
