Java Learning Note-environment configuration

Source: Internet
Author: User

· Jdk

History

1995 the birth of the Java language

1996 JDK1.0 Released

1997 JDK1.1 released

1998 JDK1.2 Release (JAVA2), jfc/swing technology release

1999 Java was split into J2SE, EE, and J2me,jsp/servlet technology.

JDK1.3 released, JDK1.4 released

2001 j2ee1.3 Released

2002 j2se1.4 Released

2004 j2se1.5 release renamed to j2se5.0

2005-EE renamed Java Ee,j2se to Java Se,j2me renamed Java ME

JDK Download URL: http://www.oracle.com/technetwork/java/Javase/downloads/index.html

Before Java development, the programming environment needs to be set up, where the JDK is involved.

The JDK, the acronym for Java Development Kit, provides a basic development and operational environment for Java applications.

The JDK includes:

1, Java Virtual machine. This allows Java to be compiled and run multiple times across platforms.

(1), responsible for parsing and executing Java programs.

(2), operating on a variety of operating system platform.

2, JDK class library.

(1), contains the basic Java class and the utility class. Java.lang,java.io,java.util,java.awt,javax.swing,java.sql, etc.

3, development tools.

(1), Javac.exe (Compilation tool)

(2), Java.exe (Running tool)

(3), Javadoc.exe (Generate Javadoc document)

(4), Jar.exe (packing tool)

Ii. Installation of JDK

1, download Jdk-6u17-windows-i586.exe (get version, take this as an example).

2. Double-click the file.

3. Click Next to complete the installation.

Iii. setting of environment variables

1. Click on "My Computer" on the desktop, select "Properties", select "Advanced", select environment variable

2. Set "System Variables".

(1), drop down the system variable list, find the "path" item, click "Edit", first add a semicolon after the original string, find the path of the bin under the Java installation path,

For example: C:\Program Files\java\jdk1.8.0_11\bin, stick to the "path" string behind, add;.;, click OK.

(2), click New, enter the variable name classpath, find the Java installation path under the Lib path

For example: C:\Program files\java\jdk1.8.0_11\lib, pasting to variable values, adding;.;, click OK.

3. Verify that the installation is correct.

(1), click "Start", enter CMD in the run, enter, input javac, carriage return.

If the specific information for Java is displayed, the setting is complete.

Java Learning Note-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.