8262004: Classpath separator: Man page says semicolon; should be colon on Linux

Reviewed-by: dholmes
This commit is contained in:
Adam Sotona 2022-05-06 06:00:22 +00:00
parent 9425ab2b43
commit 015cfda8e1

View file

@ -467,10 +467,13 @@ and file name of the library.
.RE .RE
.TP .TP
.B \f[CB]\-\-class\-path\f[R] \f[I]classpath\f[R], \f[CB]\-classpath\f[R] \f[I]classpath\f[R], or \f[CB]\-cp\f[R] \f[I]classpath\f[R] .B \f[CB]\-\-class\-path\f[R] \f[I]classpath\f[R], \f[CB]\-classpath\f[R] \f[I]classpath\f[R], or \f[CB]\-cp\f[R] \f[I]classpath\f[R]
A semicolon (\f[CB];\f[R]) separated list of directories, JAR archives, Specifies a list of directories, JAR archives, and ZIP archives to search
and ZIP archives to search for class files. for class files.
.RS .RS
.PP .PP
On Windows, semicolons (\f[CB];\f[R]) separate entities in this list;
on other platforms it is a colon (\f[CB]:\f[R]).
.PP
Specifying \f[I]classpath\f[R] overrides any setting of the Specifying \f[I]classpath\f[R] overrides any setting of the
\f[CB]CLASSPATH\f[R] environment variable. \f[CB]CLASSPATH\f[R] environment variable.
If the class path option isn\[aq]t used and \f[I]classpath\f[R] isn\[aq]t If the class path option isn\[aq]t used and \f[I]classpath\f[R] isn\[aq]t
@ -522,16 +525,21 @@ invoked.
.RE .RE
.TP .TP
.B \f[CB]\-\-module\-path\f[R] \f[I]modulepath\f[R]... or \f[CB]\-p\f[R] \f[I]modulepath\f[R] .B \f[CB]\-\-module\-path\f[R] \f[I]modulepath\f[R]... or \f[CB]\-p\f[R] \f[I]modulepath\f[R]
A semicolon (\f[CB];\f[R]) separated list of directories in which each Specifies a list of directories in which each directory is a directory
directory is a directory of modules. of modules.
.RS .RS
.PP
On Windows, semicolons (\f[CB];\f[R]) separate directories in this list;
on other platforms it is a colon (\f[CB]:\f[R]).
.RE .RE
.TP .TP
.B \f[CB]\-\-upgrade\-module\-path\f[R] \f[I]modulepath\f[R]... .B \f[CB]\-\-upgrade\-module\-path\f[R] \f[I]modulepath\f[R]...
A semicolon (\f[CB];\f[R]) separated list of directories in which each Specifies a list of directories in which each directory is a directory
directory is a directory of modules that replace upgradeable modules in of modules that replace upgradeable modules in the runtime image.
the runtime image.
.RS .RS
.PP
On Windows, semicolons (\f[CB];\f[R]) separate directories in this list;
on other platforms it is a colon (\f[CB]:\f[R]).
.RE .RE
.TP .TP
.B \f[CB]\-\-add\-modules\f[R] \f[I]module\f[R][\f[CB],\f[R]\f[I]module\f[R]...] .B \f[CB]\-\-add\-modules\f[R] \f[I]module\f[R][\f[CB],\f[R]\f[I]module\f[R]...]
@ -794,11 +802,8 @@ Specifies a list of directories, JAR files, and ZIP archives to append
to the end of the default bootstrap class path. to the end of the default bootstrap class path.
.RS .RS
.PP .PP
\f[B]Linux and macOS:\f[R] Colons (\f[CB]:\f[R]) separate entities in this On Windows, semicolons (\f[CB];\f[R]) separate entities in this list;
list. on other platforms it is a colon (\f[CB]:\f[R]).
.PP
\f[B]Windows:\f[R] Semicolons (\f[CB];\f[R]) separate entities in this
list.
.RE .RE
.TP .TP
.B \f[CB]\-Xcheck:jni\f[R] .B \f[CB]\-Xcheck:jni\f[R]