Another version of Eclipse was installed last night, and the "Failed to load the JNI shared library Jvm.dll" error occurred during startup;
1, just started to think it was because the old version was not removed cleanly, and then found the original installation directory, and found no residual configuration files and startup files or something;
2, so guess, the new installation of this version of the directory is not jvm.dll this file, but found to exist;
Path 1:c:\program Files (x86) \java\jre6\bin\client\jvm.dll (32-bit Java JDK installed under this path)
Path 2:c:\program Files\java\jre6\bin\client\jvm.dll (64-bit Java JDK is installed under this path)
3, later on-line check, said that there may be a version of the reason, so with notepad++ Look at the Eclipse configuration file (config.ini file in the Config folder in the Eclipse directory) and discover that the newly installed eclipse is 32-bit, and I'm using a 64-bit JDK (which is the problem)
Now that we have found the problem, it is good to do, then in their own cloud disk in the 32-bit JDK, and the environment variables in the Java_home path to the 32-bit JDK path, 32-bit JDK and 64-bit JDK because of the different installation location, so can coexist, need to use which, change Java_ The home path is OK.
Bingo, solve the problem.
"Failed to load the JNI shared library Jvm.dll" error and resolution when you start eclipse