Unable to start Jazz build engine and showing error that failed to load the JNI shared library.
Accepted answer
This issue is typically caused by using 32 bit JVM.
Please make sure C:\Program Files\Java\jdk1.7.0_04\bin\..\jre\bin\server contains a 64 bit JVM.
Also, make sure eclipse.ini points to this JVM (the -vm argument).
Please make sure C:\Program Files\Java\jdk1.7.0_04\bin\..\jre\bin\server contains a 64 bit JVM.
Also, make sure eclipse.ini points to this JVM (the -vm argument).
Comments
Dear Piotr,
Thanks for the answer. I am using JVM of 64 bit and i checked eclipse.ini file, it has -vm argument.
But still same error is reflecting.
perhaps the -vm argument is in the wrong place of the file?
Please post your eclipse.ini contents.
Also, please share the result of java -version command from the jre/bin directory.
2 other answers
Note that I also encountered this error, and it was fully solved simply by launching the same JBE cmd through a DOS command prompt that I had run/launched *as an administrator* (Windows 7, 64-bit).
The JBE cmd I used:
C:\Program Files\IBM\TeamConcertBuild\buildsystem\buildengine\eclipse>jbe -repository https://jazz-team-server:9443/ccm/ -userId build -pass build -engineId jke.production.engine
The JBE cmd I used:
C:\Program Files\IBM\TeamConcertBuild\buildsystem\buildengine\eclipse>jbe -repository https://jazz-team-server:9443/ccm/ -userId build -pass build -engineId jke.production.engine
Comments
Josh Crawford
Jun 03 '13, 7:40 a.m.Hi Sanket, what JDK are you using to start the JBE? Could you post the entire stack trace of the failure?
Sandy Grewal
JAZZ DEVELOPER Jun 03 '13, 8:42 a.m.One possibility is a mismatch of your System and JBE JVM bitness, can you provide more details and the error stack.
Sanket Ikhar
Jun 04 '13, 1:07 a.m.Hi,
I am using JDK 1.7.0.40 (64 bit) to start JBE and eclipse client 4.0.1 (64 bit).
the error statement is-
Failed to load the JNI shared library "C:\Program Files\Java\jdk1.7.0_04\bin..\
jre\bin\server\jvm.dll".
thanks,
Sanket