[kaffe] bug in jar (ZipException thrown)

Moses DeJong dejong at cs.umn.edu
Sat Dec 26 18:57:34 PST 1998


The jar utility seems to have some problems (Aside from the fact that
the sun classes.zip must also be included in the CLASSPATH).

When I try to jar up a simple file I get this error.

% setenv CLASSPATH /tmp/mo/install_kaffe/share/kaffe/Klasses.jar:/soft/java/JDK-1.1.6/lib/classes.zip

% /tmp/mo/install_kaffe/bin/jar -cf Test.jar Test.class
security properties not found. using defaults.
java.util.zip.ZipException: size not set in stored entry
        at java/lang/Throwable.<init>(37)
        at java/lang/Exception.<init>(21)
        at java/io/IOException.<init>(22)
        at java/util/zip/ZipException.<init>(24)
        at java/util/zip/ZipOutputStream.putNextEntry(201)
        at sun/tools/jar/Main.create(261)
        at sun/tools/jar/Main.run(97)
        at sun/tools/jar/Main.main(524)


I hope that helps
mo dejong
dejong at cs.umn.edu



More information about the kaffe mailing list