C:\Sonar_Qube\sonarqube-10.0.0.68432\bin\windows-x86-64>StartSonar.bat
Starting SonarQube…
Error: LinkageError occurred while loading main class org.sonar.application.App
java.lang.UnsupportedClassVersionError: org/sonar/application/App has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
C:\Sonar_Qube\sonarqube-10.0.0.68432\bin\windows-x86-64>StartSonar.bat
Starting SonarQube…
Error: LinkageError occurred while loading main class org.sonar.application.App
java.lang.UnsupportedClassVersionError: org/sonar/application/App has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
After searching online gotsome information about above error,and to resolve above error i have installed JDK 18,after configuring this version 18,i am able to solve above error but getting this another error.
Hello…
Yesterday i was able to start my sonarqube server on local host,but today i am getting this elasticsearch related error,Please help.
because of this error sonarqube server starting & stopping immediately,
java.lang.IllegalStateException: failed to obtain node locks, tried [D:\Users\2014283\SonarQube\sonarqube-10.0.0.68432\sonarqube-10.0.0.68432\data\es8]; maybe these locations are not writable or multiple nodes were started on the same data path?
It seems you either have tried to start multiple SonarQube instances against the same database, or something has corrupted your data/es8 folder (you can try deleting it and restarting).
If you have an issue around scanning, please open a new thread.
Error: LinkageError occurred while loading main class org.sonarsource.scanner.cli.Main
java.lang.UnsupportedClassVersionError: org/sonarsource/scanner/cli/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
The SonarScanner did not complete successfully
Configured the JDK 11, because it is SonarQube 8.9 LTS version.
Where am I getting wrong, please help me to reach out of this.
There’s a few other things you have to keep in mind – like you must be using SonarQube v10.6+.
Instead of bumping this old thread, I suggest you raise a new thread with more deatils (version of SQ used, logs that show off the scanner version and the error)