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 is the reason that I get these exceptions?
source share