编程人 cdmana.com

JDK uninstall and installation

JDK Uninstall and install

uninstall JDK

  1. Delete java Installation directory

    Right click on my computer , Click properties , Open advanced system settings , Click environment variable , find JAVA_HOME Look at the corresponding path ,

    Then delete it in file explorer .

 Insert picture description here

  1. Delete JAVA_HOME

 Insert picture description here

  1. Delete pash Next about java The catalog of

 Insert picture description here

  1. Enter at the command line java -version Detect deletion

 Insert picture description here

install JDK

  1. Baidu search JDK8, Find the download address
     Insert picture description here

  2. Agree to the agreement
     Insert picture description here

  3. Download the version of the computer

Right click on my computer to open properties

 Insert picture description here

  1. Double click installation JDK

 Insert picture description here
 Insert picture description here

  1. Remember the installation path

  2. Configure environment variables

    1. My computer –> Right click –> attribute –> Advanced system setup –> environment variable

 Insert picture description here

​ 2. Configure environment variables –>Java_HOME

 Insert picture description here
 Insert picture description here

​ 3. To configure pash Variable
 Insert picture description here

  1. test JDK Is the installation successful

    1. open cmd

    2. Input java-version

     Insert picture description here

Scroll to Top