SonerQube 9.6 doesnt start

Hello!

I started to install SonarQube 9.6. I installed JAVA 11 as part of the perquisite. I have set the below environment variables in my machine -
JAVA_HOME=C:\Program Files\Java\jdk-11.0.16
Path = C:\Program Files\Java\jdk-11.0.16\bin
SONAR_JAVA_PATH=C:\Program Files\Java\jdk-11.0.16\bin

Even after doing everything as suggested in the documentation, i am getting the below error -

Starting SonarQube…
‘“C:\Program Files\Java\jdk-11.0.16\bin”’ is not recognized as an internal or external command,
operable program or batch file.

please help.

Hi,

The SONAR_JAVA_PATH must contain the full path to java.exe, i.e. C:\Program Files\Java\jdk-11.0.16\bin\java.exe

3 Likes

Thank you so much. That error has gone now but getting this error now . I had put sonar-python-plugin-2.5.0.5733 in the folder - D:\Python\pylint\sonarqube-9.6.1.59531\sonarqube-9.6.1.59531\extensions\plugins and then ran this. Is there something wrong with the plugin here?

The sonar-python plugin is already bundled with SonarQube server, you don’t need to put it in the ‘extension/plugins’ directory.

1 Like

Thank you