JDK installation and configuration, JDK installation Configuration

Source: Internet
Author: User

JDK installation and configuration, JDK installation Configuration
 

1. What is JDK (Java Development Kit)

Development tools, javac and basic core classes
Runtime Environment, java and basic core classes

2. Current Java platform version


JavaSE (Java Platform Stand Edition)
JavaME (Java Platform Micro Edition)
JavaEE (Java Platform Enterprise Edition)

For general users and learning purposes, Java SE is usually used. Currently, the latest JDK version is JDK 7.


3. Download and install JDK

JDKhttp: // www.oracle.com/technetwork/java/index.html
Different Operating System Platforms, download different versions, such as: Windows environment download to get an executable file: jdk-7-windows-i586.exe.


After the installation is complete, the following sub-directories are created in the installation directory:
Bin: a tool for developing, executing, and debugging Java programs.
Include: stores the header files required for local code programming.
Jre: directory of the Java Runtime Environment used by JDK. Including the support files required for Java virtual machines, class libraries, and other running programs.
Lib: stores the additional class libraries and support files required by the development tool. There is also an src.zip file under the installation directory, which stores the source files of the core APIs of the Java platform.

 

 

4. Set Environment Variables


After the JDK installation is complete, you must configure the relevant environment variables for use. Set the PATH variable Windows2003/XP system my computer --> properties --> advanced --> environment variable --> system variable.

A. Create JAVA_HOME
C: \ Program Files \ Java \ jdk1.7.0 _ 51 (JDK installation path)
B. Create a PATH
% JAVA_HOME % \ bin; % JAVA_HOME % \ jre \ bin
C. Create a CLASSPATH
.; % JAVA_HOME % \ lib \ tools. jar

 

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.