cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Eclipse IDE: Failed to load the JNI shared library

07-21-2014 3:33 PM
2897 views 6 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

I am following the installation procedure at SAP HANA Cloud Platform.

In step 2 when running the eclipse executable file this message is displayed:

Failed to load the JNI shared library "C:\Program Files (x86)\Java\jre\bin\client\jvm.dll"


Maybe the correct place to look for would be C:\Program Files (x86)\Java\jre7\bin\client - there a jvm.dll exists.


If this would be the cause of the problem: what please must I do to make eclipse.exe using that path?


If this would not be the cause of the problem: which other action would you please advise?

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

This is my eclipse.ini that actually works:

-startup

plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326

-product

org.eclipse.epp.package.jee.product

-vm

C:/...<your download folder>.../sapjvm-7.1.018-windows-x64/sapjvm_7/jre/bin/server/jvm.dll

--launcher.defaultAction

openFile

--launcher.XXMaxPermSize

256M

-showsplash

org.eclipse.platform

--launcher.XXMaxPermSize

256m

--launcher.defaultAction

openFile

--launcher.appendVmargs

-vmargs

-Dosgi.requiredJavaVersion=1.6

-Xms40m

-Xmx512m

-XX:MaxPermSize=256m

Answers (2)

Answers (2)

Durgarao09
Contributor
0 Likes

Reinstall the JDK Version in your system and set the environmental variable path.check you using eclipse and JDK version are both same bit( 32bit and 64bit) that time only it will work otherwise it will not work.

Vlado
Product and Topic Expert
Product and Topic Expert
0 Likes

That's irrelevant in this case.

Vlado
Product and Topic Expert
Product and Topic Expert
0 Likes

Sure, please check FAQ#7 in .

Former Member
0 Likes

Actually this is how my eclipse.ini looks like:

-startup

plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326

-product

org.eclipse.epp.package.jee.product

--launcher.defaultAction

openFile

--launcher.XXMaxPermSize

256M

-showsplash

org.eclipse.platform

--launcher.XXMaxPermSize

256m

--launcher.defaultAction

openFile

--launcher.appendVmargs

-vmargs

-Dosgi.requiredJavaVersion=1.6

-Xms40m

-Xmx512m

-XX:MaxPermSize=256m

Did I make a mistake oder did I use the wrong editor (notepad does not show line breaks, word pad does).

If I would have to insert the 2 additional lines:

-vm

<path to JVM>

In front of which line exactly should they be inserted? The <path to JVM> would that then be "C:\Program Files (x86)\Java\jre7\bin\client"?

Vlado
Product and Topic Expert
Product and Topic Expert
0 Likes

Please look at the Eclipse help pages linked from the FAQ - it's explained there what the path should be. You can insert it at the top.