Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8141575

'man java' doesn't mention -classpath

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 8u60, 9
    • docs
    • None
    • Verified

      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')

            ssatish Savitha Satish
            omajid Omair Majid
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: