Start SonarQube server with specific jdk

Is there any way to start the SonarQube server (version 3.7.4) with a specific jdk.

My case: My java-home is configured on jdk 1.8, but the SonarQube server has some known issues with 1.8. So I want to start the server using jdk 1.7 (without setting my java-home to 1.7). I could not find anything in bat files.

OS: Windows 7; SonarQube Server Version: 3.7.4

+4
source share
1 answer

You need to edit the file <install_directory>/conf/wrapper.confand update the property wrapper.java.commandto indicate the desired JDK.

Everything is described in this file wrapper.conf.

+8
source

Source: https://habr.com/ru/post/1568291/


All Articles