java.lang.UnsupportedClassVersionError: org/sonar/batch/bootstrapper/EnvironmentInformation has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up t

I am getting the above error . Even though I have java version 11 and file version 55 .

Could anyone please help ?

Maybe you need to set environment variable JAVA_HOME to point to the JDK11 folder.
Tools like Maven and Gradle use the JDK in JAVA_HOME if it is set.

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.