Java Installation and programming
After the JDK installation is complete, many directories and files are installed in the installation directory. Here is a brief introduction to these catalogs.
Attention matters
Java is case-sensitive, and you should be careful when entering commands at a command prompt to be case-sensitive.
There is an extension when compiling the program with Javac.
There is no extension when running programs in Java.
The main method must be in the source program.
The class name in the source program should be the same as the file name, including case.
Common tools
1, Javac:java source program compiler, the Java source code into a byte code.
2, Java:java interpreter, directly from the bytecode file, also known as class files. Executes the byte code of the Java application.
3, Appletviewer.exe Java applet browser. The Appletviewer command can run applets without the World Wide Web browser environment.
4, Jar:java Application Packaging tool, you can merge multiple class files into a single jar archive.
5. The Javadoc:java API document builder extracts documents from Java source code comments and generates an HTML page for API documents.
6, Jdb:java Debugger (debugger), you can execute the program line by row, set breakpoints and check variable MD.