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

jpackager --main-jar should use Main-Class attribute as default if present

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • internal
    • internal
    • tools
    • None

      If the main jar file, as specified by 'jpackager --main-jar', has a Main-Class attribute, then the '--class' argument should be optional, and default to the Main-Class of the main jar.

      This is a "nice to have" and could be considered an RFE rather than a bug.

            herrick Andy Herrick (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: