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

jar tool should have a way to extract to a directory

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd_major
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
      jar

      Description

      The `jar` tool lacks the ability to extract the contents of a JAR file to a directory. Tools such as `unzip` allow for usages such as `unzip foo.zip -d classes` to extract the contents to a directory (creating it if needed).

      JDK-6350735 is an older issue in the same area except that it proposed using -C which is the option when creating JAR files.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: