I am running SonarQube - Developer Edition - Version 9.1.0 (build 47736)
Sonarqube starts fine, but when I try to run a code analysis from Azure DevOps, I get the following error:
##[error]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 to 52.0
Searching, it looks like the problem is that my installed version of Java is too old. But the Requirements page says that what I need is Oracle JRE 11 or OpenJDK 11.
Which is what I have (OpenJDK 11).
From the command line:
> java --version openjdk 11.0.13 2021-10-19 OpenJDK Runtime Environment 18.9 (build 11.0.13+8) OpenJDK 64-Bit Server VM 18.9 (build 11.0.13+8, mixed
From the Administration/System page:
What am I missing?