Windows 10 install failure

The whole idea of an installation is to install the product. If it has a dependency, the installation should check for that & if missing, install it.

Installing a local instance of SonarQube

You can evaluate SonarQube using a traditional installation with the zip file or you can spin up a Docker container using one of our Docker images. Click the method you prefer below to expand the installation instructions:

From the zip file

  1. Download the SonarQube Community Edition zip file.

  2. As a non-root user, unzip it, let’s say in C:\sonarqube or /opt/sonarqube.

  3. As a non-root user, start the SonarQube Server:

On Windows, execute:

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

wrapper | → Wrapper Started as Console

wrapper | Launching a JVM…

wrapper | Unable to execute Java command. The system cannot find the file specified. (0x2)

wrapper | “java” -Dsonar.wrapped=true -Djava.awt.headless=true -Xms8m -Xmx32m -Djava.library.path="./lib" -classpath “…/…/lib/sonar-application-9.0.0.45539.jar;…/…/lib/jsw/wrapper-3.2.3.jar;…/…/lib/sonar-shutdowner-9.0.0.45539.jar” -Dwrapper.key=“DR8QqRMAkxTokmwo” -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=19196 -Dwrapper.version=“3.2.3” -Dwrapper.native_library=“wrapper” -Dwrapper.cpu.timeout=“10” -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp org.sonar.application.App

wrapper | Critical error: wait for JVM process failed

Press any key to continue . . .

Hi,

Welcome to the community!

I guess your point is that the quick-start guide should mention installing Java? Very fair point! I’ll ping the docs folks.

 
Ann

If for some reason, an actual installer is too much, it really should have a link to the correct version of Java:

wrapper | → Wrapper Started as Console
wrapper | Launching a JVM…
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 |
jvm 1 | WARNING - Unable to load the Wrapper’s native library ‘wrapper.dll’.
jvm 1 | The file is located on the path at the following location but
jvm 1 | could not be loaded:
jvm 1 | C:\bin\sonarqube-developer-9.0.0.45539\sonarqube-9.0.0.45539\bin\windows-x86-64.\lib\wrapper.dll
jvm 1 | Please verify that the file is readable by the current user
jvm 1 | and that the file has not been corrupted in any way.
jvm 1 | One common cause of this problem is running a 32-bit version
jvm 1 | of the Wrapper with a 64-bit version of Java, or vica versa.
jvm 1 | This is a 32-bit JVM.
jvm 1 | Reported cause:
jvm 1 | C:\bin\sonarqube-developer-9.0.0.45539\sonarqube-9.0.0.45539\bin\windows-x86-64\lib\wrapper.dll: Can’t load AMD 64-bit .dll on a IA 32-bit platform
jvm 1 | System signals will not be handled correctly.
jvm 1 |
jvm 1 | WrapperSimpleApp: Unable to locate the 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 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
jvm 1 |
jvm 1 | WrapperSimpleApp Usage:
jvm 1 | java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
jvm 1 |
jvm 1 | Where:
jvm 1 | app_class: The fully qualified class name of the application to run.
jvm 1 | app_arguments: The arguments that would normally be passed to the
jvm 1 | application.
wrapper | ← Wrapper Stopped
Press any key to continue . . .

1 Like

No, really, what is the correct version of the Java dependency?

Java 11. This is listed in the requirements documentation of sq: Prerequisites and Overview | SonarQube Docs

3 Likes

Hi Gunnar,

Thanks for your comments. I’ve created a ticket to address this in the documentation.

Thanks,
Mike

1 Like

You have not provided a link to the specific version your software requires either in this conversation or in the ticket. Mentioning it isn’t enough. You’re also not answering the question: Why haven’t you created an installer that takes care of installing it?

@DefinitelyNotTobi already indicated that you need to have Java 11 installed. Here is a link for your convenience: Java Archive Downloads - Java SE 11
We prefer not to package a Java runtime with our application so there’s no point in having an installer.

1 Like

The fact that getting a link was like pulling teeth indicates that the company thinks the target audience for this product is only Java developers. So much for 27 Languages

Not having an installer is legitimate & good, but then don’t have any dependencies! Even when a product doesn’t have any dependencies, it should have a little light weight installer that downloads, unzips & creates a shortcut entry.

You “prefer not to package a Java runtime”, so I prefer not to use this product.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.