It's all about the answers!

Ask a question

Unable to start Jazz build engine and showing error that "Jbe : failed to load the JNI shared library : ..\jvm.dll"


anoop nuli (131) | asked Dec 22 '21, 12:43 a.m.

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

Accepted answer


permanent link
Dinesh Kumar B (4.1k413) | answered Dec 22 '21, 4:43 a.m.
JAZZ DEVELOPER
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



anoop nuli selected this answer as the correct answer

Comments
anoop nuli commented Jan 04, 1:57 a.m.

Thank you so much for the help.
It worked. :)

Your answer


Register or to post your answer.