The Github Experiment By Ajay Gupta

Eclipse error - Failed to load the JNI shared Library

This error mostly comes up when you have multiple JRE's or JDK's installed on your system and some of them don't match your processor type 64/32 Bit. Ideally your setup for a 64 bit system should be:

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

But since you are getting this error then that's not the case. To fix this go to your eclipse folder open the eclipse.ini file. It will look somewhat like this:

To fix it you just need to add the path where you installed JDK which you want to use (64Bit JDK for 64Bit OS). Like this:

After adding this your eclipse.ini file should look like this:

Save the changes in eclipse.ini. This should fix the issue and you should be able to run Eclipse.