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==
======================================================================
- duplicates
-
JDK-4160559 JAR tool does not generate any manifest entries at all for the files specified.
-
- Closed
-