1.JDK Download Installation
2.Eclipse Download Installation
Problems encountered:
There are two possible causes of the problem: 1) No environment variables configured
2) The JDK and Eclipse installation versions are inconsistent, both 64-bit or 32-bit.
I have the reason for the error: The first time occurs because the version is inconsistent, the second is because the environment variable is not configured
Tip: View Java version bits: windows+r----> Input cmd, enter-----> enter java-version------> results:
Represents the Jdk64 bit, the version number of Eclipse can be seen from the compressed package X64 that is 64
When the JDK is 32: this is usually the case
Environment variable configuration:
1) on the desktop computer point right-click Properties, or Start menu computer right click on the properties, left point advanced system Settings , click the environment variable below, a third diagram appears, and then click the arrow refers to the "new"
2) Popup new window, variable named java_home, variable value to fill the final path of JDK installation, I installed the address is D:\Eclipse\jdk, so fill D:\Eclipse\jdk, Click OK to finish,
3) Next set the path variable, find the path variable, click Edit (or double-click), pop up the third step of the box, the fourth step to add the value of the variable: at the end of the original value of the English language; After that, add the %java_home%\bin;%java_home %\jre\bin, click OK to finish,
4) New CLASSPATH variable, variable name CLASSPATH, variable value %java_home%\lib\dt.jar;%java_home%\lib\tools.jar, End With no spaces, click OK to complete the environment variable configuration, click OK to close the Environment variable configuration window.
5) At this point, the environment variable configuration is complete.
Note: Installation is not required after eclipse is downloaded and can be run directly after the environment variable configuration is complete
JDK 64-bit version of the installation package and Eclipse 64-bit installation package:
Link: Http://pan.baidu.com/s/1mh6dzRE Password: scj4
Java environment installation and Eclipse installation