Monday, April 20, 2015

Eclipse: Failed to Load the JNI Shared Library JVM.DLL

Tried to bring up Eclipse tonight and got the error "Failed to Load the JNI Shared Library C:\Windows\jre\bin\client\jvm.dll". Very strange since nothing updated in my Java client--to my knowledge.

Found the solution on StackOverflow. There was no VM path specified in Eclipse's ini file. I'm guessing somehow the default Java client got changed from the 64bit version Eclipse wants. Adding this VM path entry allowed Eclipse to launch once again:
-vm
C:\Program Files\Java\jre7\bin\javaw.exe

No comments: