This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
Executable jar files
Posted by Parth Bhatt on July 31, 2001 at 2:49 PM
Hi , I am just passing on the steps so that it may be useful: Steps for Creating executable Jar Files. 1.Create the java Program and compile It. 2.Make a manifest file(eg:Manifest.mf) as follows: Main-Class: eg: === Main-Class: Test 3.Make the jar file: jar -cfm .jar
eg: === jar -cfm Test.jar Manifest.mf Test.class Test1.class 4.U have the executable jar file
Replies:
|