Thursday, June 7, 2012

Eclipse - Failed to load the JNI shared library

Eclipse started to fail during the opening of it, showing a pop-up window saying "Failed to load the JNI shared library". I did not know what was this and started to look on the web.

Eclipse failed to load the JNI shared library
Eclipse "Failed to Load the JNI shared library"

I've found out that this was a compatibility issue with jre/jdk 32 bit on a 64 bit machine.
I was running Eclipse 64 bit, with Windows 7 64 bit...
I remembered that I had installed a new software recently... and that installation added a jre 32 bit in the begining of my path. Due to this, Eclipse 64bit was being launched with a 32bit jre, causing that pop-up to appear.
Removed the jre 32 bit from the path, and then I was able to launch Eclipse again, like before!

Problem solved.

No comments:

Post a Comment