How to solve the error "Failed to load the JNI shared library jvm. dll" when you start Eclipse !, Jnijvm. dll

Source: Internet
Author: User

How to solve the error "Failed to load the JNI shared library jvm. dll" when you start Eclipse !, Jnijvm. dll
Cause 1: The jvm. dll does not exist in the specified directory.
Countermeasure: (1) reinstall jre or jdk and configure environment variables. (2) copy a jvm. dll file to this directory.
Cause 2: The version of eclipse is different from that of jre or jdk.
Countermeasure: either 64-bit or 32-bit, either 32-bit or 64-bit.
Cause 2 has a higher probability. Cause 1 is unlikely to happen.


Most people should be in the second case, and I am in the second case. When both jdk and tomcat are 32-bit, Eclipse also needs to select 32-bit. If you select a 64-bit Eclispe, the preceding error is reported. In a 64-bit windows system, a 32-bit jdk + tomcat + eclipse can also be used. Make sure thatJdk + tomcat + eclipse are both 32-bit and 64-bit.

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.