Get the App
SLTechnology News&Howtos  ›  Servers  › 

Environment variables for win10 installation and configuration of JDK

Shulou Source: shulou.com Published: 2022-06-03 09:33:41 12月06日 Update

Configuration process:

The first step is to install jdk:

Official website: jdk download

The second step is to add environment variables:

Right click on my computer-Properties-

At this point, you can set the user's environment variable, or you can set the system's environment variable.

If you set the user's environment variable, only this user can use it, not other users.

If you set the environment variable for the system, then every user of this computer can use it.

Key points:

The first step

Step two

Then create a new PATH and set the variable value% JAVA_HOME%\ bin;%JAVA_HOME%\ jre\ bin

Step three

Create a new CLASSPATH and set the variable value.;% JAVA_HOME%\ lib\ dt.jar;%JAVA_HOME%\ lib\ tools.jar

Pay attention to the front. Represents the current directory. Then click the OK button. (note that there is a point in front)

Try typing java or javac in cmd

This means it worked.

Tags: Variables environments users computers systems values configurations success properties buttons directories procedures priorities input Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Huawei Redmi Shulou Technology vpn