Java installation and Programming __ algorithm

Source: Internet
Author: User

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.


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.