1. In the system variable, click New, the variable name fills in the Java_home, the variable value fills in the JDK installation path,
Fill in the "C:\Program files\java\jdk1.6.0_26" here.
2. In the system variable, click the new variable name to fill in the Classpath, the variable value is filled ".
;%java_home%\lib;%java_home%\lib\tools.jar ". Be careful not to forget the front dot and the middle semicolon. (Win 7)
In the system environment variable, click "Path" edit, put%java_home%/bin; add to the front, click OK to finish (win 8)
Start Eclipse pop-up "Failed to load the JNI shared library Jvm.dll" Error solving Method!
Cause 1: Jvm.dll does not exist in the given directory.
Countermeasures: (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
Countermeasures: Either both are installed 64-bit, either installed 32-bit, not one is 32 bit one is 64 bit.
The probability of cause 2 is greater, cause 1 is unlikely to happen
Java JDK Installation