When i try to run the following command :
jar cvfm myjar.jar manifest.txt *.class
I get the following exceptions :
java.io.IOException: invalid header field
at java.util.jar.Attributes.read(Attributes.java:410)
at java.util.jar.Manifest.read(Manifest.java:199)
at java.util.jar.Manifest.<init>(Manifest.java:69)
at sun.tools.jar.Main.run(Main.java:171)
at sun.tools.jar.Main.main(Main.java:1176)
What could be the reason i am getting these exceptions ?