O'Reilly logo

Unix in a Nutshell, 4th Edition by Arnold Robbins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

rmic

Synopsis

    rmic [options]classes

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 classes 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

-always, -alwaysgenerate

Always generate code, even if the existing IDL files are newer than the input class. Use with -idl or -iiop only.

-bootclasspath path

Use the colon-separated list of directories in path for the boot classes, instead of the boot classes used by the java command itself.

-classpath path

Use the colon-separated list of directories in path instead of $CLASSPATH to find class files. It is usually a good idea to have the current directory (".") on the search path.

-d dir

Place the generated files in dir.

-extdirs dirs

For cross-compilation, use the specified dirs as the extension directories.

-factory

Use the factory keyword in the IDL. Use with -idl only.

-g

Generate all debugging information, instead of just line numbers.

-idl

Generate OMG IDL for the specified classes.

-idlFilepackage[.class] file

Provide an IDLEntity file mapping from Java package package to IDL module file. Use with -idl only.

-idlModulepackage[.class] module

Provide an IDLEntity package mapping from Java ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required