Java Learning Lesson One, installing the JDK Toolkit

Source: Internet
Author: User

1. Download of JDK

So far, the latest version of the JDK is jdk8,http://www.oracle.com/technetwork/java/javase/downloads/index.html

To download here

Currently I am using Win7 64-bit operating system, so download this connection as follows:

  

2. Installation of JDK 8

When installing, the dialog will let you install the JDK first, I choose E:\JAVA\JDK8

Once this is installed, you will be asked to select a target folder to install the JRE,

  It is important to note that the previous JDK cannot be installed in a directory, or the environment variable will not be set successfully!

3. Setting Environment variables

First add a system variable (user variable also can), Java_home, variable value: is the installed directory

  

In the environment variable, locate the path variable, which is added above:%java_home%\bin;

  Add another classpath, variable value:.; E:\Java\jdk8\lib\tools.jar; E:\Java\jdk8\lib\dt.jar

Note the preceding .;

After setting the success, open cmd, input javac, there is a hint is successful, or not succeed, you can refer to Baidu Search "JDK8 environment variable Configuration"  

Java Learning Lesson One, installing the JDK Toolkit

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.