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

JAR manifest has no entries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • tools
    • jar
    • x86
    • windows_nt



      Name: chT40241 Date: 01/26/99


      The JAR tool included with JDK1.2 creates manifest files with no entries. To replicate the problem, change directory on a DOS prompt to any directory that contains .class files. Then issue this command: jar cvf ABC.jar *.class
      Extract the manifest file from ABC.jar and browse it in a text editor. The following is all you will see:

      Manifest-Version: 1.0
      Created-By: 1.2 (Sun Microsystems Inc.)

      There should also be some information in the manifest of this sort for each class in the JAR file:

      Name: ABC.class
      Digest-Algorithms: SHA MD5
      SHA-Digest: GhSlE6MZuf/rcyagO2Am+pHMsqU=
      MD5-Digest: ZnAJYRyxOo1JQkHUB9DK/w==
      ======================================================================

            zlisunw Zhenghua Li (Inactive)
            chickeysunw Chuck Hickey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: