Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
A. Why install JDK
In software development tools in this book, is about half the length of practice papers, to use the Eclipse environment, and use Eclipse, you must first install the JDK
What is two .JDK
JDK (ie Java SE Development Kit), is released for the SUN Java developers a free software development kit.
III. How to download JDK
Mentioned above, the JDK is developed by the SUN, discipline the teacher just talked about today SUN's another product, that is, MySQL, of course, we all know that the SUN's acquisition by Oracle, and also mentioned in the book, so we Oracle needs to go to the official website to download, download the official address: https://www.oracle.com/technetwork/java/javase/downloads/index.html . But the official website is pure English, we look particularly inconvenient, I find an installation package on the Internet, if necessary, can I copy it here.
IV. How to install JDK
Download the installation package to open it
V. How to configure environment variables
1. First, open My Computer - right-click - click on Properties - Advanced System Settings - Click Environment Variables
2. Click New - Add
3. Select the path, click Edit
4. Enter the following values of the value of a column in a variable; then click "OK"
5. Select New system variable, the pop-up window, enter the variable name: CLASSPATH variable values:;.% JAVA_HOME% lib;% JAVA_HOME% lib / tools.jar; click "OK." Such variables configured the
6. Check the configuration is successful
win + R Run box open, enter java -version (and the spaces between the java -version) version information as shown occurs, the successful installation and configuration