JavaTM 2 SDK Tools

Documentation Contents

Each of the development tools comes in a Microsoft Win32, SolarisTM, and Linux version. There is virtually no difference in features between these three 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] [Linux] [Microsoft Windows]
  Setting the Classpath [Solaris] [Linux] [Microsoft Windows]
  How Classes are Found [All]
  Migration from 1.1 to 1.2
  Command Line Changes [Solaris and Linux] [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 2 SDK. They are the tools you use to create and build applications.

javac The compiler for the JavaTM programming language. [Solaris and Linux] [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 and Linux] [Microsoft Windows]
javadoc API documentation generator. Also see Javadoc 1.2 [Solaris and Linux] [Microsoft Windows]
appletviewer Run and debug applets without a web browser. [Solaris and Linux] [Microsoft Windows]
jar Manage Java Archive (JAR) files. [Solaris and Linux] [Microsoft Windows]
jdb The Java Debugger. [Solaris and Linux] [Microsoft Windows]
javah C header and stub generator. Used to write native methods. [Solaris and Linux] [Microsoft Windows]
javap Class file disassembler [Solaris and Linux] [Microsoft Windows]
extcheck Utility to detect Jar conflicts. [Solaris and Linux] [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 and Linux] [Microsoft Windows]
rmiregistry Remote object registry service. [Solaris and Linux] [Microsoft Windows]
rmid RMI activation system daemon. [Solaris and Linux] [Microsoft Windows]
serialver Return class serialVersionUID. [Solaris and Linux] [Microsoft Windows]

  Internationalization Tools

This tool helps to create localizable apps.

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