Java

JavaTM 2 SDK
Tools and Utilities

Documentation Contents

Each of the development tools comes in a Microsoft Windows version (Windows) and a Solaris version. There is virtually no difference in features between Windows 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 SDK tools.

  SDK File Structure [Solaris] [Linux] [Windows]
  Setting the Classpath [Solaris and Linux] [Windows]
  How Classes are Found [Solaris, Linux and Windows]
  Tool Changes in Java 2 SDK, v1.4 [Solaris, Linux and Windows]

The sections below provide a brief introduction to the tools in the Java 2 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.

Reference Pages
javac The compiler for the Java programming language. [Solaris and Linux] [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] [Linux] [Windows]
javadoc API documentation generator. For links to Javadoc enhancements, Doclet API, Taglet API, doclets and more, see the Javadoc Tool Page [Solaris and Linux] [Windows]
appletviewer Run and debug applets without a web browser. [Solaris and Linux] [Windows]
jar Manage Java Archive (JAR) files. [Solaris and Linux] [Windows]
jdb The Java Debugger. [Solaris and Linux] [Windows]
javah C header and stub generator. Used to write native methods. [Solaris and Linux] [Windows]
javap Class file disassembler [Solaris and Linux] [Windows]
extcheck Utility to detect Jar conflicts. [Solaris and Linux] [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] [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]
 

  Internationalization Tools

This tool helps to create localizable apps.

 
native2ascii Convert text to Unicode Latin-1. [Solaris and Linux] [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] [Windows]
jarsigner Generate and verify JAR signatures. [Solaris and Linux] [Windows]
policytool GUI tool for managing policy files. [Solaris and Linux] [Windows]
     
These tools help you obtain, list, and manage Kerberos tickets.
     
kinit Tool for obtaining Kerberos v5 tickets. [Solaris and Linux] [Windows]
klist Command-line tool to list entries in credential cache and key tab. [Solaris and Linux] [Windows]
ktab Command-line tool to help the user manage entires in the key table. [Solaris and Linux] [Windows]
     

  Java IDL and RMI-IIOP Tools

These tools are used when creating applications that use OMG-standard IDL and CORBA/IIOP.

 
tnameserv Provides access to the naming service.
idlj Generates .java files that map an OMG IDL interface and enable an application written in the Java programming language to use CORBA functionality.
orbd Provides support for clients to transparently locate and invoke persistent objects on servers in the CORBA environment. ORBD is used instead of the Transient Naming Service, tnameserv. ORBD includes both a Transient Naming Service and a Persistent Naming Service. The orbd tool incorporates the functionality of a Server Manager, an Interoperable Naming Service, and a Bootstrap Name Server. When used in conjunction with the servertool, the Server Manager locates, registers, and activates a server when a client wants to access the server.
servertool Provides ease-of-use interface for the application programmers to register, unregister, startup, and shutdown a server.
 

  Java Plug-in Tools

Utilities for use in conjunction with the Java Plug-inTM product.

 
unregbean Unregisters a packaged JavaBeans component over ActiveX. Unregbean is described on the Java Plug-in Scripting document on the Java Software web site.

Copyright © 2002 Sun Microsystems, Inc. All Rights Reserved.

Sun
Java Software