Compaq NonStop Java Tools Reference Pages Abstract This document consists of this title page, a table of contents, and the Tools Reference Pages for the Compaq NonStopTM Server for Java...based on Java 2 Platform, Standard Edition, SDK 1.2.2 (short form: NonStop Java). Product Version NonStop Java 2.1 Part Number 426948-002 Published March 2002 Document History Part Number Product Version Published None NonStop Server for April 1998 Java 1.5 (EAP) None NonStop Server for June 1998 (on product Java 1.
Document Disclaimer Information contained in a manual is subject to change without notice. Please check with your authorized Compaq representative to make sure you have the most recent information. Export Statement Export of the information contained in this manual may require authorization from the U.S. Department of Commerce. Examples Examples and sample programs are for illustration only and may not be suited for your particular purpose.
OSS is a mnemonic for Open System Services. DCE is a mnemonic for Distributed Computing Environment. Copyrights, Trademarks, and Registered Trademarks Copyright © 2002 Compaq Computer Corporation. Compaq, the Compaq logo, Atalla, Deskpro, Enform, Expand, Guardian, Himalaya, Inspect, Integrity, NonStop, NonStop Availability, Presario, ProLiant, ServerNet, SignMaster, SNAX, Tandem, TMF, VLM, and WebSafe Registered in U.S. Patent and Trademark Office.
X Window System is a trademark of the Massachusetts Institute of Technology. CICS Option is a trademark of Micro Focus Ltd. CICS is a trademark of IBM Corporation. Magic Carpet, MIPS, the MIPS logo, MIPSpro, the MIPS RISC Certified Power logo, R2000, R3000, R3010, R4000, the R4000 logo, R4200, R4300, R4300i, R4400, R5000, R5100, R5200, R5300, R5400, R5500, R5600, R5700, R5800, R5900, R6000,R7000,R8000, R10000, and R12000 are trademarks or registered trademarks of MIPS Technologies,Inc.
California. OSF acknowledges the following individuals and institutions for their role in its development: Kenneth C.R.C. Arnold, Gregory S. Couch, Conrad C. Huang, Ed James, Symmetric Computer Systems, Robert Elz. © 1980, 1981, 1982, 1983, 1985, 1986, 1987, 1988, 1989 Regents of the University of California. Oracle® is a registered trademark of Oracle Corporation, Redwood City, California. Oracle Parallel Server(tm) and Oracle7Server(tm) are trademarks of Oracle Corporation, Redwood City, California.
BSD is a trademark of the University of California, Berkeley. Xerox and Ethernet are registered trademarks of Xerox Corporation. All other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Possession, use, or copying of the software described in this publication is authorized only pursuant to a valid written license from Compaq Computer Corporation or an authorized sublicensor.
Compaq NonStop Java Tools Reference Pages Command Tool Name Function extcheck JAR Conflict Detection Tool Detects version conflicts between a target Java Archive (JAR) file and currently installed extension JAR files. jar Java Archive Tool Combines multiple files into a single JAR file and retrieves files from a JAR file. jarsigner JAR Signing and Verification Tool Generates signatures for JAR files and verifies signatures of signed JAR files. java Java Interpreter Executes Java bytecode.
rmic Java RMI Stub Compiler Generates stubs and skeletons for remote objects. rmid Java RMI Activation System Daemon Starts the activation system daemon that allows objects to be registered and activated in a Java Virtual Machine (JVM). rmiregistry Java Remote Object Registry Starts a remote object registry on the specified port on the current host. serialver Serial Version Command Returns the serialVersionUID of one or more classes.
Tools Home Page extcheck: JAR Conflict Detection Tool The extcheck tool detects version conflicts between a target Java Archive (JAR) file and currently installed extension JAR files. For a complete description of the tool and its use, see the Sun Microsystems documentation for extcheck. Synopsis extcheck [ -verbose ] targetfile.jar See Also: jar Tools Home Page NonStop Java Tools Reference Pages (426948-002) Copyright © 2002, Compaq Computer Corporation. All rights reserved.
Tools Home Page jar: Java Archive Tool The jar tool combines multiple files into a single Java Archive (JAR) file or retrieves files from a JAR file. For a complete description of the tool and its use, see the Sun Microsystems documentation for jar. Synopsis jar [ options ] [ jar-file ] [ manifest-file ] [ file | directory ] ... Tools Home Page NonStop Java Tools Reference Pages (425948-002) Copyright © 2002, Compaq Computer Corporation. All rights reserved.
Tools Home Page jarsigner: JAR Signing and Verification Tool The jarsigner tool generates signatures for Java Archive (JAR) files and verifies the signatures of signed JAR files. For a complete description of the tool and its use, see the Sun Microsystems documentation for jarsigner.
Tools Home Page java: Java Interpreter The java interpreter executes Java bytecode. For a complete description of the tool and its use, see the Sun Microsystems documentation for java. NonStop Java also supports oldjava, a limited-feature launcher tool that supports programming techniques that are incompatible with some 1.2 features of Java. That tool is also described in the Sun Microsystems documentation for java.
● javadoc Tools Home Page NonStop Java Tools Reference Pages (425948-002) Copyright © 2002, Compaq Computer Corporation. All rights reserved.
Tools Home Page javac: Java Compiler The javac tool compiles Java source code into bytecode. For a complete description of the tool and its use, see the Sun Microsystems documentation for javac. Synopsis javac [ options ] filename.java ... See Also: ● rmic ● java ● jdb ● javah ● javap ● javadoc Tools Home Page NonStop Java Tools Reference Pages (425948-002) Copyright © 2002, Compaq Computer Corporation. All rights reserved.
Tools Home Page javadoc: Java API Documentation Generator The javadoc tool generates API documentation in HTML or MIF format from Java source code. For a complete description of the tool and its use, see the Sun Microsystems documentation for javadoc. Synopsis javadoc [ options ] { package | class.java } ... See Also: ● javac ● rmic ● java ● jdb ● javah ● javap Tools Home Page NonStop Java Tools Reference Pages (425948-002) Copyright © 2002, Compaq Computer Corporation. All rights reserved.
Tools Home Page javah: C Header and Stub File Generator The javah tool generates C header files and stub C source files from a Java class. These files provide the connections that allow your Java and C code to interact. For a complete description of the tool and its use, see the Sun Microsystems documentation for javah. Synopsis javah [ options ] classname ... Compaq Extensions to Standard Java NonStop Java adds the following option to javah: -nsjversion Prints the Compaq build version.
Tools Home Page javap: Java Class File Disassembler The javap tool disassembles compiled Java files. For a complete description of the tool and its use, see the Sun Microsystems documentation for javap. Synopsis javap [ options ] class ... See Also: ● javac ● rmic ● java ● jdb ● javah ● javadoc Tools Home Page NonStop Java Tools Reference Pages (425948-002) Copyright © 2002, Compaq Computer Corporation. All rights reserved.
Tools Home Page jdb: Java Debugger The jdb tool helps you find and fix errors in Java programs. For a complete description of the tool and its use, see the Sun Microsystems documentation for jdb. Synopsis jdb [ options ] [ class ] [ arguments ] Compaq Specifics The Compaq implementation of the Java Debugger, jdb, differs slightly from the Sun Microsystems implementation. One difference is the way you start a jdb session.
out filename Sets the standard output device to the specified file. sleep milliseconds Puts the debugger to sleep. source [line-number|method] Prints source code (similar to the list command). t [threadID|all] With no argument, dumps the stack of the current thread. With all, dumps the stack of each thread in the current thread group. With threadID, dumps the stack of the specified thread (similar to the where command).
Tools Home Page keytool: Key and Certificate Management Tool The keytool tool manages a database of private keys and their associated X.509 certificate chains authenticating the corresponding public keys. For a complete description of the tool and its use, see the Sun Microsystems documentation for keytool. Synopsis keytool [ commands ] See Also: ● jar ● jarsigner Tools Home Page NonStop Java Tools Reference Pages (425948-002) Copyright © 2002, Compaq Computer Corporation. All rights reserved.
Tools Home Page native2ascii: Native-to-ASCII Converter The native2ascii tool converts a file that has native-encoded characters (characters that are not Latin-1 or Unicode) to a file with Unicode-encoded characters. For a complete description of the tool and its use, see the Sun Microsystems documentation for native2ascii. Synopsis native2ascii [ options ] [ inputfile [ outputfile ] ] Tools Home Page NonStop Java Tools Reference Pages (425948-002) Copyright © 2002, Compaq Computer Corporation.
Tools Home Page rmic: Java RMI Stub Compiler The rmic tool generates stubs and skeletons for remote objects. For a complete description of the tool and its use, see the Sun Microsystems documentation for rmic. Synopsis rmic [ options ] classname ... See Also: ● javac ● rmiregistry Tools Home Page NonStop Java Tools Reference Pages (425948-002) Copyright © 2002, Compaq Computer Corporation. All rights reserved.
Tools Home Page rmid: Java RMI Activation System Daemon The rmid tool starts the activation system daemon that allows objects to be registered and activated in a Java Virtual Machine (JVM). For a complete description of the tool and its use, see the Sun Microsystems documentation for rmid. Synopsis rmid [ options ] See Also: ● java ● rmic Tools Home Page NonStop Java Tools Reference Pages (425948-002) Copyright © 2002, Compaq Computer Corporation. All rights reserved.
Tools Home Page rmiregistry: Java Remote Object Registry The rmiregistry tool starts a remote object registry on the specified port on the current host. For a complete description of the tool and its use, see the Sun Microsystems documentation for rmiregistry. Synopsis rmiregistry [ port ] See Also: ● rmic Tools Home Page NonStop Java Tools Reference Pages (425948-002) Copyright © 2002, Compaq Computer Corporation. All rights reserved.
Tools Home Page serialver: Serial Version Command The serialver tool returns the serialVersionUID of one or more classes. For a complete description of the tool and its use, see the Sun Microsystems documentation for serialver. Synopsis serialver [ option ] [ classname ... ] Tools Home Page NonStop Java Tools Reference Pages (425948-002) Copyright © 2002, Compaq Computer Corporation. All rights reserved.
Tools Home Page tnameserv: Naming Service Access The tnameserv tool starts the Java Interface Definition Language (IDL) name server to provide access to the CORBA Common Object Services (COS) Naming Service. For a complete description of the tool and its use, see the Sun Microsystems documentation for Naming Service. Synopsis tnameserv [ -ORBInitialPort n ] Tools Home Page NonStop Java Tools Reference Pages (425948-002) Copyright © 2002, Compaq Computer Corporation. All rights reserved.