SonarQube application jar deleted after called from non-supported jre

Downloaded community zip-archive containing sonarqube version
OS: Windows 10
Java version:

D:\study\диплом_root\дистрибутивы\sonar\_sonarqube-\lib>java -version
java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)

After executing java -jar sonar-application-
Got error message about not supported java version.
Afterwards sonar-application- diapered from folder.

common  extensions  jdbc  jsw  scanner  sonar-application-  sonar-shutdowner-

D:\study\диплом_root\дистрибутивы\sonar\_sonarqube-\lib>java -jar sonar-application-
Exception in thread "main" java.lang.IllegalStateException: SonarQube requires Java 11 to run
        at org.sonar.application.App.checkJavaVersion(
        at org.sonar.application.App.start(
        at org.sonar.application.App.main(

common  extensions  jdbc  jsw  scanner  sonar-shutdowner-

To be fair it is my fault not reading requirements but it is totally non-expected behavior.


Welcome to the community!

I’m a little confused. Your title says something about a deletion, but I don’t see that reflected in your logs. Could you be more explict?


  1. First ls: we have file sonar-application- in directory.
  2. I am executing it (with wrong jre installed): java -jar sonar-application- Understandably got an error.
  3. File sonar-application- is no longer present in directory after getting this error message with is represented in second ls call.

I am sorry. I believe I am close to limits in my capabilities in English language for this case

Hey there.

Your english is great. :slight_smile:

I can’t reproduce this – but I’m curious, why are you starting the application like this rather than using the startup scripts in the bin directory?

Of course because I downloaded it and got strait to actions before reading or even processing anything. I believe at that point I was just collecting distributive and smoke-run it to use later in analysis work with, honestly, shouldn’t be an excuse.
After re-downloading (since main lib file is missing) and updating jdk i used scripts from bin folder and it worked as expected.
It is just…really strange behavior I think was worth to report.

btw should be definitely jre/platform-dependent issue. Couldn’t reproduce it ether on ubuntu+openjdk 1.8.
Also was thinking it can be related to Cyrillic symbols in path but doesn’t seems like it make any difference.

1 Like

Thanks for the report. I’m asking around for somebody who uses Windows as a daily driver to try and reproduce :slight_smile: