问题描述
有没有办法用特定的 jdk 启动 SonarQube 服务器(v. 3.7.4)?
Is there a way to start the SonarQube server (v. 3.7.4) with an specific jdk?
我的情况:我的 java-home 设置为 jdk 1.8,但 SonarQube 服务器在 1.8 中存在一些已知问题.所以我想用 jdk 1.7 启动服务器(没有将我的 java-home 设置为 1.7).我在 bat 文件中找不到任何内容.
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.
操作系统:Windows 7;SonarQube 服务器版本:3.7.4
OS: Windows 7; SonarQube server version: 3.7.4
推荐答案
您必须编辑 <install_directory>/conf/wrapper.conf 文件并更新 wrapper.java.命令属性指向你想要的JDK.
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.
所有内容都记录在此 wrapper.conf 文件中.
Everything is documented in this wrapper.conf file.
这篇关于使用特定 jdk 启动 SonarQube 服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)