home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


rmic

/usr/java/bin/rmic [options ] classes

Solaris only. Remote Method Invocation compiler for Java. rmic takes the fully package-qualified class names and generates skeleton and stub class files to provide remote method invocation. The class must have previously been successfully compiled with java .

For a method WhizImpl in class whiz , rmic creates two files, WhizImpl_Skel.class and WhizImpl_Stub.class . The "skeleton" file implements the server side of the RMI; the "stub" file implements the client side.

Options

-classpath path

Use path as the search path for class files, overriding $CLASSPATH . path is a colon-separated list of directories.

-d dir

Place the generated files in dir .

-depend

Recompile missing or out-of-date class files referenced from other class files, not just from source code.

-g

Generate debugging tables with line numbers. With -O , also generate information about local variables.

-keepgenerated

Keep the generated .java source files for the skeletons and the stubs.

-nowarn

Disable all warnings.

-O

Perform optimizations that may produce faster but larger class files. It may also slow down compilation. This option should be used with discretion.

-show

Use the GUI for the RMI compiler to enter class names.

-verbose

Print messages as files are compiled and loaded.


Previous: Reference: rmdir UNIX in a Nutshell: System V Edition Next: Reference: rmiregistry
Reference: rmdir Book Index Reference: rmiregistry

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System