Movatterモバイル変換


[0]ホーム

URL:


Skip toContent

JDK Tools and Utilities


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.


General Information

The following documents contain important information you willneed to know to get the most out of the JDK tools.

Document TypePlatform
JDK File Structure[Solaris][Linux] [Windows]
Setting the Classpath[Solaris andLinux] [Windows]
How Classes are Found[Solaris, Linuxand Windows]

Enhancements

The man page for each tool reflects the latest behavior for thattool, but the following page details the tools changes specific toa release.


Basic Tools

These tools are the foundation of the JDK. They are the toolsyou use to create and build applications.

Tool NameBrief DescriptionLinks to Reference Pages
appletviewerRun and debug applets without a web browser.[Solaris and Linux] [Windows]
aptAnnotation processing tool.
SeeAnnotation ProcessingTool for program annotation processing.
[Solaris,Linux, and Windows]
extcheckUtility to detect Jar conflicts.[Solaris and Linux] [Windows]
jarCreate and manage Java Archive (JAR) files.
SeeJava Archive Files pagefor the JAR specification.
[Solaris and Linux] [Windows]
javaThe 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]
javacThe compiler for the Java programminglanguage.[Solaris and Linux] [Windows]
javadocAPI documentation generator.
SeeJavadoc Tool pagefor doclet and taglet APIs.
[Solaris and Linux] [Windows]
javahC header and stub generator. Used to write nativemethods.[Solaris and Linux] [Windows]
javapClass file disassembler[Solaris and Linux] [Windows]
jdbThe Java Debugger.
SeeJPDA for the debuggerarchitecture specifications.
[Solaris and Linux] [Windows]

Security Tools

These security tools help you set security policies on your systemand create applications that can work within the scope of security policiesset at remote sites.
Tool NameBrief DescriptionLinks to Reference Pages
keytoolManage keystores andcertificates.[Solaris and Linux] [Windows]
jarsignerGenerate and verify JAR signatures.[Solaris and Linux] [Windows]
policytoolGUI tool for managing policy files.[Solaris and Linux] [Windows]

These security tools helpyou obtain, list, and manage Kerberos tickets.

Tool NameBrief DescriptionLinks to Reference Pages
kinitTool 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]
klistCommand-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]
ktabCommand-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]

Internationalization Tools

This tool helps to create localizable applications.
Tool NameBrief DescriptionLinks to Reference Pages
native2asciiConvert text to Unicode Latin-1.[Solaris and Linux] [Windows]

Remote Method Invocation (RMI) Tools

These tools help to create applications that interact over the Web or othernetwork.
Tool NameBrief DescriptionLinks to Reference Pages
rmicGenerate stubs and skeletons forremote objects.[Solaris and Linux] [Windows]
rmiregistryRemote object registry service.[Solaris and Linux] [Windows]
rmidRMI activation system daemon.[Solaris and Linux] [Windows]
serialverReturn class serialVersionUID.[Solaris and Linux] [Windows]

Java IDL and RMI-IIOP Tools

These tools are used when creating applications that useOMG-standard IDL and CORBA/IIOP.
Tool NameBrief Description
tnameservProvides access to the namingservice.
idljGenerates .java files that map an OMG IDLinterface and enable an application written in the Java programminglanguage to use CORBA functionality.
orbdProvides 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.
servertoolProvides ease-of-use interface for the applicationprogrammers to register, unregister, startup, and shutdown aserver.

Java Deployment Tools

Utilities for use in conjunction with deployment of javaapplications and applets on the web.
Tool NameBrief Description
javafxpackagerPackages JavaFX applications for deployment. SeeDeploying JavaFX Applications for more information.
pack200Transforms 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.
unpack200Transforms a packed file produced bypack200 into a JAR file.

Java Web Start Tools

Utilities for use in conjunction with Java Web Start.
Tool NameBrief Description
javawsCommand line tool for launching Java Web Start andsetting various options.
SeeJavaWeb Start Guide for more information.

Java Troubleshooting, Profiling, Monitoring and ManagementTools

Tool NameBrief Description
jcmdJVM Diagnostic Commands tool - sends diagnostic command requests to a running Java Virtual Machine.[Solaris and Linux] [Windows]
jconsoleA 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.
jmcThe 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]
jvisualvmA 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.

Java Web Services Tools

Tool NameBrief Description
schemagenSchema generator for Java Architecture for XML Binding.
wsgenTool to generate JAX-WS portable artifacts.
wsimportTool to generate JAX-WS portable artifacts.
xjcBinding compiler for Java Architecture for XML Binding.

Monitoring Tools

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 NameBrief Description
jpsExperimental: JVM ProcessStatus Tool - Lists instrumented HotSpot Java virtual machines on atarget system.
jstatExperimental: JVM StatisticsMonitoring Tool - Attaches to an instrumented HotSpot Java virtualmachine and collects and logs performance statistics as specifiedby the command line options.
jstatdExperimental: 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.

TroubleshootingTools

The following tools can be used for specific troubleshooting tasks.The tools described in this section are unsupported andexperimental in nature and should be used with that in mind.They may not be available in future JDK versions.

Some of these tools arenot currently available on Windowsplatforms.

Tool NameBrief Description
jinfoExperimental - ConfigurationInfo for Java - Prints configuration information for a givenprocess or core file or a remote debug server.
jhatExperimental - Heap DumpBrowser - Starts a web server on a heap dump file (for example, produced byjmap -dump), allowing the heap to be browsed.
jmapExperimental - Memory Map forJava - Prints shared object memory maps or heap memory details of agiven process or core file or a remote debug server.
jsadebugdExperimental - ServiceabilityAgent Debug Daemon for Java - Attaches to a process or core fileand acts as a debug server.
jstackExperimental - 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.


Scripting Tools

The following tool can be used to run scripts that interact withthe Java platform. This tool is unsupported andexperimentalin nature and should be used with that in mind. It might not beavailable in future JDK versions.
Tool NameBrief Description
jrunscriptExperimental - Script shell forJava - Runs a script.

Copyright © 1993, 2020, Oracleand/or its affiliates. All rights reserved.
Contact Us

[8]ページ先頭

©2009-2025 Movatter.jp