I am a beginner so please be patient :-)
I have a simple java program. I am trying to make a .jar archive for downloading so my buddy can get it and see my beautiful work. Somehow it does not work. I have looked thru the java tutorial and most of the docs about jar and still stumped.
I use the command:
jar cvfm [myjarfile] [manifestfile] files
and can make the .jar ok but it does not change the manifest to show where the main class is. My manifest file is a single-line text file with "Main-Class: theclass" so please help. I don't know why it won't work.
Thanks.