How to convert a java file folder in to jar



Consider we created a folder contains java classes.
To compile this programme yourself, make sure;
all the source code is in the same folder
all the images are in a folder called images

type in a DOS window, javac *.java to compile all the source code
type jar -cvfm chess.jar manifest.txt *.class images/*.gif

that will put all the files in an executable jar file


Responses

0 Respones to "How to convert a java file folder in to jar"

Post a Comment

 

Recent Comments

Popular Posts

Return to top of page Copyright © 2010 | Platinum Theme Converted into Blogger Template by HackTutors