start SonarQube server with specific jdk(使用特定 jdk 启动 SonarQube 服务器)
问题描述
有没有办法用特定的 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 服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:使用特定 jdk 启动 SonarQube 服务器
基础教程推荐
- RabbitMQ:消息保持“未确认"; 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 如何对 Java Hashmap 中的值求和 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- Struts2 URL 无法访问 2022-01-01
