Easy Tutorial
❮ Verilog Fft Yaml Intro ❯

Configuring Java Environment Variables in Windows 10

Category Programming Technology

Download JDK

Download Link: https://www.oracle.com/java/technologies/downloads/

Click the download button:

Start installing JDK:

You can set the path where you want to install it.


Environment Variable Configuration

1. Open the Environment Variables window

Right-click on This PC (This Computer) -> Properties -> Advanced system settings -> Environment Variables...

2. Create a NEW JAVA_HOME Variable

Click the New... button

Enter:

Variable name: JAVA_HOME
Variable value: The absolute path where JDK is installed on your computer

After entering, click OK.

You must be able to see the following files in the JDK path.

3. Create/Modify the CLASSPATH Variable

If there is a CLASSPATH variable, select it and click Edit.

If not, click New... to create one.

Enter/append to the existing variable value:

Variable name: CLASSPATH
Variable value: .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;

Click OK to save.

4. Modify the Path Variable

Due to the differences in Windows 10, when you select the Path variable, the system conveniently separates all different paths, unlike Windows 7 or 8 where they are connected.

Create two new paths:

%JAVA_HOME%\bin
%JAVA_HOME%\jre\bin

4. Check

Open cmd, type java, if a series of command prompts appear, it means the configuration is successful.

>

Original article link: https://www.jianshu.com/p/9fc41ea941aa

**Share my notes

Cancel

-

-

-

❮ Verilog Fft Yaml Intro ❯