Get Started in Two Minutes Guide fails

Fresh install on a fully updated Win10 box.
Fresh download of Sonarqube 7.9 LTS
Fresh download of jdk-11.0.3_windows_x64_bin

Sonarqube extracted to C:\Program Files\sonarqube-7.9

To this point, no error messages shown on screen.

Running C:\Program Files\sonarqube-7.9\bin\windows-x86-64\StartSonar
results in:
Inline code
SonarQube wrapper

–> Wrapper Started as Console Launching a 1VM…
Wrapper (Version 3.2.3)
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
WARNING - Unable to load the Wrapper’s native library ‘wrapper.dll’.
The file is located on the path at the following location but could not be
C:\Program Files\sonarqube-7.9\bin\windows-x86-64.\lib\wrapper.dll

Please verify that the file is readable by the current user and that the file
has not been corrupted in any way.

One common cause of this problem is running a 32-bit version of the Wrapper with
a 64-bit version of Dava, or vica versa.
This is a 32-bit DVM.
Reported cause:
C:\Program Files\sonarqube-7.9\bin\windows-x86-64\lib\wrapper.dll: Can’t load
AMD 64-bit .dll on a IA 32-bit platform

System signals will not be handled correctly.
WrapperSimpleApp: Encountered an error running main:
java.lang.IllegalStateException: SonarQube requires Java 11+ to run
java.lang.IllegalStateException: SonarQube requires Java 11+ to run at
org.sonar.application.App.checkiavaVersion( : 93)
at org.sonar.application.App.start( : 56)
at org.sonar.application.App.main( :98)
at sun.reflect.NativeMethodAccessorlmpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorlmpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorlmpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at : 240)
at Source)
<-- Wrapper Stopped
Press any key to continue …

So for some reason, my fully 64bit system thinks one or more pieces are built for 32bit…
Thoughts or suggestions ?



It could be that you are using another 32 bit installation of Java, that was previously installed.
Note that the next error message indicates that you are running an older version of Java.
Could you run java -version?
Check what you have configured in JAVA_HOME environment variable and also in your PATH.

Everything comes back saying 64-bit… Currently in the process of removing ALL (found 6 versions of JRE installed) installed versions
of JRE and JDK. Once clean, I’ll try again.


1 Like

Exactly the same…
Really disappointing software.

It simply doesn’t run.

Welcome @Ricardo_Casquete - please open a new topic for your problem, giving as much details as possible - version of SonarQube, OS you are running on, what command is failing, the logs.

Exact same issue here. I am on the very latest Java release Version 8 update 221. I am running 64-bit win10 pro and 64-bit Java.