jar cfm MyJar.jar Manifest.txt MyPackage/*.class
[I]209-181-58-139:~/JavaProjects/Klamath.net bobber205$ jar cvfm Manifest.mf *[/I]
java.io.FileNotFoundException: Classes (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.tools.jar.Main.run(Main.java:122)
at sun.tools.jar.Main.main(Main.java:903)
[I]209-181-58-139:~/JavaProjects/Klamath.net bobber205$ jar cvfm Manifest.mf *.class[/I]
java.io.IOException: invalid header field
at java.util.jar.Attributes.read(Attributes.java:389)
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)
at sun.tools.jar.Main.main(Main.java:903)
209-181-58-139:~/JavaProjects/Klamath.net bobber205$
209-181-58-139:~/JavaProjects/Klamath.net bobber205$ jar cmfv Manifest.mf example.jar *.class
added manifest
adding: KlamathWebCam$mainCanvas.class(in = 8325) (out= 7458)(deflated 10%)
adding: KlamathWebCam$refreshAction.class(in = 1240) (out= 666)(deflated 46%)
adding: KlamathWebCam$startUpdating.class(in = 1382) (out= 814)(deflated 41%)
adding: KlamathWebCam$startUpdatingThread.class(in = 1337) (out= 782)(deflated 41%)
adding: KlamathWebCam$stopAction.class(in = 1373) (out= 746)(deflated 45%)
adding: KlamathWebCam.class(in = 3867) (out= 2017)(deflated 47%)
adding: KlamathWebCamOLD.class(in = 1834) (out= 947)(deflated 48%)
adding: MainCanvas.class(in = 702) (out= 462)(deflated 34%)
adding: refreshAction.class(in = 628) (out= 389)(deflated 38%)
Exception in thread "main" java.lang.NoClassDefFoundError: KlamathWebCam$MainCanvas