Tag Archives: jvm-dll

Eclipse reports Failed to load the JNI shared library jvm.dll error solution

This error Failed to load the JNI Shared library jvm.dll for two possible reasons:
reason 1: the jvm.dll file does not exist
solution: copy a jvm.dll file from elsewhere.
reason 2: the Eclipse version number is inconsistent with the JDK version number
solution: either use 64 bits for both Eclipse and JDK versions, or use 32 bits for both. Remember not a 32 bit, a 64 bit. Note: the occurrence probability of general cause 1 is very low, and in most cases it is cause 2.