Help create a jar file please
Started by J_hollow, Jun 03 2010 12:35 PM
1 reply to this topic
#1
Posted 03 June 2010 - 12:35 PM
I created a program through textpad and hit has multiple java files as long as images in folders, Can someone tell me how i can put all these into a jar file....The WordTester is the one with the main method
|
|
|
#2
Posted 04 June 2010 - 06:35 AM
Well, you first compile all tha *java files.
Then you create a MANIFEST.MF file, and you put in it:
Then you create a MANIFEST.MF file, and you put in it:
Main-Class: WordTesterAnd then you create an executable jar, with the manifest:
jar cvfm yourJarName.jar MANIFEST.MF *.class
// d-_-b+


Sign In
Create Account

Back to top









