[kaffe] Jar files in 1.1.3?

Dalibor Topic robilad@kaffe.org
Wed Dec 10 04:56:02 2003


Hi Mason,

Mason Loring Bliss wrote:
> Hey, all.
> 
> In trying to make a simple Jar file, I get this:
> 
> jar cmf wheretostart.txt helloworld.jar helloworld.class
> java.util.jar.JarException: Attributes cannot be called 'Name'
>    at java.util.jar.Manifest.write_attribute_entry (Manifest.java:404)
>    at java.util.jar.Manifest.write_entry_attributes (Manifest.java:436)
>    at java.util.jar.Manifest.write_individual_sections (Manifest.java:424)
>    at java.util.jar.Manifest.write (Manifest.java:325)
>    at java.util.jar.JarOutputStream.writeManifest (JarOutputStream.java:98)
>    at java.util.jar.JarOutputStream.<init> (JarOutputStream.java:81)
>    at kaffe.tools.jar.Jar.createJar (Jar.java:1088)
>    at kaffe.tools.jar.Jar.processJar (Jar.java:404)
>    at kaffe.tools.jar.Jar.start (Jar.java:64)
>    at kaffe.tools.jar.Jar.main (Jar.java:43)
> *** Error code 2
> 
> Stop.
> 
> There is no occurance of 'Name' anywhere in my source or Makefile. Also,
> this operation works fine with Sun's JDK. I'm running Kaffe 1.1.3 under
> NetBSD 1.6.2_RC3.

I think it complains about the contents of the manifest file. Could you 
post wheretostart.txt?

cheers,
dalibor topic