Unable to create JAR file
Hello, all.
I created a manifest file calledmanifest.txt for creating JAR file, which contains following line:
Main-Class: photoFusion.GUI.MainFrame
And I carefully added a new line at the end of that file.
So when I at the directory which contains:
manifest.txt
photoFusion/
Data/
I typed
jar cvfm PhotoFusion.jar manifest.txt ./
following error appears:
java.io.IOException: invalid header field
at java.util.jar.Attributes.read(Attributes.java:393)
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:123)
Can anybody give me a hand? thanks a lot!!
at sun.tools.jar.Main.main(Main.java:903)

