JDK installation and environment variable configuration, jdk environment variable configuration

Source: Internet
Author: User

JDK installation and environment variable configuration, jdk environment variable configuration

Step 1: Download the JDK and double-click it to install it. In this step, click Change to install the JDK in the specified path.

NOTE: If no installation directory is required, you can set all the default settings. You do not need to make any changes. Click Next twice.

Step 2: After JDK is installed, configure the environment variable computer → properties → advanced system settings → advanced → environment variable as shown in Figure

Step 3:

System variable → search for Path variable → Edit

Enter D: \ Java \ jdk1.7.0 \ bin at the end of the variable value;

(Note that there is no; number at the end of the variable value of the original Path. If not, first enter; number and then enter the above Code)

Click OK.

Finally, check whether the configuration is successful. Run cmd and enter java-version (there is a space between java and-version)

If the version information is displayed, the installation and configuration are successful.

You can also enter java. If it appears, it indicates that the installation is successful.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.