In the process of learning Java, JDK installation and configuration can be said to be the first obstacle, today I will combine their own experience to explain to you
I. Download and installation of JDK
(a) The download of the JDK is relatively simple, directly to the Baidu network address (in my website download version 1.8, pro-Test available)
Baidu Network disk: Http://pan.baidu.com/s/1ge3vmIv (64-bit)
Http://pan.baidu.com/s/1jIEuHDW (32-bit)
As for other systems (Apple, Linux and the like can go to the official website to download, here is not listed ^_^)
(ii) installation
Double-click the installer to install it, always next (note that the JDK installation address is noted)
Two. Configuration of JDK environment variables
(a) Right button this computer, properties, advanced system settings, advanced environment variables
(ii) Create a new java_home in the system variable to determine
(iii) Locate the path variable in the system variable and click Edit
(d) Add%java_home%\bin at the end of the variable value; (① must note that the end has a semicolon, must be in the English state of the semicolon ② variable value at the beginning of the end without a semicolon, first add a semicolon,)
After the confirmation, the configuration is complete!!! Next let's test whether the actual configuration is successful:
Three. Testing
Open Computer Run command, enter CMD
Hit Java directly and then enter
If you see this situation, even if the installation is complete!!!
If this is the case, unfortunately you may have some minor problems (then you can check again, it is not possible to mail [email protected] consulting me ^_^)
Four. Description
(a) Java_home: The JDK installation directory, its role is mainly simplified (with%java_home% instead of the JDK path), and Tomcat,eclipse and other software is java_home to find the JDK
(ii) Path: Specify the command search path, execute commands below the command line, such as Javac (compile)/java (run Java program), etc.
(iii) In addition to the above two, there is a classpath, this is actually a specified class path, if there are students want to try to manually write the program and then the console compile and run, but also afraid
Switch class path trouble can be self-Baidu set up a bit
Five. Accessories
(i) Eclipse installation package (Windows edition), unzip after download is available
Baidu Network disk: http://pan.baidu.com/s/1boVnH87 (64-bit)
Http://pan.baidu.com/s/1eS2X6yI (32-bit)
Six. Haha, these are the individual learning Java experience, if there is anything wrong or wrong place, I hope you can actively point out, common progress, play a solid foundation to learn Java!!!
Installation and configuration of JDK (additional Eclipse installation package)