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

Provide better help message for javac -h case

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 9
    • tools
    • None

      Use of javac -h to specify output directory for native headers is quite confusing.

      #/jdk/bin/javac -h
      javac: -h requires an argument
      Usage: javac <options> <source files>
      use --help for a list of possible options

      #/jdk/bin/javac -h bootclasspath
      javac: no source files

            Unassigned Unassigned
            dsamersoff Dmitriy Samersoff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: