Upgrading Sonarqube CE 8.9 LTS to 9.9LTS - Java 17 question

In Sonarqube v8.9 and previous, there was a wrapper.conf file which could be used to specify the path to Java for Sonarqube to use. It looks like the wrapper.conf is gone in Sonarqube 9.9 LTS. If I need the default jvm used on the server to be Java 11 but the jvm used by Sonarqube to be Java 17, where would I configure this?


Hey there.

Great question!

You can configure the SONAR_JAVA_PATH environment variable to point to the other Java instance.