Installation and configuration of jdk15

jdk installation and configuration

  1. Download jdk (I am jdk15, 2019/09/19)
    1
    2
    Click on the link to enter and slide to the bottom of the page, click on the
    3
    4
    tick to download
  2. Install jdk
    21
    22
    change the storage location of jdk, and wait for the installation, after a while, the installation is complete
  3. Configure jdk to
    31
    open "This Computer", and find "This Computer" on the left side of the window, right click -> Properties
    32
    on the left side of the window to find "Advanced System Settings" and click to enter
    33
    Click "Environment Variables"
    34
    35
    (1) Add a variable JAVA_HOME to the system variables , The variable value is the path where you installed jdk
    36
    ! [37](https://img-blog.csdnimg.cn/20200919192554860.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9FxmN0Z Insert picture description here
    in the system Add %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin to the Path of the variable

Insert picture description here
(3) Add the variable PATHCLASS in the system variables, the variable value is %JAVA_HOME%\bin;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar

Then press "OK" for all the windows just opened

  1. Check if the jdk is installed successfully

41
Win+R enters the dos window
42
as shown in the figure, it is successful!

Guess you like

Origin blog.csdn.net/qq_45538657/article/details/108684696