Skip to content

Commit 015cfda

Browse files
committed
8262004: Classpath separator: Man page says semicolon; should be colon on Linux
Reviewed-by: dholmes
1 parent 9425ab2 commit 015cfda

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

src/java.base/share/man/java.1

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -467,10 +467,13 @@ and file name of the library.
467467
.RE
468468
.TP
469469
.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]
470-
A semicolon (\f[CB];\f[R]) separated list of directories, JAR archives,
471-
and ZIP archives to search for class files.
470+
Specifies a list of directories, JAR archives, and ZIP archives to search
471+
for class files.
472472
.RS
473473
.PP
474+
On Windows, semicolons (\f[CB];\f[R]) separate entities in this list;
475+
on other platforms it is a colon (\f[CB]:\f[R]).
476+
.PP
474477
Specifying \f[I]classpath\f[R] overrides any setting of the
475478
\f[CB]CLASSPATH\f[R] environment variable.
476479
If the class path option isn\[aq]t used and \f[I]classpath\f[R] isn\[aq]t
@@ -522,16 +525,21 @@ invoked.
522525
.RE
523526
.TP
524527
.B \f[CB]\-\-module\-path\f[R] \f[I]modulepath\f[R]... or \f[CB]\-p\f[R] \f[I]modulepath\f[R]
525-
A semicolon (\f[CB];\f[R]) separated list of directories in which each
526-
directory is a directory of modules.
528+
Specifies a list of directories in which each directory is a directory
529+
of modules.
527530
.RS
531+
.PP
532+
On Windows, semicolons (\f[CB];\f[R]) separate directories in this list;
533+
on other platforms it is a colon (\f[CB]:\f[R]).
528534
.RE
529535
.TP
530536
.B \f[CB]\-\-upgrade\-module\-path\f[R] \f[I]modulepath\f[R]...
531-
A semicolon (\f[CB];\f[R]) separated list of directories in which each
532-
directory is a directory of modules that replace upgradeable modules in
533-
the runtime image.
537+
Specifies a list of directories in which each directory is a directory
538+
of modules that replace upgradeable modules in the runtime image.
534539
.RS
540+
.PP
541+
On Windows, semicolons (\f[CB];\f[R]) separate directories in this list;
542+
on other platforms it is a colon (\f[CB]:\f[R]).
535543
.RE
536544
.TP
537545
.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
794802
to the end of the default bootstrap class path.
795803
.RS
796804
.PP
797-
\f[B]Linux and macOS:\f[R] Colons (\f[CB]:\f[R]) separate entities in this
798-
list.
799-
.PP
800-
\f[B]Windows:\f[R] Semicolons (\f[CB];\f[R]) separate entities in this
801-
list.
805+
On Windows, semicolons (\f[CB];\f[R]) separate entities in this list;
806+
on other platforms it is a colon (\f[CB]:\f[R]).
802807
.RE
803808
.TP
804809
.B \f[CB]\-Xcheck:jni\f[R]

0 commit comments

Comments
 (0)