Getting this error while installing the SonarCube

–> Wrapper Started as Console
Launching a JVM…
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.

2019.11.08 09:26:00 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory C:\Devops\sonarqube-6.7.7\temp
2019.11.08 09:26:00 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.11.08 09:26:01 INFO app[o.s.a.p.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [C:\Devops\sonarqube-6.7.7\elasticsearch]: C:\Program Files\Java\jdk-13.0.1\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 -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=C:\Devops\sonarqube-6.7.7\elasticsearch -cp lib/* org.elasticsearch.bootstrap.Elasticsearch -Epath.conf=C:\Devops\sonarqube-6.7.7\temp\conf\es
2019.11.08 09:26:01 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.11.08 09:26:01 INFO app[o.e.p.PluginsService] no modules loaded
2019.11.08 09:26:01 INFO app[o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
Java HotSpot™ 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/C:/Devops/sonarqube-6.7.7/lib/common/netty-common-4.1.13.Final.jar) to constructor java.nio.DirectByteBuffer(long,int)
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2019.11.08 09:26:12 WARN app[o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 1
2019.11.08 09:26:12 INFO app[o.s.a.SchedulerImpl] Process [es] is stopped
2019.11.08 09:26:12 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped

Hi,

this is ES related, set loglevel to DEBUG and check es.log, sonar.log, web.log

also

Not sure if Sonarqube 6.7.7 supports Java 13.0.1 already !?
You won’t get support for 6.7.7 anymore, use the latest version 8.0
or LTS version 7.9.1 instead => https://www.sonarqube.org/downloads/
for LTS you need to scroll down and choose your edition

Gilbert

1 Like

Still the same error in SonarCube 7.9 Version also.

–> Wrapper Started as Console
Launching a JVM…
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.

2019.11.09 00:25:59 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory C:\Devops\sonarqube-7.9.1\temp
2019.11.09 00:25:59 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.11.09 00:26:00 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [C:\Devops\sonarqube-7.9.1\elasticsearch]: C:\Program Files\Java\jdk-13.0.1\bin\java -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Djava.io.tmpdir=C:\Devops\sonarqube-7.9.1\temp -XX:ErrorFile=…/logs/es_hs_err_pid%p.log -Xms512m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=C:\Devops\sonarqube-7.9.1\elasticsearch -Des.path.conf=C:\Devops\sonarqube-7.9.1\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch
2019.11.09 00:26:00 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.11.09 00:26:00 INFO app[o.e.p.PluginsService] no modules loaded
2019.11.09 00:26:00 INFO app[o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
Java HotSpot™ 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2019.11.09 00:26:20 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1
2019.11.09 00:26:20 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2019.11.09 00:26:20 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped

Hi,

Well spotted Gilbert! In fact SonarQube 7.9 added support for Java 11 and we haven’t moved beyond that yet. @rajajashim006 you need to downgrade your version of Java.

 
Ann

Thank you for the reply.
I installed the JRE and configured the JRE_HOME then sonarcube is working.
Java version 1.8 javac version 13
Sonarcube version 6.77

However with 7.9 version sonarcube it is not working.