1.Java JDK: referred to as the Java development toolset
2. Download the JDK after installation, you can download the green version, that is, do not install, directly placed on the disk root directory
such as: C:\Java\jdk1.6.0_10
3. Can be compiled under any disk path: Cmd window, set Path=c:\java\jdk1.6.0_10\bin
Test method: Cmd window, F:\>javac, as can be compiled
The following settings are valid only if the current CMD window is compiled, and then the CMD is turned off.
Because the environment variables need to be configured in My Computer-properties, this is common.
4.JDK includes Java development environment and runtime Environment (JRE)
Tips for Configuring the Java environment: Configuring the Bat file
Runjava.bat File Contents:
Set path=%cd%dk1.6.0_10\bin;%path%
Set Classpath=%cd%mywork
Start
5.java development programming ideas, be sure to write comments, and write the thought steps written down
/*
1. Login method
2. Determine if the login method
*/
6.java three types of reference: class, interface, array
Java Learning Note day01