Java Learning (ii): JDK Introduction and its structure, purpose

Source: Internet
Author: User

Introduction to JDK and its structure, purpose


1, the introduction of the JDK


The JDK is the abbreviation for Java Development Kit and is the product of Sun Microsystems for Java developers. It consists of a running environment on top of the operating system layer and the tools that developers need to compile, debug, and run applets and applications written in the Java language. To develop Java products, you need to install the JDK first.

(1), the JDK contains the basic components include:

javac– compiler, turn the source program into bytecode;

jar– Packaging Tool to package the relevant class files into a file;

javadoc– Document generator, extracting documents from source notes;

Jdb–debugger, error-checking tools;

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

Appletviewer: Applet browser, a Java browser that executes a Java applet on an HTML file;

Javah: Generates a C procedure that can invoke a Java procedure, or a header file that can be called by a Java program;

The Javap:java disassembler, which displays the accessible functions and data in the compiled class file, while displaying the meaning of the byte code;

Jconsole:java is a tool for system commissioning and monitoring.


(2), the most common basic tools:

A. Javac:java the source program compiler to convert the Java source code into bytecode.

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

C. appletviewer.exe Java applet Browser. Appletviewer command to run applets without the World Wide Web browser environment

D. Jar:java Application Packaging tool, you can combine multiple class files into a single jar archive file.

The E.javadoc:java API document generator extracts the document from the Java source code comment and generates an API document HTML page.

F. Jdb:java Debugger (debugger), you can execute the program row by line. Set breakpoints and check change MD


2. Java Concept Map


The Java concept Map mainly contains the important components of the JDK and the JRE.


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Java Learning (ii): JDK Introduction and its structure, purpose

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.