Sonarqube setting

version: sonarqube-8.7.1.42226

after download this

step 1: run sonarqube-8.7.1.42226\bin\windows-x86-64\StartSonar.bat
if got error:
SonarQube requires Java 11 to run
then go to download Jdk 13, below is the link:
https://www.oracle.com/java/technologies/javase-downloads.html

go to below path and edit file:
C:\tools\Sonarqube\sonarqube-developer-8.7.1.42226 (1)\sonarqube-8.7.1.42226\conf\wrapper.conf
Modify the 4th line and update the jdk path with new installed one, can comment the 4th and add new line like below:
#wrapper.java.command=java
wrapper.java.command=C:\Program Files\Java\jdk-13.0.2\bin\java


after this try to run the StartSonar.bat again, if no error, then
go to web brower, localhost:9000
key in account:
acc: admin
pw: admin
after that need to reset password, i change it to admin1

posted @ 2022-10-11 14:33  renren0113  阅读(42)  评论(0)    收藏  举报