Process[es] is stopped SonarQube is stopped

Hello there,

I am getting an error whenever i’ve tried to start Sonarqube on my local machine

below are the logs

--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3)
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2022.04.04 13:59:49 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /Users/Asif/Downloads/PSQ_Projects/sonarqube-
2022.04.04 13:59:49 INFO  app[][] Elasticsearch listening on [HTTP:, TCP:]
2022.04.04 13:59:49 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/Users/Asif/Downloads/PSQ_Projects/sonarqube-]: /Users/Asif/Downloads/PSQ_Projects/sonarqube-
2022.04.04 13:59:49 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
Exception in thread "main" java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
	at java.base/java.lang.System.setSecurityManager(
	at org.elasticsearch.bootstrap.Security.setSecurityManager(
	at org.elasticsearch.bootstrap.Elasticsearch.main(
2022.04.04 13:59:49 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1
2022.04.04 13:59:49 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped
2022.04.04 13:59:49 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped


Welcome to the community!

What’s in your server logs? The bit about the Security Manager in your snippet above is only a warning. The real problem will be found in the logs.



Please check your java version. SonarQube server requires java 11 or 17. For more information check:


I had the same issue and java version was the problem. I had java 18 so downloaded the java 11 version. In the " D:\sonarqube-\conf\warpper.conf " (i.e ur wrapper.conf file) change “” line to “\Program Files\Java\jdk-11.0.15\bin\java” (ur java 11 bin path - add “\java” at end).After making the changes run the startsonar.bat file.

Thanks a lot !!!