The establishment of JAVA development environment requires the installation of JAVA Software Development Kit and JAVA RunTime Environment. This article describes how to find the appropriate development module.
1. Search for Java JDK in the search engine. Note that JAVA Software Development Kit and JAVA RunTime Environment were developed by Oracle.
2. Click the search link. The picture below shows the download page of Java Standard Edition (standard version).
3. Click the download button to download JAVA JDK and JRE respectively.
##4. On the JAVA JDK page, click the Agree to download button and download the corresponding installation according to the current operating system version files.
5. Similarly, on the JAVA JRE download page, click the Agree Download button and download the corresponding operating system version Installation files.
6. Right-click on the calculator, select the content, and the following page will appear.
Click Advanced System Settings in the left navigation column to display the system content window.
Select the advanced column, environment variable option, and open the environment variable window.
7. Environment variables consist of user variables and system variables. To facilitate variable management, click New in the user variables column. Increasing variables. The variable name is set to JAVA HOME and the variable value is set to C:\Program Files\Java\jdk1.8.0_73. The jdk1.8.0_73 item can be changed according to the version at that time. For example, the installed version is jdk1.8.0_72, and the value can be changed to C:\Program Files\Java\jdk1.8.0_72.
If you are updating the JDK, click the JAVA HOME variable and modify the variable value to the location of the current JDK version. In most cases, the JDK is installed in the C:\Program Files\Java path. After completing the settings, press the OK button to complete the operation and complete the settings of the Java development environment.
The above is the detailed content of How to download Java SDK and Java RE and set up Java development environment. For more information, please follow other related articles on the PHP Chinese website!