Various man pages and related documentation for the 'java' command don't mention -classpath or -cp.
Compare the Java 7 html version of the man page (http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/java.html) with this one from Java 8 (http://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html). Neither -classpath nor -cp is present in the 8 version.
I can see this issue in the following files in the jdk8u/jdk8u/ forest:
./jdk/src/solaris/doc/sun/man/man1/java.1
./jdk/src/solaris/doc/sun/man/man1/ja/java.1
./jdk/src/linux/doc/man/java.1
./jdk/src/linux/doc/man/ja/java.1
./jdk/src/bsd/doc/man/java.1
(aside: ./jdk/src/bsd/doc/man/ja/java.1 looks empty when rendered using 'man')
Compare the Java 7 html version of the man page (http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/java.html) with this one from Java 8 (http://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html). Neither -classpath nor -cp is present in the 8 version.
I can see this issue in the following files in the jdk8u/jdk8u/ forest:
./jdk/src/solaris/doc/sun/man/man1/java.1
./jdk/src/solaris/doc/sun/man/man1/ja/java.1
./jdk/src/linux/doc/man/java.1
./jdk/src/linux/doc/man/ja/java.1
./jdk/src/bsd/doc/man/java.1
(aside: ./jdk/src/bsd/doc/man/ja/java.1 looks empty when rendered using 'man')
- duplicates
-
JDK-8204150 man page for java does not mention the -classpath option
-
- Closed
-