使用特定的Java

时间:2018-08-26 09:01:06

标签: sonarqube

启动声纳管时,出现以下错误

  

jvm 1 | 2018.08.26 15:55:32信息   app [] [o.s.a.p.ProcessLauncherImpl]启动过程[[key ='es',   ipcIndex = 1,logFilenamePrefix = es]]来自   [D:\ Software \ DevOps \ sonarqube-7.3 \ elasticsearch]:C:\ Program   文件\ Java \ jdk1.8.0_121 \ jre \ bin \ java -XX:+ UseConcMarkSweepGC   -XX:CMSInitiatingOccupancyFraction = 75 -XX:+ UseCMSInitiatingOccupancyOnly -XX:+ AlwaysPreTouch -server -Xss1m -Djava.awt.headless = true -Dfile.encoding = UTF-8 -Djna.nosys = true -Djdk.io.permissionsUseCanonicalPath = true -Dio.netty.noUnsafe = true -Dio.netty.noKeySetOptimization = true -Dio.netty.recycler.maxCapacityPerThread = 0 -Dlog4j.shutdownHookEnabled = false -Dlog4j2.disable.jmx = true -Dlog4j.skipJansi = true -Xms512m -Xmx512 -XX:+ HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home = D:\ Software \ DevOps \ sonarqube-7.3 \ elasticsearch -cp lib / * org.elasticsearch.bootstrap.Elasticsearch   -Epath.conf = D:\ Software \ DevOps \ sonarqube-7.3 \ temp \ conf \ es jvm 1 | 2018.08.26 15:55:32 INFO应用程序[] [o.s.a.SchedulerImpl]等待Elasticsearch启动并运行jvm 1 | 2018.08.26 15:55:32信息   app [] [o.p.PluginsService]未加载模块jvm 1 | 2018.08.26   15:55:32 INFO app [] [o.e.p.PluginsService]已加载插件   [org.elasticsearch.transport.Netty4Plugin] jvm 1 | 2018.08.26   15:55:45 INFO app [] [o.s.a.SchedulerImpl]进程[es]已启动jvm 1 |   2018.08.26 15:55:45 INFO app [] [o.s.a.p.ProcessLauncherImpl]从以下位置启动进程[[key ='web',ipcIndex = 2,logFilenamePrefix = web]]   [D:\ Software \ DevOps \ sonarqube-7.3]:C:\ Program   Files \ Java \ jdk1.8.0_121 \ jre \ bin \ java -Djava.awt.headless = true   -Dfile.encoding = UTF-8 -Djava.io.tmpdir = D:\ Software \ DevOps \ sonarqube-7.3 \ temp -Xmx512m -Xms128m -XX:+ HeapDumpOnOutOfMemoryError -cp ./lib/common/*;D:\Software \ DevOps \ sonarqube-7.3 \ lib \ jdbc \ mysql \ mysql-connector-java-5.1.46.jar   org.sonar.server.app.WebServer   D:\ Software \ DevOps \ sonarqube-7.3 \ temp \ sq-process2519723489945991152properties   jvm 1 | 2018.08.26 15:55:50 INFO应用[] [o.s.a.SchedulerImpl]   进程[Web]已停止jvm 1 | 2018.08.26 15:55:50信息   app [] [o.s.a.SchedulerImpl]进程[es]已停止jvm 1 |   2018.08.26 15:55:50 INFO应用程序[] [o.s.a.SchedulerImpl] SonarQube已停止包装| <-包装器已停止

在wrapper.conf文件中,我将Java路径设置为:C:\ Program Files \ Java \ jdk1.8.0_121 \ bin \ java

为什么错误日志中的Java路径与上面的不同(它显示... \ jre ..)

0 个答案:

没有答案