First, Java development tools
1. Windows system (operating system)
2. JDK
3. MyEclipse, Eclipse, Intellij idea
Second, the installation of the JDK
1. Download JDK
1) Open official website:http://www.oracle.com/
2) Select Download Java for Developers
3) Open the download page and select Downloads
4) turn to the bottom, find the Java Archive, click Download
5) Find the corresponding version, click to download
2, install the JDK: Follow the prompts to install
3. Configure Environment variables
1) Right click on "My Computer", select "Properties", select "Advanced System Settings"
2) Click on "Environment variables" to configure the required variables for the JDK.
3, in "System Variables" Set 3 properties, Java_home,path,classpath (case does not matter), if already exist then click "Edit", do not exist then click "New".
The variable setting parameters are as follows:
- Variable name:java_home
- Variable value:C:\Program Files (x86) \java\jdk1.8.0_91 //To be configured according to your actual path
- Variable name:CLASSPATH
- Variable value:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; Remember, there's a "." in front.
4. Determine if the JDK is installed successfully
1) "Start", "Run", type "cmd";
2) Type the command: java-version,java,javac Several commands, the following information appears, indicating that the environment variable configuration is successful;
Third, MyEclipse, Eclipse, IntelliJ idea of the following prompts to install on the line
Java Development Environment Configuration