cancel
Showing results for 
Search instead for 
Did you mean: 

NWDS installation opening eclipse giving error Failed to load JNI shared library

0 Kudos

Hey All,

After NWDS installation, setting vm in eclipse.ini, then opening eclipse giving error Failed to load JNI shared library. How to fix this error? Thx.

0 Kudos

on running java -version it shows 1.8 64bit

i have NWDS7.5 and SAPJVM1.8 then edited eclipse.ini with -vm location as the source folder where extracted the zip file for SAPJVM but it is giving error saying: A JRE or JDK is needed and no JRE or JDK found at that source folder, though inside that folder there is jre\bin\server or bin folder having those files, but why is it looking only at the source folder - the problem is if i change the -vm parameter to anything else inside the source folder, it gives error Failed to load JNI shared library - so how to fix this problem - any ideas? What should be -vm location eclipse.ini file to run NWDS?

Accepted Solutions (0)

Answers (3)

Answers (3)

Harish
Active Contributor
0 Kudos

Hi Jack,

you can run the command "java -version" in windows cmd to check the java version. and the ini file will be at the same folder where you executable file for eclipse.

regards,

Harish

0 Kudos

Thx. but i was asking what should be the folder path inside the -vm parameter in the eclipse.ini file? Pls see my above comment to see the error coming on opening NWDS.

0 Kudos

what should be the location under -vm in eclipse.ini file? thx

Harish
Active Contributor
0 Kudos

Hi Jack,

Please check if your NWDS and JDK are with the same version (32 bit or 64 bit). Also, check the SAP note 2812997 - NWDS 7.5 fails to start with "Failed to load the jni shared library".

https://userapps.support.sap.com/sap/support/knowledge/en/2812997

regards,

Harish

0 Kudos

How to check which JDK is in my system? thx