cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Eclipse IDE: Failed to load the JNI shared library

former_member190849
Participant
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

former_member190849
Participant
0 Kudos

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)

vdurgarao09
Contributor
0 Kudos

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
Advisor
Advisor
0 Kudos

That's irrelevant in this case.

Vlado
Advisor
Advisor
0 Kudos

Sure, please check FAQ#7 in .

former_member190849
Participant
0 Kudos

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
Advisor
Advisor
0 Kudos

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.