Friday, April 16, 2010

Create Executeble jar file

Step 1: Create one .mf file in notepad.
 e.g. myfile.mf and write following with one blank line
 (i) Manifest-Version: 1.0
 (ii) Main-Class: packageName.MyBeginingClass
 (iii)
Step 2: jar cvmf myfile.mf jarFile.jar *.class






--
Amit Ranjan
Java developer
.............................
P please consider the environment before printing this e-mail-- SAVE PAPER!

1 comment: