JavaTM 2 SDK Tools

Documentation Contents

Each of the development tools comes in a Microsoft Win32 version and a SolarisTM 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 SDKTM tools.

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

The remaining sections provide a brief introduction to the tools in the SDK, 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 JavaTM programming language. [Solaris] [Microsoft Windows]
java The launcher for Java technology applications. In this release, a single launcher is used both for development and deployment.
The old deployment launcher, jre, is no longer provided.
[Solaris] [Microsoft Windows]
javadoc API documentation generator. Also see Javadoc 1.2 [Solaris] [Microsoft Windows]
appletviewer Run and debug applets without a web browser. [Solaris] [Microsoft Windows]
jar Manage Java Archive (JAR) files. [Solaris] [Microsoft Windows]
jdb The Java Debugger. [Solaris] [Microsoft Windows]
javah C header and stub generator. Used to write native methods. [Solaris] [Microsoft Windows]
javap Class file disassembler [Solaris] [Microsoft Windows]
extcheck Utility to detect Jar conflicts. [Solaris] [Microsoft 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] [Microsoft Windows]
rmiregistry Remote object registry service. [Solaris] [Microsoft Windows]
rmid RMI activation system daemon. [Solaris] [Microsoft Windows]
serialver Return class serialVersionUID. [Solaris] [Microsoft Windows]

  Internationalization Tools

This tool helps to create localizable apps.

native2ascii Convert text to Unicode Latin-1. [Solaris] [Microsoft 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] [Microsoft Windows]
jarsigner Generate and verify JAR signatures. [Solaris] [Microsoft Windows]
policytool GUI tool for managing policy files. [Solaris] [Microsoft 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.