Unable to start Jazz build engine and showing error that "Jbe : failed to load the JNI shared library : ..\jvm.dll"
Hello,
We are trying to start the Jazz build engine and getting the following error :
Jbe:
Failed to load the JNI shared library "C:\Program Files\RedHat\java-1.8.0-openjdk\jre\bin\server\jvm.dll".
===================================================================================
Both java and eclipse are of 64 bit.
Following are the contents of "eclipse.ini" file
===================================================================================
-vm
C:\Program Files\RedHat\java-1.8.0-openjdk\jre\bin\server\jvm.dll
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222
--launcher.XXMaxPermSize
256m
-vmargs
-Xdump:system:events=systhrow,filter=java/lang/OutOfMemoryError,request=exclusive+prepwalk
-Xms100m
-Xmx2048m
-Dosgi.requiredJavaVersion=1.6
-Dosgi.bundlefile.limit=100
-Djavax.xml.accessExternalSchema=platform,file
=====================================================================================
Any help is highly appreciated.
Thanks
C:\Program Files\RedHat\java-1.8.0-openjdk\jre\bin\server\jvm.dll
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222
--launcher.XXMaxPermSize
256m
-vmargs
-Xdump:system:events=systhrow,filter=java/lang/OutOfMemoryError,request=exclusive+prepwalk
-Xms100m
-Xmx2048m
-Dosgi.requiredJavaVersion=1.6
-Dosgi.bundlefile.limit=100
-Djavax.xml.accessExternalSchema=platform,file
=====================================================================================
Any help is highly appreciated.
Thanks
Accepted answer
can you try pointing -vm argument to the jre\bin\java instead of pointing to the jvm.dll...
also, check the directory (<buildsystemtoolkitinstalllocation>\jazz\buildsystem\buildengine\eclipse) where you start jbe from, there should be a jbe.ini file, ensure the -vm agrument in there is pointing to the jre\bin or jre\bin\java