"Failed to load the JNI shared library Jvm.dll" error and resolution when you start eclipse

Source: Internet
Author: User

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

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.