Hi Team
Sonar community edition 8.9 able to create service and start service
sc create SonarQube binPath= “"%SONAR_HOME%\bin\windows-x86–64\wrapper.exe" -s "%SONAR_HOME%\conf\wrapper.conf"”
Server details
OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.18363
Failed in Microsoft Windows Server 2016 Standard
Sonar community edition 8.9 able to create service and service not starting
sc create SonarQube binPath= “"%SONAR_HOME%\bin\windows-x86–64\wrapper.exe" -s "%SONAR_HOME%\conf\wrapper.conf"”
Server details
OS Name: Microsoft Windows Server 2016 Standard
OS Version: 10.0.14393
The SonarQube service failed to start due to the following error:
The system cannot find the file specified.
Taking this a step further: can you confirm that C:\Application\sonar_community_edition\sonarqube-8.9.10.61524\bin\windows-x86–64\wrapper.exe actually exists?
The next place I would check is the wrapper.conf file – have you made any edits from the default configuration?
The file (by default) starts with:
# Path to JVM executable. By default it must be available in PATH.
# Can be an absolute path, for example:
#wrapper.java.command=/path/to/my/jdk/bin/java
wrapper.java.command=java