Windows XP System JDK Installation

Source: Internet
Author: User
installation of JDK files 1, EXE installation

Double-click the local JDK file,


For installation. The official download address for JDK is:

Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html


Select Acceptlicense agreement and select the JDK version you want to install. Here, the X86 corresponds to the 32-bit system, and the X64 corresponds to the 64-bit system. 2. Folder Installation

From a computer that already has the JDK installed, copy the JDK folder and copy the JDK folder to the directory you want. such as C:\ProgramFiles\jdk1.7.0_21 II, the configuration of environment variables

Right-click My Computer, select Properties (or press windows+pause) and pop up the following dialog box:


Select "Advanced"-"Environment variables":


3 system environment variables need to be modified. 1, Path

Select path and click "Edit":

Append ";%java_home%\bin" after the original variable value. Where semicolons are used to separate values from the preceding variables. 2, Classpath

Select Path, click Edit, append to the original variable value

“; %java_home%\lib\dt.jar;%java_home\lib\tools.jar ".

If you don't find this variable, add it. 3, Java_home

4, add a variable named "Java_home", variable value for you to install or copy the JDK folder where the path, such as "C:\ProgramFiles\jdk1.7.0_21" three, verify that the configuration was successful

Open the computer's Command line window, enter "Java-version", return, the following results appear:


The configuration succeeds.

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.