The error is shown in the following illustration:
Sometimes, when the new computer hits the Open Eclipse, the pop-up prompts "Failed to load the JNI shared library Jvm.dll" error, here to share the solution.
Typically, if you are a 64-bit system with 32-bit JDK installed, this can lead to the above.
Solutions
1. Uninstall the original installed 32-bit JDK, and then install 64-bit JDK to the computer.
2. Re-modify the path and classpath two environment variables. Because of the 64 system, 32-bit software is installed in the Program Files folder, 64-bit software will be installed in the Program Files folder, when you previously installed 32JDK, you set the path of the environment variables will include "Program Files" (* 86) ", and then the JDK has been transferred to" program Files ", modified to come.
Note that the JDK version number you installed two times is not necessarily the same, because the JDK folder will be set up according to your version number, if two times the version number is different, in the environment variable also want to modify.
Now, eclipse should be able to use the normal, fast to practice Java programs!
Other Netizen's supplement:
Reason 1: The jvm.dll does not exist under the given directory.
Countermeasures: (1) Reinstall JRE or JDK and configure environment variables. (2) Copy a jvm.dll placed in the directory.
Reason 2:eclipse version is inconsistent with JRE or JDK version
Countermeasures: Either both installed 64-bit, or all installed 32-bit, not one is 32-bit one is 64 bits.
Reason 2 is more likely, cause 1 is unlikely to happen