Sonarqube 9.9 LTS | Java 8 | Scanners issue

Hello,

We are using SonarQube 9.9 LTS in our Organization. We already understood that according to documentation, SonarQube 9.9 LTS scanners doesn’t support Java 8 anymore.
Since we cannot upgrade our Java 8 based projects due to some dependencies, is there another way or work around to use SonarQube 9.9 LTS?

Thanks,
Satya

Hi Satya,

You can still compile your project with Java 8. You just need to run the scanner with Java 11 or 17. Alternately you can compile and analyze with the same, modern JVM and use the -target flag to compile to Java 8.

 
HTH,
Ann

Thank you Ann