Install jdk For Windows and jdk For Windows

Source: Internet
Author: User

Install jdk For Windows and jdk For Windows

1. Download JDK
View latest: http://www.oracle.com/technetwork/java/javase/downloads/index.html

Select the appropriate JDK for download Based on the Operating System

2. Run the JDK Installer

3. Select the installation directory

4. Click "Next" to confirm the installation.

5. Set JAVA environment variables

Right-click the computer and choose Properties> advanced system Settings> environment variables.


Create environment variable
JAVA_HOME = C: \ Program Files \ Java \ jdk1.8.0 _ 40
CLASSPATH =.; % JAVA_HOME % \ lib
Modify the PATH environment variable and add % JAVA_HOME % \ bin to the path environment variable.




6. Verify that the installation is successful.
In start-run, Enter cmd and press Enter. The command box is displayed.
Enter java-version

If the JKD version is installed, the installation is successful.

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.