JDK Tools

JDK 1.2 Contents

Each of the development tools comes in a Win32 version and a Solaris version. There is virtually no difference in features between Win32 and Solaris versions. However, there are minor differences in configuration and usage to accommodate the special requirements of each operating system. (For example, the way you specify directory separators depends on the OS.)

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

  JDK File Structure [Solaris] [Windows]
  Setting the Classpath [Solaris] [Windows]
  How Classes are Found [All]
  Migration from 1.1 to 1.2
  Command Line Changes [Solaris] [Windows]
  Tools Changes [Solaris] [Windows]
  Solaris Multithreading Options [Solaris only]

The remaining sections provide a brief introduction to the tools in the Java Development Kit, with links to their reference pages:

  Basic Tools

These tools are the foundation of the Java Development Kit. They are the tools you use to create and build applications.

javac The compiler for the Java programming language. [Solaris] [Windows]
java The launcher for Java applications. In this release, a single launcher is used both for development and deployment.
The old deployment launcher, jre, is no longer provided.
[Solaris] [Windows]
javadoc API documentation generator. Also see Javadoc Enhancements for 1.2 [Solaris] [Windows]
appletviewer Run and debug applets without a web browser. [Solaris] [Windows]
jar Manage Java Archive (JAR) files. [Solaris] [Windows]
jdb The Java Debugger. [Solaris] [Windows]
javah C header and stub generator. Used to write native methods. [Solaris] [Windows]
javap Class file disassembler [Solaris] [Windows]
extcheck Utility to detect Jar conflicts. [Solaris] [Windows]

  Remote Method Invocation (RMI) Tools

These tools help to create apps that interact over the Web or other network.

rmic Generate stubs and skeletons for remote objects. [Solaris] [Windows]
rmiregistry Remote object registry service. [Solaris] [Windows]
rmid RMI activation system daemon. [Solaris] [Windows]
serialver Return class serialVersionUID. [Solaris] [Windows]

  Internationalization Tools

This tool helps to create localizable apps.

native2ascii Convert text to Unicode Latin-1. [Solaris] [Windows]

  Security Tools

These tools help you set security policies on your system and create apps that can work within the scope of security policies set at remote sites.

keytool Manage keystores and certificates. [Solaris] [Windows]
jarsigner Generate and verify JAR signatures. [Solaris] [Windows]
policytool GUI tool for managing policy files. [Solaris] [Windows]

  Java IDL Tools

These tools are used when creating apps that use CORBA to access databases.

tnameserv Provides access to the naming service.
idltojava Generates .java files that map an OMG IDL interface and enable an application written in the Java programming language to use CORBA functionality. This tool is available for download from the Java IDL web site. Documentation for the idltojava compiler is included in the download.