Various commands and Tools. jar packages in JAVA_HOME/bin

Source: Internet
Author: User

Various commands and Tools. jar packages in JAVA_HOME/bin

There is a tool. jar file in the JAVA_HOME/lib folder. In jdk1.7.0 _ 67, this class is close to 15 MB. Material is still very adequate. What is this class doing? This class is the specific Java Implementation of all the commands under the JDK bin directory.

See the figure below for the hierarchy of tools, picture from https://docs.oracle.com/javase/8/docs/index.html


The following content is the translation of the page https://docs.oracle.com/javase/7/docs/javastes/tools/index.html.

Give a brief introduction to each command. The specific details are found in the link of each command on this page. If you are interested, you can view them.

General Information

The following documents contain important information you need to know about JDK tools.

Document Type

Platform

JDK File Structure

[Solaris, Linux, and OS X] [Windows]

Setting the Classpath

[Solaris, Linux, and OS X] [Windows]

How Classes are Found

[All supported platforms]

EnhancementsBasic Tools

The following tools are the basis of JDK. These tools are used to create and build applications.

Appletviewer does not use a web browser to directly run or debug the applet.

Extcheck tool for detecting Jar package conflicts

Jar to create and manage Java archive files

Java application initiator. This is used in both the development and production environments. The jre command is discarded.

Javac java language compiler

Javadoc API document Builder

Javah C header file and stub generator. It is used to write local methods.

Javap file disassembly program.

Jdb java Debugger

Jpeps java dependent Analyzer

Security Tools

These security tools help you set security policies for your systems and applications.

Keytool manages keystore and certificates

Jarsigner generates and verifies the jar file Signature

Policytool GUI tool for managing policy tools

The following tools help you obtain, display, and manage Kerberos tickets.

Kinit tool for obtaining Kerberos tickets.

Klist displays certificate cache and Key Table entries

Ktab helps you manage the command line tools for key table entries

Internationalization Tools

This tool helps you create localized applications.

Native2ascii converts text to Unicode Latin-1 format

Remote Method Invocation (RMI) Tools

These tools help you create applications that interact through the web or other networks.

Rmic generates stub and skeleton for remote objects

Rmiregistry Remote Object Registration Service

Rmid activates the RMI system daemon

Serialver returns the serialVersionUID of a class.

Java IDL and RMI-IIOP Tools

It is used to create applications that use OMG-standard IDL and CORBA/IIOP.

Tnameserrv provides Name Service Access

The idlj generates the. java file of the omg idl Interface object, so that an application written in the Java programming language uses the function of the CORBA.

Orbd provides support for the client to transparently locate and call persistent objects in a CORBA server environment. ORBA is used to replace Transient Naming Service (tnameserv. ORBD includes an instantaneous Naming Service and a persistent Naming Service. The Orbd tool unifies two functions managed by a Server, a naming service written by each other, and a guiding name Server. When used together with servertool, if a client can access the Server, you can use the Server Manager to locate, register, and activate a Server.

Servertool provides an easy-to-use server interface for application writers to register, log out, start, and close applications.

Java Deployment Tools

Deploy Java applications and applet-related tools.

Javapackager is used to package applications and sign Java and JavaFx applications.

Pack200 converts a Jar file into a compressed pack200 file using the java gzip compressed file. The compressed package file is a JAR file with a high compression rate, which can be directly deployed to save bandwidth and reduce download time.

Unpack200 converts a pack200 package into a Jar file.

Java Web Start Tools

Java Web installation commands.

Javaws starts a Java Web command line tool to install and set various options.

Java Troubleshooting, Profiling, Monitoringand Management Tools

Jconsole is a graphical tool that complies with the JMX specifications and can be used to monitor Java virtual machines. Monitors local and remote JVMs. You can also monitor and manage an application.

Java Web Services Tools

Schemagen Schema Generator

Tools for generating portable build of JAX-WS by Wsgen

Wsimport is a tool for generating JAX-WS that can be built all the time

Compiler for Java architecture bound to XML by Xjc

Monitoring Tools

You can use the following tools to monitor JVM performance. The tools described below are both unconfirmed and experimental. It may no longer be available in future JDK versions.

These tools support all platforms except windows 98 and windows me.

Jcmd is an experimental JVM diagnostic command tool. Send a diagnostic command request to a JVM.

Jps experimental: JVM Process status tool-lists HotSpot virtual machines monitored in the target system.

Jstat experimental: JVM statistical monitoring tool-attaches to a monitored HotSpotJVM, and then collects and records the Performance Statistics specified in the command line.

Jstatd: JVM jstat daemon. Start an RMI server application and monitor the creation and termination of the monitored HotSpot JVM. An interface is provided to allow remote monitoring tools to be attached to a local running JVM.

Troubleshooting Tools

The following tools are used to perform specific troubleshooting tasks. The following tools are actually unconfirmed and experimental. It may not be available in future versions. Some of the following tools are currently unavailable on the window platform.

Jinfo: Java configuration. Print the configuration information of a given process, core file, or remote debugging server.

Jhat experimental: Stack dump browser. Start a web server (for example, jmap-dump) on the stack dump file to allow the stack to be browsed.

Jmap: Java memory ing. Print the shared object memory ing or the stack memory details of the given process, core file, and remote debugging server.

Jsadebugd: reliability. Java proxy debugging daemon. Attaches to a process, core file, or as a debugging server.

Jstack is experimental. Java stack trace. Print the stack of a thread, core file, or remote debugging server in a given process.

Scripting Tools

The following tools are used to run scripts that can interact with the java platform.

Jjs shell that runs Nashorn command line script

Jrunscript is an experimental Java Script Shell. Run a script. This tool is actually unconfirmed and experimental. It may not be available in future JDK versions.

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.