Jar files

Orsorum

Lifer
Dec 26, 2001
27,631
5
81
'K, is there someone who can give me a simple explanation of how to make a .jar file out of several .java files? I've read several of the tutorials, and I'm just more confused... any suggestions?
 

AmigaMan

Diamond Member
Oct 12, 1999
3,644
1
0
run this at the command line:
jar -cf name.jar dirname

where name.jar is the name of the jar file you want to use and dirname is the name of the directory you want to jar up.