Currently we are using 4.2 sonnar scanner version
OS: Intel(R) Xeon(R) Platinum 8260
Java: openjdk version “1.8.0_181”
OpenJDK Runtime Environment (Zulu 8.31.0.1-win64) (build 1.8.0_181-b02)
OpenJDK 64-Bit Server VM (Zulu 8.31.0.1-win64) (build 25.181-b02, mixed mode)
We have upgaded our project to java 17 we need to know that what version of
sonnar scanner supoorts java 17?
Also is there any version that supports java 17 as well as java 1.8.
What version of SonarQube are you using (this is different than the scanner – the version of SonarQube can be found in the footer of your SonarQube instance).
Hi i am using SonarQube 10.1 version.
Can you tell me the version that supports both java 17 and java 1.8 scanner version?
Currently we are using sonar scanner version 4.2.
This version, like any version since SonarQube v10.4 requires Java 17 to run the scanner, but as always you can pick the version of Java you want to build your project and then switch over to Java 17 to run the scanner.
The latest versions of the scanner, combined with the latest versions of SonarQube, even support JRE auto-provisioning (using whatever JRE you want to start the scanner, which downloads the right JRE from your SonarQube server).