One, need software:
JDK and Eclipse
Two, download of JDK and Eclipse
JDK:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Go to page: Select the appropriate version->downloads-> accept the agreement (otherwise it cannot be downloaded), select the version of the JDK (system, and number of digits)
eclipse:https://www.eclipse.org/downloads/
After entering the page: Select the version you want:
Basic version of Eclipse Standard:eclipse, personal development for Java SE (personal recommendation, novice familiar with this version first)
Eclipse IDE for Java EE developers: Java EE-inherited plug-in for Java web development
The specific download process is similar to the JDK.
third, the installation of the JDK
1, installation
The downloaded file is such an. exe executable file,
Direct double-click Installation
Next:
Select Development tools and JRE and installation address , next
The installation hints for the JRE are then ejected, so be sure to separate the installation directory of the JRE from the installation directory of the JDK, or it will cause the overwrite command to be unavailable.
2, installation is only the first step, next requires the configuration of environment variables:
1) java_home:jdk root directory (installed directory)
2) CLASSPATH: Ensure that the program runs ". Class" File (Lib)
3) Path:jdk The bin folder of the installation directory
How to do this: Right-click My Computer, properties, advanced system Properties, environment variables:
Environment Variables
NEW: Variable name: java_home
Variable Value: (Your actual installation directory)
NEW: Variable name: Class_path
Variable value:%java_home%\lib;
Find path, add at the end: "; Java_home\bin "(Note: Separate)
To detect if the installation was successful (command line detection):
Enter Java-version If you can display the version number to indicate that the installation was successful
The input Javac can display the above information, indicating that the configuration was successful.
Installation of Eclipse:
As long as it corresponds to the number of bits in the JDK, it can be started by tapping the icon directly after extracting it.
Installation and configuration of JDK and use of eclipse