This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I created a manifest file for javabean and I am trying to include it in the jar with the jar option (m), but I am getting the following Exception. Some one please help me.
D:\vishnu\java\corejava>jar cfm ch.jar c1.mft
java.io.IOException: invalid header field at java.util.jar.Attributes.read(Attributes.java:387) at java.util.jar.Manifest.read(Manifest.java:167) at java.util.jar.Manifest.<init>(Manifest.java:52) at sun.tools.jar.Main.run(Main.java:124) at sun.tools.jar.Main.main(Main.java:904)