Failed to Load the Jni Shared Library (Jdk)

Failed to load the JNI shared Library (JDK)

You need a 64-bit trio:

  • 64-bit OS
  • 64-bit Java
  • 64-bit Eclipse

Eclipse - Failed to load the JNI shared library

Alright, it somehow worked using the 32 Bit version of Eclipse...

Failed to load the JNI shared library C:\Program Files\Java\jre7\bin\client\jvm.dll '

If you have updated your jdk to 7 you are most likely to face this problem.

This happens mainly due to

  1. Incompatible sdk and jdk versions
  2. Using a 32 bit java version for your 64 bit eclipse JVM
    (programfilex86-java)

WHAT YOU HAVE TO DO :

Firstly check the "eclipse.ini" file to see if you have a path that is pointing to your JDK

It should look something like this

-vm    
C:\Program Files\Java\blah\blah\blah\javaw.exe

if not then locate the jdk 7 javaw.exe file

sample : C:\Program Files\Java\jdk1.7.0_45\jre\bin\javaw.exe

Paste -vm and the path below it into your eclipse.ini file

-vm    
C:\Program Files\Java\jdk1.7.0_45\jre\bin\javaw.exe

Make sure that you type the above just before the -vmargs and after the OpenFile.

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

jdk-7u15-windows-i586.exe is not 64bit.

Reinstall Java 7 for 64 bits.

Failed to load the JNI shared Library (JDK)

You need a 64-bit trio:

  • 64-bit OS
  • 64-bit Java
  • 64-bit Eclipse

Failed to Load JNI shared library when trying to use titanium

Did you read System Requirements?

From Documentation:

For Windows, the 32-bit version of Java JDK is required regardless of
whether Titanium is running on a 32-bit or 64-bit system.

Try to install additional 32bit version of Java (without removing the 64bit) and set the system variable.

You can refer the following links for it

  1. Failed to load the jni shared library jvmdll Titanium

  2. Failed to load the jni shared library jdk - Eclipse

Hope it helped you



Related Topics



Leave a reply



Submit