The Failed to load the JNI shared library "C:\Program Files\java\jdk1.7.....\jvm.dll" appears when you start eclipse

Source: Internet
Author: User

Cause 1: Jvm.dll does not exist in the given directory.

Workaround: (1) Reinstall the JRE or JDK and configure the environment variables. (2) Copy a jvm.dll placed in the directory.

Cause 2:eclipse version is inconsistent with JRE or JDK version

Workaround: Either both install 64-bit, either install 32-bit, not one is 32 bit one is 64 bit.

       First determine how many bits of eclipse, or 64, in the Eclipse installation directory in the Eclipse.ini file, under "--launcher.library", if there is win32.x86, is 32-bit.

The probability of cause 2 is greater.

It is also possible to install the 32-bit eclipse, but the Java_home is configured with a 64-bit JDK:

In this case, switching between the 32 and 64 JDK (modify Java_home, then save), and then restart Eclipse can also be resolved.

The Failed to load the JNI shared library "C:\Program Files\java\jdk1.7.....\jvm.dll" appears when you start eclipse

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.