Howdy, Akhter!
Well champ, that's possible by creating a file called MANIFEST.MF inside a directory called META-INF in the root of your .jar file. For more information, please take a look at the
Working with Manifest Files tutorial.
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD