The plugin [cxx] does not support Java 1.8.0_222

Dear Team,

I upgraded Sonarqube from 7.9.5 LTS to 8.9 LTS and added C++(community) 2.0.1 plugin but I have this message below my java -version ? Thanks

java -version
openjdk version “11.0.9” 2020-10-20 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.9+11-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.9+11-LTS, mixed mode, sharing)


It seems that sonar-scanner is using an older version of Java. You can confirm this running sonar-scanner --version:

INFO: Scanner configuration file: /home/felipe/sonar/sonar-scanner-
INFO: Project root configuration file: NONE
INFO: SonarScanner
INFO: Java 11.0.11 Oracle Corporation (64-bit)
INFO: Linux 5.12.8-arch1-1 amd64

Thanks Felipe !

So in fact Sonarqube 8.9 LTS is compatible with Sonar-scanner ?