Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Unable to start Jazz build engine and showing error that failed to load the JNI shared library.

hi,
I am trying to Jazz build engine but stuck to an error showing that "failed to load the JNI shared library.

Regards,
 Sanket Ikhar

0 votes

Comments

 Hi Sanket,  what JDK are you using to start the JBE? Could you post the entire stack trace of the failure?


One possibility is a mismatch of your System and JBE JVM bitness, can you provide more details and the error stack.

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


Accepted answer

Permanent link
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).
Sanket Ikhar selected this answer as the correct answer

2 votes

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

Permanent link
 This tip may also be of assistance: https://jazz.net/wiki/bin/view/Main/JbeOtherPlatforms

0 votes


Permanent link
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

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 562
× 76
× 10

Question asked: Jun 03 '13, 1:24 a.m.

Question was seen: 7,040 times

Last updated: Mar 21 '15, 10:20 p.m.

Confirmation Cancel Confirm