General
Standard JDK Tools and Utilities
Experimental JDK Tools andUtilities
NOTE - The tools describedin this section are unsupported andexperimental in natureand should be used with that in mind. They might not be availablein future JDK versions.
Troubleshooting Documentation
NOTE: Some tools have separate referencepages for Windows, Linux and Solaris to accommodate minordifferences in configuration and usage (for example, thecharacter used to specify directory separators may bedifferent). Users of the OS X operating system should refer to the Linux/Solaris pages.
The following documents contain important information you willneed to know to get the most out of the JDK tools.
| Document Type | Platform |
|---|---|
| JDK File Structure | [Solaris][Linux] [Windows] |
| Setting the Classpath | [Solaris andLinux] [Windows] |
| How Classes are Found | [Solaris, Linuxand Windows] |
The man page for each tool reflects the latest behavior for thattool, but the following page details the tools changes specific toa release.
These tools are the foundation of the JDK. They are the toolsyou use to create and build applications.
| Tool Name | Brief Description | Links to Reference Pages |
|---|---|---|
| appletviewer | Run and debug applets without a web browser. | [Solaris and Linux] [Windows] |
| apt | Annotation processing tool. SeeAnnotation ProcessingTool for program annotation processing. | [Solaris,Linux, and Windows] |
| extcheck | Utility to detect Jar conflicts. | [Solaris and Linux] [Windows] |
| jar | Create and manage Java Archive (JAR) files. SeeJava Archive Files pagefor the JAR specification. | [Solaris and Linux] [Windows] |
| java | The launcher for Java applications. In thisrelease, a single launcher is used both for development anddeployment. The old deployment launcher,jre, is no longerprovided. | [Solaris and Linux] [Windows] |
| javac | The compiler for the Java programminglanguage. | [Solaris and Linux] [Windows] |
| javadoc | API documentation generator. SeeJavadoc Tool pagefor doclet and taglet APIs. | [Solaris and Linux] [Windows] |
| javah | C header and stub generator. Used to write nativemethods. | [Solaris and Linux] [Windows] |
| javap | Class file disassembler | [Solaris and Linux] [Windows] |
| jdb | The Java Debugger. SeeJPDA for the debuggerarchitecture specifications. | [Solaris and Linux] [Windows] |
| Tool Name | Brief Description | Links to Reference Pages |
|---|---|---|
| keytool | Manage keystores andcertificates. | [Solaris and Linux] [Windows] |
| jarsigner | Generate and verify JAR signatures. | [Solaris and Linux] [Windows] |
| policytool | GUI tool for managing policy files. | [Solaris and Linux] [Windows] |
These security tools helpyou obtain, list, and manage Kerberos tickets.
| Tool Name | Brief Description | Links to Reference Pages |
|---|---|---|
| kinit | Tool for obtaining Kerberos v5tickets. Equivalent functionality is available on the Solarisoperating system via the kinit tool. For example, for Solaris 11,see thekinit reference page. | [Windows] |
| klist | Command-line tool to list entries in credentialcache and key tab. Equivalent functionality is available on theSolaris operating system via the klist tool. For example, forSolaris 11, see theklist reference page. | [Windows] |
| ktab | Command-line tool to help the user manage entriesin the key table. Equivalent functionality is available on theSolaris operating system via the kadmin tool. For example, forSolaris 11, see thekadmin reference page. | [Windows] |
| Tool Name | Brief Description | Links to Reference Pages |
|---|---|---|
| native2ascii | Convert text to Unicode Latin-1. | [Solaris and Linux] [Windows] |
| Tool Name | Brief Description | Links to Reference Pages |
|---|---|---|
| rmic | Generate stubs and skeletons forremote objects. | [Solaris and Linux] [Windows] |
| rmiregistry | Remote object registry service. | [Solaris and Linux] [Windows] |
| rmid | RMI activation system daemon. | [Solaris and Linux] [Windows] |
| serialver | Return class serialVersionUID. | [Solaris and Linux] [Windows] |
| Tool Name | Brief Description |
|---|---|
| tnameserv | Provides access to the namingservice. |
| idlj | Generates .java files that map an OMG IDLinterface and enable an application written in the Java programminglanguage to use CORBA functionality. |
| orbd | Provides support for clients to transparentlylocate and invoke persistent objects on servers in the CORBAenvironment. ORBD is used instead of the Transient Naming Service,tnameserv. ORBD includes both a Transient Naming Serviceand a Persistent Naming Service. Theorbd tool incorporatesthe functionality of a Server Manager, an Interoperable NamingService, and a Bootstrap Name Server. When used in conjunction withtheservertool, the Server Manager locates, registers, andactivates a server when a client wants to access the server. |
| servertool | Provides ease-of-use interface for the applicationprogrammers to register, unregister, startup, and shutdown aserver. |
| Tool Name | Brief Description |
|---|---|
| javafxpackager | Packages JavaFX applications for deployment. SeeDeploying JavaFX Applications for more information. |
| pack200 | Transforms a JAR file into a compressedpack200 file using the Javagzip compressor. The compressed packed files are highly compressed JARs, which can be directly deployed, saving bandwidth and reducing download time. |
| unpack200 | Transforms a packed file produced bypack200 into a JAR file. |
| Tool Name | Brief Description |
|---|---|
| javaws | Command line tool for launching Java Web Start andsetting various options. SeeJavaWeb Start Guide for more information. |
| Tool Name | Brief Description | |
|---|---|---|
| jcmd | JVM Diagnostic Commands tool - sends diagnostic command requests to a running Java Virtual Machine. | [Solaris and Linux] [Windows] |
| jconsole | A JMX-compliant graphical tool for monitoring aJava virtual machine. It can monitor both local and remote JVMs. Itcan also monitor and manage an application. SeeMonitoring andManagement for the Java Platform for more information. | |
| jmc | The Java Mission Control (JMC) client includes tools to monitor and manage your Java application without introducing the performance overhead normally associated with these types of tools. | [Solaris and Linux] [Windows] |
| jvisualvm | A graphical tool that provides detailed information about the Java technology-based applications (Java applications) while they are running in a Java Virtual Machine. Java VisualVM provides memory and CPU profiling, heap dump analysis, memory leak detection, access to MBeans, and garbage collection. SeeJava VisualVM for more information. |
| Tool Name | Brief Description |
|---|---|
| schemagen | Schema generator for Java Architecture for XML Binding. |
| wsgen | Tool to generate JAX-WS portable artifacts. |
| wsimport | Tool to generate JAX-WS portable artifacts. |
| xjc | Binding compiler for Java Architecture for XML Binding. |
You can use the following tools to monitor JVM performancestatistics. The tools described in this section are unsupported andexperimental, and should be used with that in mind. They maynot be available in future JDK versions.
These tools are supported on all platforms except Windows 98 andWindows ME.
| Tool Name | Brief Description |
|---|---|
| jps | Experimental: JVM ProcessStatus Tool - Lists instrumented HotSpot Java virtual machines on atarget system. |
| jstat | Experimental: JVM StatisticsMonitoring Tool - Attaches to an instrumented HotSpot Java virtualmachine and collects and logs performance statistics as specifiedby the command line options. |
| jstatd | Experimental: JVM jstat Daemon- Launches an RMI server application that monitors for the creationand termination of instrumented HotSpot Java virtual machines andprovides a interface to allow remote monitoring tools to attach toJava virtual machines running on the local system. |
Some of these tools arenot currently available on Windowsplatforms.
| Tool Name | Brief Description |
|---|---|
| jinfo | Experimental - ConfigurationInfo for Java - Prints configuration information for a givenprocess or core file or a remote debug server. |
| jhat | Experimental - Heap DumpBrowser - Starts a web server on a heap dump file (for example, produced byjmap -dump), allowing the heap to be browsed. |
| jmap | Experimental - Memory Map forJava - Prints shared object memory maps or heap memory details of agiven process or core file or a remote debug server. |
| jsadebugd | Experimental - ServiceabilityAgent Debug Daemon for Java - Attaches to a process or core fileand acts as a debug server. |
| jstack | Experimental - Stack Trace forJava - Prints a stack trace of threads for a given process or corefile or remote debug server. |
Refer to theJava™SE Troubleshooting web site for descriptions of tools, options,and other information to use in analyzing problems. The documentsat this site contain suggestions about what to try beforesubmitting a bug report and what data to collect for a report.
| Tool Name | Brief Description |
|---|---|
| jrunscript | Experimental - Script shell forJava - Runs a script. |