Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

writing manifest files for jar files

16 views
Skip to first unread message

William Ryan Kreamer

unread,
Aug 12, 1999, 3:00:00 AM8/12/99
to
Hi, I'm trying to write a manifest file so that I can create an
executable jar file. I gleaned some info on the specification for
manifest files from
http://java.sun.com/products/jdk/1.2/docs/guide/jar/manifest.html
but I keep getting an error when I attempt to create the archive.

java.io.IOException: invalid manifest format
at java.util.jar.Manifest.read(Manifest.java:183)
at java.util.jar.Manifest.<init>(Manifest.java:59)
at sun.tools.jar.Main.run(Main.java:124)
at sun.tools.jar.Main.main(Main.java:778)

Can someone please post an example of a manifest file that they know
works?

Thanks, Bill


Chris Pilsworth

unread,
Aug 13, 1999, 3:00:00 AM8/13/99
to
Hi Bill,
This works, is very basic however should point you in the right direction in
terms of formatting. I got an error similar to yours when I was putting the
wrong separators between key and value.


Regards,


Chris

MANIFEST.MF
0 new messages