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

can't create jar file with just a manifest

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.2.2
    • 1.2.0
    • tools
    • None
    • jar
    • 1.2.2
    • generic
    • generic

      I want to create a jar file that simply has a manifest with a Class-Path attribute that points to other jar files, but the jar command requires me to supply a dummy empty directory on the command line.

      % jar cfm foo.jar manifest
      'c' flag requires that input files be specified!

            zlisunw Zhenghua Li (Inactive)
            bscheiflsunw Bob Scheifler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: