JAVA Learning (2): JDK introduction and its structure and usage, javajdk

Source: Internet
Author: User

JAVA Learning (2): JDK introduction and its structure and usage, javajdk
JDK introduction, structure, and usage


1. JDK Introduction


JDK is short for Java Development Kit and is a product developed by Sun Microsystems for Java developers. It consists of a running environment on the operating system layer and tools required by developers to compile, debug, and run applets and applications written in Java. To develop a java product, install JDK first.

(1) JDK includes the following basic components:

Javac-compiler, which converts the source program into bytecode;

Jar-packaging tool to package related class files into one file;

Javadoc-document builder, which extracts documents from source code comments;

Jdb-debugger, error checking tool;

Java-run the compiled java program (. class suffix );

Appletviewer: applet browser, a Java browser that executes Java applets on HTML files;

Javah: generate the C process that can call the Java Process, or create the header file of the C process that can be called by the Java program;

Javap: Java anti-assembler, which displays the accessible functions and data in the compilation class file and the meaning of the byte code;

Jconsole: a Java tool for system debugging and monitoring.


(2) The most common basic tools:

A. Javac: Java source code compiler, which converts Java source code into bytecode.

B. Java: Java interpreter, which runs the byte code of a Java application directly from a bytecode file, also known as a class file.

C. appletviewer.exe Java applet browser. The appletviewer command can run the applet without the web browser environment.

D. jar: a java application packaging tool that combines multiple class files into a single JAR archive file.

E. Javadoc: Java API documentation builder extracts documents from Java source code comments to generate an API documentation HTML page.

F. jdb: Java debugger (debugger), which can execute programs row by row. set breakpoints and check for Md changes


2. Java concept Diagram


The concept diagram of JAVA mainly contains the important components of JDK and JRE.


Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.