Is sonar scanner with jdk 8 and sonarqube with jdk 11. This scenario is feasible

Hi Community,

Here are the following versions I am using:
Sonar Scanner 4.2.0 with Version jdk 8
Sonar Qube version 7.9.6 using jdk 11

Is this compatibility allowed?



Welcome to the community!

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.9.6 → 8.9.9 → 9.6 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

In SonarQube v8.9 LTS, the use of Java 8 to run your analysis (the scanner) is deprecated, and by SonarQube v9.0 it becomes necessary to Move Analysis to Java 11, although you can still run the build itself with Java 8.