Launch Eclipse pop-up Failed to load the JNI shared library Jvm.dll error Resolution _java

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.