Search code examples
javawindows-8eclipse-juno

Java failed to load JNI shared library


When trying to run eclipse on a new windows 8 installation I get this error after updating the path variable.

enter image description here

What can be done? Can you help me resolve the error? I have everything 64-bit. I changed eclipse.ini to point to the 64-bute javaw and then I get another error.

enter image description here


Solution

  • There is a mismatch between your bit versions of java and OS

    These are the working sets

    32-bit OS - 32-bit JDK - 32-bit Eclipse (32-bit only)
    64-bit OS - 32-bit JDK - 32-bit Eclipse
    64-bit OS - 64-bit JDK - 64bit Eclipse (64-bit only)
    

    Refer this on OS and Follow http://www.java.com/en/download/manual.jsp