Bringing up SonarQue Comminity Edition for the 1st time

FYI I am an embedded software guy.

Downloaded Community Edition and tried to run. Get an error. What am I missing? Java is in my path.

PS C:\sonarqube\bin\windows-x86-64> .\StartSonar.bat

Starting SonarQube…

Unrecognized option: --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.

PS C:\sonarqube\bin\windows-x86-64>

java version “1.8.0_451”

Java™ SE Runtime Environment (build 1.8.0_451-b10)

Java HotSpot™ 64-Bit Server VM (build 25.451-b10, mixed mode)

Hi,

I suggest you to follow the instructions on the documentation: Installing SonarQube Server from ZIP | Documentation

SonarQube Server requires a Java 17 or 21 installation. Java 8 isn’t supported.

Java 17 thing I missed. So, now it comes up but my local project seems to ignore all the .c and .h files and only looks at the .py files.

Hi @aebaranoff,

I think that C language is not supported by Sonar Server community edition.

Upgrading in Developer Edition