Home  >  Article  >  Java  >  What does the jdk tool include?

What does the jdk tool include?

little bottle
little bottleOriginal
2019-05-09 10:48:2431201browse

jdk tools include: Java runtime environment, javac, java, jdb, appletviewer, extcheck, idlj, jar, jarsigner, javadoc, javafxpackager, javah, javap, jdb, rmic, jstat, etc.

What does the jdk tool include?

The full name of JDK is Java Development ToolKit, which is a Java language development tool kit. JDK is the core of the entire JAVA, including the Java Runtime Environment (Java Runtime Envirnment), a bunch of Java tools (javac/java/jdb, etc.) and Java basic class libraries (that is, Java API including rt.jar).

What does the jdk tool include?

The following is an overview description of the tools included in jdk:

appletviewer: used to run and browse applet small programs.

extcheck: Extension detection tool, mainly used to detect whether there is a version conflict between the specified jar file and the currently installed Java SDK extension.

idlj: IDL-to-Java Compiler, used to generate Java bindings for the specified IDL file. IDL stands for Interface Definition Language.

jar: jar file management tool, mainly used to package, compress and decompress jar files.

jarsigner: jar key signing tool.

java: Java running tool, used to run .class bytecode files or .jar files.

javac: Java Compiler tool (Java Compiler), used to compile Java source code files.

javadoc: Java documentation tool, mainly used to generate API help documentation in HTML format based on annotation information in Java source code.

javafxpackager: JavaFX wrapper used to perform tasks related to packaging or signing JavaFX applications. JDK 8u20 has migrated this tool to javapackager.

javah: Java header file tool, used to generate C/C header files and source files based on Java classes (mainly used in the JNI development field).

javap: Java decompilation tool, mainly used to disassemble Java bytecode files into Java source code files.

javapackager: Performs tasks for packaging and signing Java applications and JavaFX applications. Contains the functions of javafxpackager.

jcmd: Java command line (Java Command), used to send diagnostic command requests to the running JVM.

jconsole: A graphical user interface monitoring tool, mainly used to monitor and display information such as performance and resource usage of applications running on the Java platform.

jdeps: Used to analyze the dependencies of Java classes.

jdb: Java debugging tool (Java Debugger), mainly used for breakpoint debugging of Java applications.

jhat: Java Heap Analysis Tool, used to analyze object information in Java heap memory.

jinfo: Java Configuration Information tool, used to print the configuration information of the specified Java process, core file or remote debugging server.

jjs: Call to Nashorn engine. Nashorn is a lightweight, high-performance JavaScript running environment based on Java.

jmap: Java Memory Map tool, mainly used to print shared object memory mapping or heap memory details of the specified Java process, core file or remote debugging server.

jmc: Java Mission Control tool, mainly used for production time monitoring, analysis, and diagnosis of HotSpot JVM. Developers can use the jmc command to create JMC tools. https://docs.oracle.com/javacomponents/jmc-5-5/jmc-user-guide/toc.htm

jps: JVM Process Status Tool, used to display the target Java process information for the HotSpot JVM on the system.

jrunscript: Java command line script shell tool (command line script shell), mainly used to interpret and execute scripting languages ​​such as javascript, groovy, and ruby.

jsadebugd: Java Serviceability Agent Debug Daemon, mainly used to attach to specified Java processes, core files, or act as a debugging server.

jstack: Java stack tracing tool, mainly used to print stack trace information of the Java thread of the specified Java process, core file or remote debugging server.

jstat: JVM Statistics Monitoring Tool, mainly used to monitor and display JVM performance statistics, including gc statistics.

jstatd: The jstatd (VM jstatd Daemon) tool is an RMI server application used to monitor the creation and termination of HotSpot JVM, and provides an interface that allows remote monitoring tools to be attached to the JVM running on the local host.

jvisualvm: JVM monitoring, troubleshooting, and analysis tool, mainly providing detailed information of Java applications running on specified virtual machines in the form of a graphical interface.

keytool: Key and certificate management tool, mainly used for creating, modifying, deleting keys and certificates, etc. Mainly used to obtain or cache ticket authorization tickets of the Kerberos protocol. Allows users to view entries in the local credential cache and keytab (for the Kerberos protocol). Kerberos keytab management tool allows users to manage primary names and service keys stored in local keytabs.

native2ascii: Native-to-ASCII Converter, used for "any supported character encoding" and the corresponding "ASCII encoding and/or Unicode escape" ” conversion between.

orbd: Object Request Broker Daemon, which enables clients to transparently locate and invoke persistent objects located on the server in a CORBA environment.

pack200: JAR file packaging and compression tool, which can use the unique structure of Java classes to efficiently compress ordinary JAR files for faster network transmission. This is an object wrapper provided by Microsoft for use with object installation packages.

policytool: Policy tool, used to manage user policy files (.java.policy).

rmic: Java RMI compiler, which generates stub, skeleton, and tie classes for remote objects using JRMP or IIOP protocols. It is also used to generate OMG IDL.

rmid: Java RMI activates the system daemon. rmid starts the activation system daemon, allowing objects to be registered or activated in the virtual machine.

rmiregistry: Java remote object registry, used to create and start a remote object registry on the specified port of the current host.

schemagen: XML schema generator, used to generate XML schema files.

serialver: Serial version command, used to generate and return serialVersionUID.

servertool: Java IDL server tool for registering, unregistering, starting and terminating persistent servers.

tnameserv: Java IDL transient naming service.

unpack200: JAR file decompression tool, which decompresses and extracts a file packaged by pack200 into a JAR file.

wsgen: Java API for XML Web Service 2.0, generating JAX-WS portable products for JAX-WS Web Service.

wsimport: Java API of XML Web Service 2.0, mainly used to generate client stubs and frameworks based on wsdl files published by the server

xjc: Mainly used to generate corresponding XML schema files Java class.

The above is the detailed content of What does the jdk tool include?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn