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) http://wrapper.tanukisoftware.org
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
loaded:
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.
W
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(App.java : 93)
at org.sonar.application.App.start(App.java : 56)
at org.sonar.application.App.main(App.java :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 org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java : 240)
at java.lang.Thread.run(Unknown 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 ?

Mike

Hi,

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.

thanks.

1 Like