Java language features and JDK configuration

Source: Internet
Author: User

features of the 3.Java language

√ Simplicity

√ Object oriented

√ Distributed

√ Robustness

√ Cross-platform

√ High Performance

√ Multi-threaded processing capability

√ Dynamic nature

√ Security

Installation and configuration of 4.Java

Download JDK6 or JDK7 from Oracle's official website (note that the JDK Java Development Kit instead of the JRE Java Runtime Environment), and then double-click Install. After the installation is complete, Java does not run immediately, it needs to be configured after the following steps:

1), right-click My Computer, WinXP, in Win7, right-click Computers, properties, advanced system settings.

The following dialog box appears:

2), select the Advanced tab, and click Select Environment variables to see the following dialog box:

3), click "New" in the system variable, enter java_homein the variable name,enter in the variable value, the root directory of the JDK installation, for example "D:\Program Files\java\jdk1.6.0_25 "and then click OK

4), and then create a new "classpath" variable, set the value of the variable to:

".; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar" ( to add . ) represents the current path ) 

 %java_home% is to refer to the previously specified Java_home

5), then edit "path" to set the bin path under the JDK ,path Allows the system to identify the Java command under any path , set as: %java_home%\bin; (Note that the original content in path is not deleted, add " ; " , then add %java_home%\bin)

Java language features and JDK 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: [email protected] 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.