Java JDK installation and environment configuration

Source: Internet
Author: User

Installation of part I:JDK

JDK (Java Development Kit) is the Java Language Software Development Kit (SDK).

is an essential operating environment for running and developing Java software.

As long as Baidu "JDK", download the appropriate version of their own PC installation can be.


environment variable configuration for part II:JDK

The JDK is installed by default, but development tools such as eclipse cannot find the path to the JDK, and we need to configure the environment variables. The following are the steps:

(1) Right-click on "My Computer", select "Properties", "Advanced", "Environment variables", "User Variables", "new". Enter "Java_home" in the "Variable name" box, enter "C:\Program files\java\jdk1.7.0_67" in the "Variable Value" box (as per the installation path), click "OK", java_home Setup is complete.

(2) Then the configuration of "path". Check "System variables" to see if there is a path project, if not click on "new", if it already exists, select the path option, click the "Edit" button, "Variable name" input box fill "path", "Variable Value" input box fill "C:\Program files\java\ Jdk1.7.0_67\bin "(according to the installation path). Path Setup is complete.

(3) The following is the configuration of "Classpath". Check "System variables" to see if there is a classpath project, if not, click "New", if it already exists, select the CLASSPATH option, click the "Edit" button, and then in "Variable name" fill in "Classpath", inthe "variable value" in the "C : \program Files\java\jdk1.7.0_67\jre\lib "(according to the installation path). Classpath Setup is complete.


Part III: Verifying the configuration of the JDK

Now that the JDK environment variable has been configured, you can see the Java version of the information to determine if the installation was successful by opening the Command Prompt window (run-and-cmd), entering the command "Java-version" (There are spaces here).


This article is from the "Sophoso CS Learning path" blog, please be sure to keep this source http://sophoso.blog.51cto.com/9442872/1560363

Java JDK installation and environment configuration

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.