Unable to start sonar in windows 10

Must-share information (formatted with Markdown):

  • I am using sonarqube 8.4.2
  • Trying to start it locally
  • Updated Java >11. Increased JAVA heap size from 2 gb to 4 gb.

Getting below error

2020.10.06 23:42:46 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
Unrecognized VM option ‘UseConcMarkSweepGC’
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
2020.10.06 23:42:46 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1
2020.10.06 23:42:46 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2020.10.06 23:42:46 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
FATAL StatusLogger Interrupted before Log4j Providers could be loaded.
java.lang.InterruptedException

Memory Details

java -XX:+PrintFlagsFinal -version | findstr /i “HeapSize PermSize ThreadStackSize”
Picked up _JAVA_OPTIONS: -Xms2048m -Xmx4096m
intx CompilerThreadStackSize = 0 {pd product} {default}
size_t ErgoHeapSizeLimit = 0 {product} {default}
size_t HeapSizePerGCThread = 43620760 {product} {default}
size_t InitialHeapSize = 2147483648 {product} {command line}
size_t LargePageHeapSizeThreshold = 134217728 {product} {default}
size_t MaxHeapSize = 4294967296 {product} {command line}
size_t MinHeapSize = 2147483648 {product} {command line}
uintx NonNMethodCodeHeapSize = 5832780 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122912730 {pd product} {ergonomic}
uintx ProfiledCodeHeapSize = 122912730 {pd product} {ergonomic}
size_t SoftMaxHeapSize = 4294967296 {manageable} {ergonomic}
intx ThreadStackSize = 0 {pd product} {default}
intx VMThreadStackSize = 0 {pd product} {default}
java version “15” 2020-09-15
Java™ SE Runtime Environment (build 15+36-1562)
Java HotSpot™ 64-Bit Server VM (build 15+36-1562, mixed mode, sharing)

Any help would be appreciated. Thanks

Hi,

What do your server logs say?

 
Ann

Hi,

The only logs i see inside logs folder is in sonar file. I have pasted the logs from that file while asking the question.

Thanks

Hi @shubhams,

as you can see from our documentation we currently only support java 11, so please install java 11 and try again :wink: