Installing Eclipse IDE: Failed to load the JNI shared library

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jul 23, 2014 at 11:10 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 21, 2014 at 01:41 PM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 22, 2014 at 06:16 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

Skip to Content