জাবা প্রোগ্রামিং পর্ব-২৪ (How to Make a jar file using jar command ?)



How to Make a jar file using jar command ?

Step1: Compile your java file 
command: javac HelloWorldSwing.java

Step2: Create a manifest file containing your main class name
I have added a 
Example: Main-Class: HelloWorldSwing

Step3: Make jar file by command
command: jar -cvfm MyJarName.jar manifest.txt *.class

By Clicking on MyJarName.jar

N.B. :
Jar command video download link : Click for download
Some Java Programming Exercise Download Link : Click for download
 


Loading
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Flying Twitter Bird Widget By ICT Sparkle