Java(tm) Development Kit
Version 1.2
Tools Reference Pages - Solaris
Some JDK tools have non-optimized versions suitable for
use with debuggers. These debuggable versions of the tools
have "_g" appended to the tool name. For example, the debuggable
version of the rmic tool is rmic_g.
- Base Tools
- javac
- The Java Language Compiler that you use to compile programs written in the
Java(tm) Programming Language into bytecodes.
- java
- The Java Interpreter that you use to run programs written in the
Java(tm) Programming Language.
- jre
- The Java Runtime Interpreter that you can use to run Java applications.
The
jre
tool is similar to the java
tool, but is
intended primarily for end users who do not require all the
development-related options available with the java
tool.
- jdb
- The Java Language Debugger that helps you find and fix bugs in Java(tm)
programs.
- javah
- Creates C header files and C stub files for a Java(tm) class.
These files provide the connective glue that allow your code written
in the Java Programming Language to interact with code written in
other languages like C.
- javap
- Disassembles compiled Java(tm) files and prints out a representation of
the Java bytecodes.
- javadoc
- Generates API documentation in HTML format from Java(tm) source code.
Also see Writing Doc Comments for Javadoc.
- appletviewer
- Allows you to run applets without a web browser.
- RMI Tools
- rmic
- Generates stub and skeleton
class files for Java objects implementing the
java.rmi.Remote
interface.
- rmiregistry
- Starts a remote object
registry on a specified port. The remote object registry is a
bootstrap naming service which is used by RMI servers.
- rmid
- The Java RMI activation system daemon, rmid starts the activation
system daemon so that objects can be registered and activated in
a Java VM.
- serialver
- Returns the serialVersionUID for one or more classes.
- Internationalization Tools
- native2ascii
- Converts non-Unicode Latin-1
(source code or property) files to Unicode Latin-1.
- Security Tools
- keytool
- Manages a keystore (database) of private keys and their associated
X.509 certificate chains authenticating the corresponding public
keys. Also manages certificates from trusted entities.
- jarsigner
- Generates signatures for Java ARchive (JAR) files, and verifies
the signatures of signed JAR files.
- policytool
- A self-documenting tool used to create and modify the
external policy configuration files that define your installation's
Java security policy. The tool is described in the
Java Security Architecture document.
- Java IDL Tool
- tnameserv
- Starts the Java IDL name server on the specified port. The
Naming Service programming
guide in the Java IDL documentation describes the use of tnameserv.
- JAR Tool
- jar
- Combines multiple files into a single
Java Archive (JAR) file.
- Java Servlet Tool
- servletrunner
- Used for running and testing servlets. Use of servletrunner is
described in the
Servlet Tutorial.
- Environment Variables
- CLASSPATH
- Tells the Java Virtual Machine and other Java applications where
to find the class libraries.
Java(tm) Development Kit