Jar is Java Archive. It is basically similar to a zip file in that it is used to contain all the necessary classes and other files needed for a project...
In order to create an executable, create jar file for ur project, then create a .bat file with command to run the jar file (java -jar jarfile).
and if i double click this .bat file will it run the program or do i need to run it in the dos prompt?
__________________
Before you criticize someone you must walk a mile in their shoes...that way when you criticize them you\'re a mile away and you have a new pair of shoes!! :)
yes, .bat files are simple text files in which u can enter dos style commands one line after another. So, u can use notepad to create the bat file. Also, when u double click on it, it will run all the commands one after the other....
FYI, the 'bat' is short form for batch - the file is a batch-execution type...
THANKS GUYS!
the batch file idea was great!! it worked!
thank you!
__________________
Before you criticize someone you must walk a mile in their shoes...that way when you criticize them you\'re a mile away and you have a new pair of shoes!! :)