SonarQube - Unable to load the Wrapper ' s native library 'wrapper.dll'

Ich bin der Installation SonarQube v5.0.

Ich bin mit Windows Server 2012 64-bit-Version (eine virtuelle OS), Java 1.8, 64-bit, und die SonarQube-windows-x86-64-wrapper.

SonarQube, ob laufen über StartSonar.bat über die Eingabeaufforderung als Administrator aus oder als Windows-Dienst, hält das werfen die folgende Warnung:

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:\sonarqube-5.0.1\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 Java, or vica versa.
      This is a 32-bit JVM.
      Reported cause:
        C:\sonarqube-5.0.1\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.

Die einzige info, die ich gefunden habe im web einige JIRA ist von 2010, die nicht wirklich mir helfen. Ich kann nicht erstellen Sie eine sonar-Benutzer auf dieser Windows-installation. Alle meine anderen Werkzeuge in meinem CI-Umgebung ausgeführt werden, die auf Java 1.8, 64-bit, was bedeutet, dass JAVA_HOME gesetzt ist auf JDK 1.8 64-bit. Ich wirklich nicht wollen, zu haben, um die Ausführung von Java-32-bit-und 32-bit-Wrapper. Das bedeutet, dass die JRE/bin /java-Pfad an der Spitze der wrapper.conf angeben der 32-bit-JRE.

Was kann ich tun, um loszuwerden, diese Warnung?

InformationsquelleAutor Chris Harris | 2015-03-12
Schreibe einen Kommentar