Simple Installation is failing

Installing SonarQube for the first time on a standalone PC. Downloaded 8.4.2.36762 - Java 15. Clean install so no migrations. Getting this error

C:\Users\User\Documents\veriprism\veriprism-webapp-master\client>C:\sonarqube\bin\windows-x86-64\StartSonar.bat
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM…
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 | 2020.10.05 18:18:42 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory C:\sonarqube\temp
jvm 1 | 2020.10.05 18:18:42 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
jvm 1 | 2020.10.05 18:18:42 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [C:\sonarqube\elasticsearch]: C:\Program Files\Java\jdk-15\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:\sonarqube\temp -XX:ErrorFile=…/logs/es_hs_err_pid%p.log -Xmx512m -Xms512m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=C:\sonarqube\elasticsearch -Des.path.conf=C:\sonarqube\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch
jvm 1 | 2020.10.05 18:18:42 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1 | Unrecognized VM option ‘UseConcMarkSweepGC’
jvm 1 | Error: Could not create the Java Virtual Machine.
jvm 1 | Error: A fatal exception has occurred. Program will exit.
jvm 1 | 2020.10.05 18:18:42 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1
jvm 1 | 2020.10.05 18:18:42 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
jvm 1 | 2020.10.05 18:18:42 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
jvm 1 | FATAL StatusLogger Interrupted before Log4j Providers could be loaded.
jvm 1 | java.lang.InterruptedException
jvm 1 | at java.base/java.util.concurrent.locks.ReentrantLock$Sync.lockInterruptibly(ReentrantLock.java:159)
jvm 1 | at java.base/java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:372)
jvm 1 | at org.apache.logging.log4j.util.ProviderUtil.lazyInit(ProviderUtil.java:121)
jvm 1 | at org.apache.logging.log4j.util.ProviderUtil.hasProviders(ProviderUtil.java:108)
jvm 1 | at org.apache.logging.log4j.LogManager.(LogManager.java:89)
jvm 1 | at org.elasticsearch.common.unit.ByteSizeValue.(ByteSizeValue.java:39)
jvm 1 | at org.elasticsearch.common.network.NetworkService.(NetworkService.java:57)
jvm 1 | at org.elasticsearch.transport.TransportSettings.(TransportSettings.java:74)
jvm 1 | at org.elasticsearch.client.transport.TransportClient.newPluginService(TransportClient.java:105)
jvm 1 | at org.elasticsearch.client.transport.TransportClient.buildTemplate(TransportClient.java:135)
jvm 1 | at org.elasticsearch.client.transport.TransportClient.(TransportClient.java:277)
jvm 1 | at org.sonar.application.es.EsConnectorImpl$MinimalTransportClient.(EsConnectorImpl.java:103)
jvm 1 | at org.sonar.application.es.EsConnectorImpl.buildTransportClient(EsConnectorImpl.java:89)
jvm 1 | at org.sonar.application.es.EsConnectorImpl.getTransportClient(EsConnectorImpl.java:74)
jvm 1 | at org.sonar.application.es.EsConnectorImpl.getClusterHealthStatus(EsConnectorImpl.java:61)
jvm 1 | at org.sonar.application.process.EsManagedProcess.checkStatus(EsManagedProcess.java:88)
jvm 1 | at org.sonar.application.process.EsManagedProcess.checkOperational(EsManagedProcess.java:73)
jvm 1 | at org.sonar.application.process.EsManagedProcess.isOperational(EsManagedProcess.java:58)
jvm 1 | at org.sonar.application.process.ManagedProcessHandler.refreshState(ManagedProcessHandler.java:220)
jvm 1 | at org.sonar.application.process.ManagedProcessHandler$EventWatcher.run(ManagedProcessHandler.java:285)
jvm 1 | ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console…
wrapper | <-- Wrapper Stopped

Hi @BillDickenson,
welcome to the community :wave:

as you can read in the requirements page of our docs, java 15 is currently not supported.
try it again with java 11 :slight_smile:

@Tobias_Trabelsi I am facing similar issue with java version 11.

java -version
java version “11.0.9” 2020-10-20 LTS
Java™ SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot™ 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)

OS: mac with latest version of sonarqube and sonarscanner

The error log is similar as posted in the thread. Can you please suggest what could be the issue?

@BillDickenson were you able to fix the issue?

Hi @Jaya_Sowmya and welcome to the community :wave:

can you share your log files? even if the error message is similar it is probably related to another cause