Following steps are used to create executable jar file in java:
Step 1:
Go to your project Location like ,
E:\Home_Kernel Software>
Step 2:
Set your path execute following:
E:\Home_Kernel Software>
path C:\Program Files\Java\jdk1.6.0\bin; %path%
Step 3 :
Compile your all project related java files:
E:\Home_Kernel Software>Javac *.java
Or
E:\Home_Kernel Software>Javac Home_Kernel.java
Step 4:
Create a file Having Name MANIFEST.MF in your project directory having following content:
Manifest-Version: 1.0
Main-Class: Home_Kernel
Created-By: 1.6.0-rc (Sun Microsystems Inc.)
Step 5:
Run following command in command prompt:
E:\Home_Kernel Software>jar cvfm Home_Kernel.jar MANIFEST.MF Home_Kernel.class
or
E:\Home_Kernel Software>jar cvfm Home_Kernel.jar MANIFEST.MF *.class
Step 6 :
Run following command:
E:\Home_Kernel Software>Home_Kernel.jar
Search This Blog
About Me
Popular Posts
-
ON upcoming 2 november , Birthday Of My Dear Friend Kalburge Kanhaiya Wish To my friend on his mobile: 8087956951
-
Hi ! Friends i am on also Orkut by name Laxman more. chat with me on orkut.
-
Hi Friends If u want to see the syllabus then click for this heading.. Click Here(MAH CET MCA Syllabus 2011) thanks...
-
Hi ! Friends Set your birthday in Laxman's Calender Click Here thanks.
-
Following steps are used to create executable jar file in java: Step 1: Go to your project Location like , E:\Home_Kernel Software> ...
Followers
Total Pageviews
Hi Friends If u want to see the syllabus then click for this heading..
Click Here(MAH CET MCA Syllabus 2011)
thanks...
Hi Friends If u want to see the syllabus then click for this heading.
Click here (Syllbus For Cat Exam)
thanks.
Hi ! Friends Set your birthday in Laxman's Calender
Click Here
thanks.
Hi ! Friends i am on also Orkut by name Laxman more.
chat with me on orkut.
hi , we give farewell party to our senior
how u feel like that.
Subscribe to:
Posts (Atom)