Win10 system configuration JDK environment variable | Java configuration environment variable path

Big data learning monk 2022-02-13 07:18:31 阅读数:108

win10 win configuration jdk environment

win10 The system configuration JDk The most detailed tutorial on environment variables

1. On the computer desktop Right click on the “ This computer ” Of “ attribute ” Options

 Insert picture description here

2. choice “ Advanced system setup ” Options

 Insert picture description here

3. Click on the “ environment variable ” Options

 Insert picture description here

4. Click on “ System variables ” Below ” newly build “ Options

 Insert picture description here

5. stay ” Variable name “ Fill in ”JAVA_HOME

” A variable's value “ by JDK The installation path , The author's path is ”D:\jdk1.8.0_102

Click on ” determine “ Options
 Insert picture description here

6. stay ” System variables “ Find ”Path“

 Insert picture description here

7. Choose ”Path“ Click on ” edit “ Options

Choose... On the right “ Edit text ”, Copy everything in quotation marks “%Java_Home%\bin;%Java_Home%\jre\bin;”, To “ A variable's value ” At the top of the column ,“ determine ”

 Insert picture description here

8. stay “ System variables ” bar ,“ newly build ”,

“ Variable name ” by “CLASSPATH”,
“ A variable's value ” by
.;%Java_Home%\bin;%Java_Home%\lib\dt.jar;%Java_Home%\lib\tools.jar
“ determine ”

 Insert picture description here
To verify jdk Environment configured successfully ,

9. Back to the desktop , Press shortcut key “Win+R”, Input “cmd”

 Insert picture description here

Check Java Environment configured successfully

Input "java"
 Insert picture description here
Input "java -version"
 Insert picture description here
Input "javac"
 Insert picture description here

If you see all three pictures above , Congratulations , The environment variables are configured !!!

copyright:author[Big data learning monk],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130718295179.html