Home  >  Article  >  Java  >  How to download Java SDK and Java RE and set up Java development environment

How to download Java SDK and Java RE and set up Java development environment

黄舟
黄舟Original
2017-08-04 09:16:252125browse

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.

How to download Java SDK and Java RE and set up Java development environment

2. Click the search link. The picture below shows the download page of Java Standard Edition (standard version).

How to download Java SDK and Java RE and set up Java development environment

3. Click the download button to download JAVA JDK and JRE respectively.

How to download Java SDK and Java RE and set up Java development environment

##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.

How to download Java SDK and Java RE and set up Java development environment

5. Similarly, on the JAVA JRE download page, click the Agree Download button and download the corresponding operating system version Installation files.

How to download Java SDK and Java RE and set up Java development environment

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.

How to download Java SDK and Java RE and set up Java development environment

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.

How to download Java SDK and Java RE and set up 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn