Error in sonar startup, Unable to start JVM: No such file or directory (2)

前端 未结 7 2184
日久生厌
日久生厌 2020-12-28 14:18

I am facing strange issue with sonarqube 5.0.1 , one one of the machine it is not starting. Here is the error log - sonar.log -

--> Wrapper Started as D         


        
7条回答
  •  有刺的猬
    2020-12-28 14:36

    Solution 1

    Set java path globally

    Solution 2

    • Go to sonarqube-{version}/conf directory
    • Edit wrapper.conf file
    • Replace wrapper.java.command=java with wrapper.java.command= {path-to-your-java-bin-directory}/java

      eg: wrapper.java.command=/usr/java/bin/java

提交回复
热议问题