src/jdk.rmic/share/man/rmic.1
author jjg
Thu, 11 Jul 2019 12:13:52 -0700
changeset 55666 340d73f42b3c
parent 55205 ef23ea332077
child 58679 9c3209ff7550
permissions -rw-r--r--
8227602: Update nroff version of man pages Reviewed-by: mchung
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
     1
.\" Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     2
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     3
.\"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     4
.\" This code is free software; you can redistribute it and/or modify it
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     5
.\" under the terms of the GNU General Public License version 2 only, as
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     6
.\" published by the Free Software Foundation.
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     7
.\"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     8
.\" This code is distributed in the hope that it will be useful, but WITHOUT
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     9
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    10
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    11
.\" version 2 for more details (a copy is included in the LICENSE file that
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    12
.\" accompanied this code).
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    13
.\"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    14
.\" You should have received a copy of the GNU General Public License version
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    15
.\" 2 along with this work; if not, write to the Free Software Foundation,
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    16
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    17
.\"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    18
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    19
.\" or visit www.oracle.com if you need additional information or have any
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    20
.\" questions.
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    21
.\"
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    22
.\" Automatically generated by Pandoc 2.3.1
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 14342
diff changeset
    23
.\"
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    24
.TH "RMIC" "1" "2018" "JDK 13" "JDK Commands"
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    25
.hy
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    26
.SH NAME
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    27
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    28
rmic \- generate stub and skeleton class files using the Java Remote
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    29
Method Protocol (JRMP)
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    30
.SH SYNOPSIS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    31
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    32
\f[CB]rmic\f[R] [\f[I]options\f[R]]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    33
\f[I]package\-qualified\-class\-names\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    34
.TP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    35
.B \f[I]options\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    36
This represent the command\-line \f[CB]options\f[R] for the\f[CB]rmic\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    37
compiler.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    38
See \f[B]Options for the rmic Compiler\f[R].
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    39
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    40
.RE
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    41
.TP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    42
.B \f[I]package\-qualified\-class\-names\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    43
Class names that include their packages, for example,
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    44
\f[CB]java.awt.Color\f[R].
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    45
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    46
.RE
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    47
.SH DESCRIPTION
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    48
.PP
55666
340d73f42b3c 8227602: Update nroff version of man pages
jjg
parents: 55205
diff changeset
    49
\f[B]Deprecation Note:\f[R] The rmic tool has been deprecated and is
340d73f42b3c 8227602: Update nroff version of man pages
jjg
parents: 55205
diff changeset
    50
subject to removal in a future release.
340d73f42b3c 8227602: Update nroff version of man pages
jjg
parents: 55205
diff changeset
    51
Support for static generation of Java Remote Method Protocol (JRMP)
340d73f42b3c 8227602: Update nroff version of man pages
jjg
parents: 55205
diff changeset
    52
stubs and skeletons has been deprecated.
340d73f42b3c 8227602: Update nroff version of man pages
jjg
parents: 55205
diff changeset
    53
Applications should use dynamically generated JRMP stubs, eliminating
340d73f42b3c 8227602: Update nroff version of man pages
jjg
parents: 55205
diff changeset
    54
the need to use the rmic tool for JRMP\-based applications.
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    55
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    56
The \f[CB]rmic\f[R] compiler generates stub and skeleton class files using
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    57
the JRMP.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    58
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    59
\f[B]Note:\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    60
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    61
The rmic compiler has been updated to remove the \f[CB]\-idl\f[R] and
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    62
\f[CB]\-iiop\f[R] options and can no longer generate IDL or IIOP stubs and
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    63
tie classes.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    64
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    65
JRMP class files are generated from compiled Java programming language
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    66
classes that are remote object implementation classes.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    67
A remote implementation class is a class that implements the interface
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    68
\f[CB]java.rmi.Remote\f[R].
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    69
The class names in the \f[CB]rmic\f[R] command must be for classes that
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    70
were compiled successfully with the \f[CB]javac\f[R] command and must be
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    71
fully package qualified.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    72
For example, running the \f[CB]rmic\f[R] command on the class file name
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    73
\f[CB]HelloImpl\f[R] as shown here creates the
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    74
\f[CB]HelloImpl_Stub.class\f[R] file in the \f[CB]hello\f[R] subdirectory
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    75
(named for the class\[aq]s package):
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    76
.RS
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 14342
diff changeset
    77
.PP
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    78
\f[CB]rmic\ hello.HelloImpl\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    79
.RE
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    80
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    81
A skeleton for a remote object is a JRMP protocol server\-side entity
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    82
that has a method that dispatches calls to the remote object
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    83
implementation.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    84
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    85
A stub is a client\-side proxy for a remote object that\[aq]s
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    86
responsible for communicating method invocations on remote objects to
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    87
the server where the actual remote object implementation resides.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    88
A client\[aq]s reference to a remote object, therefore, is actually a
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    89
reference to a local stub.
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 14342
diff changeset
    90
.PP
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    91
By default, the \f[CB]rmic\f[R] command generates stub classes that use
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    92
the 1.2 JRMP stub protocol version only, as though the \f[CB]\-v1.2\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    93
option were specified.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    94
See \f[B]Options for the rmic Compiler\f[R].
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 14342
diff changeset
    95
.PP
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    96
A stub implements only the remote interfaces, and not local interfaces
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    97
that the remote object also implements.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    98
Because a JRMP stub implements the same set of remote interfaces as the
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    99
remote object, a client can use the Java programming language built\-in
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   100
operators for casting and type checking.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   101
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   102
\f[B]Note:\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   103
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   104
The rmic compiler does not support reading of class files that have been
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   105
compiled with the \f[CB]\-\-enable\-preview\f[R] option, nor does it
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   106
support generation of stub or skeleton classes that have preview
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   107
features enabled.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   108
.SH OPTIONS FOR THE RMIC COMPILER
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 14342
diff changeset
   109
.TP
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   110
.B \f[CB]\-bootclasspath\f[R] \f[I]path\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   111
Overrides the location of bootstrap class files.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   112
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   113
.RE
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 14342
diff changeset
   114
.TP
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   115
.B \f[CB]\-classpath\f[R] \f[I]path\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   116
Specifies the path the \f[CB]rmic\f[R] command uses to look up classes.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   117
This option overrides the default or the \f[CB]CLASSPATH\f[R] environment
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   118
variable when it is set.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   119
Directories are separated by colons or semicolons, depending on your
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   120
operating system.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   121
The following is the general format for \f[I]path\f[R]:
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   122
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   123
.IP \[bu] 2
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   124
\f[B]Oracle Solaris, Linux, and OS X:\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   125
\f[CB]\&.:\f[R]\f[I]your_path\f[R], for example:
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   126
\f[CB]\&.:/usr/local/java/classes\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   127
.IP \[bu] 2
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   128
\f[B]Windows:\f[R] \f[CB]\&.;\f[R]\f[I]your_path\f[R], for example:
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   129
\f[CB]\&.;/usr/local/java/classes\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   130
.RE
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 14342
diff changeset
   131
.TP
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   132
.B \f[CB]\-d\f[R] \f[I]directory\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   133
Specifies the root destination directory for the generated class
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   134
hierarchy.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   135
You can use this option to specify a destination directory for the stub,
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   136
skeleton, and tie files.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   137
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   138
.IP \[bu] 2
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   139
\f[B]Oracle Solaris, Linux, and OS X:\f[R] For example, the following
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   140
command places the stub and skeleton classes derived from
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   141
\f[CB]MyClass\f[R] into the directory \f[CB]/java/classes/exampleclass\f[R]:
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   142
.RS 2
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   143
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   144
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   145
\f[CB]rmic\ \-d\ /java/classes\ exampleclass.MyClass\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   146
.RE
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   147
.RE
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   148
.IP \[bu] 2
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   149
\f[B]Windows:\f[R] For example, the following command places the stub and
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   150
skeleton classes derived from \f[CB]MyClass\f[R] into the directory
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   151
\f[CB]C:\\java\\classes\\exampleclass\f[R]:
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   152
.RS 2
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   153
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   154
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   155
\f[CB]rmic\ \-d\ C:\\java\\classes\ exampleclass.MyClass\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   156
.RE
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   157
.RE
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   158
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   159
If the \f[CB]\-d\f[R] option isn\[aq]t specified, then the default
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   160
behavior is as though \f[CB]\-d\f[R] was specified.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   161
The package hierarchy of the target class is created in the current
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   162
directory, and stub/tie/skeleton files are placed within it.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   163
.RE
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   164
.TP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   165
.B \f[CB]\-g\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   166
Enables the generation of all debugging information, including local
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   167
variables.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   168
By default, only line number information is generated.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   169
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   170
.RE
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   171
.TP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   172
.B \f[CB]\-J\f[R]\f[I]argument\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   173
Used with any Java command, the \f[CB]\-J\f[R] option passes the
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   174
\f[I]argument\f[R] that follows it (no spaces between the \f[CB]\-J\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   175
and the argument) to the Java interpreter.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   176
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   177
.RE
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   178
.TP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   179
.B \f[CB]\-keep\f[R] or \f[CB]\-keepgenerated\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   180
Retains the generated \f[CB]\&.java\f[R] source files for the stub,
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   181
skeleton, and tie classes and writes them to the same directory as
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   182
the\f[CB]\&.class\f[R] files.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   183
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   184
.RE
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   185
.TP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   186
.B \f[CB]\-nowarn\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   187
Turns off warnings.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   188
When the \f[CB]\-nowarn\f[R] options is used, the compiler doesn\[aq]t
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   189
print warnings.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   190
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   191
.RE
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   192
.TP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   193
.B \f[CB]\-nowrite\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   194
Doesn\[aq]t write compiled classes to the file system.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   195
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   196
.RE
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 14342
diff changeset
   197
.TP
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   198
.B \f[CB]\-vcompat\f[R] (deprecated)
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   199
Generates stub and skeleton classes that are compatible with both the
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   200
1.1 and 1.2 JRMP stub protocol versions.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   201
This option was the default in releases before 5.0.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   202
The generated stub classes use the 1.1 stub protocol version when loaded
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   203
in a JDK 1.1 virtual machine and use the 1.2 stub protocol version when
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   204
loaded into a 1.2 (or later) virtual machine.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   205
The generated skeleton classes support both 1.1 and 1.2 stub protocol
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   206
versions.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   207
The generated classes are relatively large to support both modes of
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   208
operation.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   209
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   210
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   211
\f[B]Note:\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   212
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   213
This option has been deprecated.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   214
See \f[B]Description\f[R].
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   215
.RE
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 14342
diff changeset
   216
.TP
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   217
.B \f[CB]\-verbose\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   218
Causes the compiler and linker to print messages about what classes are
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   219
being compiled and what class files are being loaded.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   220
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   221
.RE
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 14342
diff changeset
   222
.TP
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   223
.B \f[CB]\-v1.1\f[R] (deprecated)
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   224
Generates stub and skeleton classes for the 1.1 JRMP stub protocol
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   225
version only.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   226
The \f[CB]\-v1.1\f[R] option is useful only for generating stub classes
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   227
that are serialization\-compatible with existing, statically deployed
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   228
stub classes generated by the \f[CB]rmic\f[R] command from JDK 1.1 that
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   229
can\[aq]t be upgraded (and dynamic class loading isn\[aq]t being used).
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   230
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   231
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   232
\f[B]Note:\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   233
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   234
This option has been deprecated.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   235
See \f[B]Description\f[R].
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   236
.RE
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 14342
diff changeset
   237
.TP
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   238
.B \f[CB]\-v1.2\f[R] (deprecated)
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   239
(Default) Generates stub classes for the 1.2 JRMP stub protocol version
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   240
only.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   241
No skeleton classes are generated because skeleton classes aren\[aq]t
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   242
used with the 1.2 stub protocol version.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   243
The generated stub classes don\[aq]t work when they\[aq]re loaded into a
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   244
JDK 1.1 virtual machine.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   245
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   246
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   247
\f[B]Note:\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   248
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   249
This option has been deprecated.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   250
See \f[B]Description\f[R].
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
   251
.RE
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   252
.SH ENVIRONMENT VARIABLES
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   253
.TP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   254
.B \f[CB]CLASSPATH\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   255
Used to provide the system a path to user\-defined classes.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   256
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   257
.IP \[bu] 2
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   258
\f[B]Oracle Solaris, Linux, and OS X:\f[R] Directories are separated by
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   259
colons, for example: \f[CB]\&.:/usr/local/java/classes\f[R].
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   260
.IP \[bu] 2
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   261
\f[B]Windows:\f[R] Directories are separated by colons, for example:
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   262
\f[CB]\&.;C:\\usr\\local\\java\\classes\f[R].
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
   263
.RE