Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Construction of Java development environment

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

First, install JDK

1. JVM (Java Virtual Machine-Java virtual machine)

JRE (Java Runtime Environment-Java Runtime Environment)

JDK (Java Development kit-Java Development Kit)

2. JDK includes JRE and JVM, so after installing JDK, the installation packages of JRE and JVM,JDK can be downloaded from the Oracle official website or from a third-party website. The official download address is provided below:

Http://www.oracle.com/technetwork/java/javase/downloads/index.html

(there are many versions, so choose the applicable version by yourself, omit the installation process, and then take the next step during installation.)

Second, configure environment variables

JAVA_HOME configure JDK installation path

Location of PATH configuration JDK command file

Location of the CLASSPATH configuration class library file

1. My computer (right button)-- > Properties

2. Advanced system settings-- > environment variables

3. There is no JAVA_HOME in the system variable, so you need to edit it as follows:

(the variable value is the path where JDK is installed)

4. PATH already exists in the system variable. Select PATH-- > Edit.

-- > enter the path to Bin first (separate other paths with semicolons)

5. The variables that come with the system do not have CLASSPATH and need to be added.

-- > use "." Represents the current path

Separate with ";"

-- > enter the path to Bil (for example, my path is: C:\ Program Files\ Java\ jdk1.8.0_60\ lib)

This is the end of the configuration, remember to press OK, not sure will not be saved by yourself.

Third, verify the configuration environment variables

Open and run à cmd à enter java/javac to verify (the effect of successful verification is as follows)

If you see this effect, congratulations on your successful configuration.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report