I have 5
java classes that talk to each in a single directory called APRogram. I seem to be able to jar them. The command I used in Linux is:
jar cvf AProgram.jar mani.txt MainProgram.class Class1.class Class2.class Class3.class Class4.class
I have followed the instructions found on sun';s website but when i try and execute the jar file it says:
Failed to load Main-Class manifest attribute from
AProgram.jar
I did create a manifest (called mani.txt above) in the same directory that containd the lines:
Main-Class: AProgram
[carriage return]
Any ideas? Do I need to define some package or something at the top of each class file?
Cheers
[ April 26, 2006: Message edited by: Sam Bluesman ]