JAVA development environment setup-install JDK8

Install JDK

  1. Baidu searched JDK8 and found the download address
  2. Agree to the agreement
  3. Download the corresponding version of the computer
  4. Double click to install JDK
  5. Remember the installation path
  6. Configure environment variables
    1. My Computer -> Right Click -> Properties -> Advanced System Settings -> Environment Variables
    2. Environment variable -> System environment variable -> New -> Variable name: JAVA_HOME Variable value: JDK installation path
    3. Configure path variable -> double-click path -> click New -> enter %JAVA_HOME%\bin and %JAVA_HOME%\jre\bin respectively -> click OK
  7. Test whether the JDK is installed successfully
    1. Open cmd
    2. Type java -version

Guess you like

Origin blog.csdn.net/badxcat/article/details/114238017