My Eclipse recently stopped working gave me this error when I tried to launch it:
Failed to load the JNI shared library “C:\Windows\system32\..\jre\bin\client\jvm.dll\”
While it doesn’t look like it explains anything at first, looking closely, you can see that it’s looking for the JVM DLLs under the System32 path. That’s because something, somehow, placed the Java executables (
javaws.exe) under the
System32 path, and when Eclipse is launched it tries to use this path as the JRE/JDK path.