However, when running the SonarScanner with JDK 8, we get the following warning:
“SonarScanner will require Java 11 to run starting in SonarQube 8.x”.
What does that mean? Will the support of JDK 8 be stopped in the near future for the SonarScanner?
We are using SonarScanner with gradle for Android projects, where JAVA 8 is the default.
If the support will not be stopped what is the sense of that warning?
You are correct that this message is intended to be a warning of the requirement (it’s optional now) to use Java 11 to run the SonarQube Scanners in an upcoming (TBD) version. Note that this does not mean you need to compile your code in Java 11, just to run the Scanner tool.
I don’t get the point of your answer.
Is it planned to stop the support of Java 8 for the Sonar Scanner in an upcoming version or not?
If not, why the warning?
Same question comes to my mind but for Java 11. I did check the JDK version which is 11.0.9.1 on the sonar server, but the logs still display “WARN: SonarScanner will require Java 11 to run starting in SonarQube 8.x”.