Sonarqube 9.9 LTS Java requirements and code being analyzed written in JDK 1.8

I read in the documentation of Sonarqube 9.9 LTS the following when it comes to Java requirements:

Server: Open JDK 17
Scanner: Open JDK 11 / Open JDK 17

Am I correct in my understanding that Sonarqube 9.9 LTS minimum java requirements to run the actual application requires Open JDK 17 but what’s with the scanner? Is the scanner responsible in doing the analysis of the code that is being sent to it and generates a report? But if there’s a code written in Open JDK 1.8 for example, Sonarqube 9.9 LTS will still be able to analyze the code am I correct?

Also, can you send me the Java requirements of Sonarqube 9.5? I can’t see it in the previous documentation that you have before.


Java 17 is required to run the server. You can perform analysis - on your build agent - with either Java 11 or 17.

But you can compile with or to any version of Java that you want and as long as you’re running analysis with Java 11 or 17 you should be good to go.

We recently ported our documentation to a new platform, and since SonarQube 9.5 was EOL when 9.6 was released, that version of the docs didn’t get ported.


Thank you. I’m already running Sonarqube 9.9 LTS in my prod server :sunglasses: