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.