How do I make a .jar file
I want to put 4 classes and a data file into one java archive. I know I have to make a manifest file and put the main class in it. This is the one I made...
Manifest.mf:Manifest-Version: 1.0
Main-Class: Main
(creative name huh)
and I use this command line to make the jar file
jar cvfm Start.jar Manifest.mf .
but I get an error that says "Failed to load Main-Class manifest attribute fromblah blah blah"
[455 byte] By [
Galm_1a] at [2007-11-27 5:16:16]

> but I get an error that says "Failed to load Main-Class manifest attribute from blah blah blah"
Is this the error you get when you try to run the application from the jar? Look inside the jar (you can use a zip utility) -- what are the contents? Is Main.class in there?
Also, make sure your manifest.mf's last line ends with a new-line. JAR is picky about that. I usually throw in a few extras.