start SonarQube server with specific jdk

故事扮演 提交于 2020-01-01 02:31:10

问题


Is there a way to start the SonarQube server (v. 3.7.4) with an specific jdk?

My case: My java-home is set to jdk 1.8, but SonarQube server has some known problems with 1.8. So I want to start the server with jdk 1.7 (without setting my java-home to 1.7). I couldn't find anything in the bat-files.

OS: Windows 7; SonarQube server version: 3.7.4


回答1:


You have to edit the <install_directory>/conf/wrapper.conf file and update the wrapper.java.command property to point to the JDK you want.

Everything is documented in this wrapper.conf file.



来源:https://stackoverflow.com/questions/27562943/start-sonarqube-server-with-specific-jdk

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!