Existing sonarqube version which is running: 9.2.1 (build 49989)
Sonarqube version which doesn’t start: 9.2.3.50713
OS: Windows Server 2022
I’ve done the upgrade based on Upgrade Guide | SonarQube Docs
I think it is related to java, but i can’t figure out whats wrong.
My existing wrapper.conf
wrapper.java.command=java
Java is part of the PATH variable and works with sonarqube 9.2.1
If i configure wrapper.conf in the new version the same way, the following error is written to the sonar log:
--> Wrapper Started as Console
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
WrapperSimpleApp: Unable to locate the class org.sonar.application.App: java.lang.ClassNotFoundException: org.sonar.application.App
WrapperSimpleApp Usage:
java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
Where:
app_class: The fully qualified class name of the application to run.
app_arguments: The arguments that would normally be passed to the
application.
<-- Wrapper Stopped
I’ve also tested by setting the absolute path to java, but it still doesn’t work
wrapper.java.command=F:\jdk11\bin\java
If i revert back to version 9.2.1, everything works just fine.
What exactly was changed in the new version and how do i get rid of this error?