Prerequisite. The only prerequisite for running SonarQube is to have Java (Oracle JRE 11 or OpenJDK 11) installed on your machine. Sonar Documentation Prerequisites and overview | SonarQube Server 8.9
Scanners can run on either Java 8 or Java 11 .
You cannot run the sonarqube-8.9 Docker image or the .zip distribution using JAVA_HOME pointing to JDK 8 or JDK 17. The embedded ElasticSearch engine within SonarQube 8.9 is explicitly compiled for Java 11. sonarqube 8.9 supported java version
Edit conf/wrapper.conf inside the SonarQube installation directory:
If you have landed on this article searching for the "SonarQube 8.9 supported Java version" , you are likely in the middle of an installation, an upgrade from an older LTS, or trying to troubleshoot a startup error. This guide will leave no stone unturned. We will cover the exact Java requirements for the server, the analysis process (scanner), and why these constraints exist. Prerequisite
java.lang.UnsupportedClassVersionError: com/sonar/scanner/scanner has been compiled by a more recent version of Java Runtime
If you are an administrator installing or upgrading to SonarQube 8.9, your primary concern is the server runtime. You cannot run the sonarqube-8
If your project has upgraded to , SonarQube 8.9 presents a limitation.