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