I have issue installing SonarQube CE on my Windows 11 machine

Installation issue

  • SonarQube verion - sonarqube-10.0.0.68432
  • SonarQube is deployed using zip
  • I am trying to install the SonarQube server locally on Windows 11 machine
  • I have tried the outlined steps in the documentation. I get the below error as shared .

Error Logs

C:\Users\srivatsa.ms\Downloads\sonarqube10\bin\windows-x86-64>StartSonar.bat start
Starting SonarQube...
2023.04.13 16:52:48 INFO app [] [o.s.a.AppFilesystem] cleaning or creating temp directory C:\Users\srivatsa.ms\Downloads\sonarqube10\temp
2023.04.13 16:52:48 INFO app [] [o.s.a.es. EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:62439]
2023.04.13 16:52:48 INFO app [] [o.s.a. Process Launcher Imp1] Launch process [ELASTICSEARCH] from [C:\Users\srivatsa.ms\Downloads\sonarqube10\elasticsearch]: C:
\Program Files\Java\jdk-17\bin\java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs-lib/tools/server-cli -Des.
path.home=C:\Users\srivatsa.ms\Downloads\sonarqube10\elasticsearch -Des. path.conf=C:\Users\srivatsa.ms\Downloads\sonarqube10\temp\conf\es -Des.distribution.
type=tar -cp C:\Users\srivatsa.ms\Downloads\sonarqube10\elasticsearch\lib\*;C:\Users\srivatsa.ms\Downloads\sonarqube10\elasticsearch\lib\cli-launcher\* org.
elasticsearch. launcher.cliTool Launcher
2023.04.13 16:52:48 INFO app [] [o.s.a. Scheduler Impl] Waiting for Elasticsearch to be up and running
2023.04.13 16:53:07 INFO app [] [o.s.a.Scheduler Impl] Process [es] is up
2023.04.13 16:53:07 INFO app [] [o.s.a. Process Launcher Imp1] Launch process [WEB_SERVER] from [C:\Users\srivatsa.ms\Downloads\sonarqube10]: C:\Program Files\Ja
va\jdk-17\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\Users\srivatsa.ms\Downloads\sonarqube10\temp -XX: -OmitStackTrace In Fast
Throw --add-opens-java.base/java.util=ALL-UNNAMED --add-opens-java.base/java.lang=ALL-UNNAMED --add-opens-java.base/java.io=ALL-UNNAMED --add-opens-java.rmi
/sun.rmi.transport=ALL-UNNAMED --add-exports-java.base/jdk.internal.ref=ALL-UNNAMED --add-opens-java.base/java.nio=ALL-UNNAMED --add-opens-java.base/sun.nio
.ch=ALL-UNNAMED --add-opens-java.management/sun. management=ALL-UNNAMED --add-opens-jdk.management/com.sun. management.internal=ALL-UNNAMED -Dcom.redhat.fips=
false -Xmx512m -Xms128m -XX:+HeapDumponOutOfMemory Error -Dhttp.non ProxyHosts=localhost | 127.*| [::1] -cp ./lib/sonar-application-10.0.0.68432.jar; C:\Users\sri
org.sonar.server.app. Webserver C:\Users\srivatsa.ms\Downloads\sonarqube10\temp\sq-process214070229
WARNING: A terminally deprecated method in java.lang. System has been called
vatsa.ms\Downloads\sonarqube10\lib\jdbc\h2\h2-2.1.214.jar
6075869070properties
WARNING: System::setsecurityManager has been called by org. sonar.process. PluginsecurityManager (file: /C:/Users/srivatsa.ms/Downloads/sonarqube10/lib/sonar-a
pplication-10.0.0.68432.jar)
WARNING: Please consider reporting this to the maintainers of org.sonar.process. PluginSecurityManager
WARNING: System: :setSecurityManager will be removed in a future release
2023.04.13 16:53:08 INFO app [] [o.s.a.Scheduler Impl] Process [Web Server] is stopped
2023.04.13 16:53:08 INFO app [] [o.s.a.Scheduler Impl] Process [ElasticSearch] is stopped
2023.04.13 16:53:08 INFO app [] [o.s.a.Scheduler Imp1] SonarQube is stopped

Java installed version

C:\Users\srivatsa.ms\Downloads\sonarqube10\bin\windows-x86-64>java -version
java version "17.0.6" 2023-01-17 LTS
Java (TM) SE Runtime Environment (build 17.0.6+9-LTS-190)
Java HotSpot (TM) 64-Bit Server VM (build 17.0.6+9-LTS-190, mixed mode, sharing)

Hey there.

As we mention in the template post, please do not share screenshots of logs. Text-based logs only.

Sorry colin, didn’t read that thoroughly. I have edited my issue details as mentioned vis text logs.

Thanks,
Srivatsa

Sorry didn’t read it thoroughly. Have edited my issue details with text logs.

It looks like the Web Process stops first.

What does web.log say?