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.
-idlFile
package
[.class
]file
Provide an IDLEntity file mapping from Java package package to IDL module file. Use with
-idl
only.-idlModule
package
[.class
]module
Provide an IDLEntity package mapping from Java ...
Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.