Listen to the people around you and watch the people on the web say how amazing eclipse is. I couldn't help but wonder, so I went to the eclipse website to download a software. We also use, full of excitement, a running eclipse results
Error message: "Failed to load the JNI shared library Jvm.dll" error; the mood instantly on a fall, and want to beat people's impulse. With a stuffy heart, looking for the West in the east, looking for
The great God turned to help. Finally, after one hours of tossing and tearing, running eclipse.
Analyze the problem:
When we see the "Failed to load the JNI shared library Jvm.dll" error prompt, this illustrates a few reasons, first, the JDK version issue, followed by the path to install the JDK
A special symbol (&^%$#@!) appears, and finally, the environment variable is configured with an error.
Solution:
①, uninstall the original JDK (32bit), re-download the installation JDK (64bit) to the computer. Note: When installing, note that the file name cannot contain special characters. (x86) (usually deleted)
②, modifying the configuration of the environment variable Java_home Note: Locate the installation directory for the JDK, and copy the Address bar display path (no semicolon after java_home)
③, select the correct version of Eclipse if the environment variable is healthy. Note: Eclipse also has 32bit and 64bit attention and the JDK version corresponds.
Tips:
When configuring an environment variable, it is best to java_home the path only, and the other takes the form of%java_home% references. Reduce the error rate so you can change the JDK version only one place.
Technology sharing: Edith Academy
Run Eclipse Popup "Failed to load the JNI shared" workaround