jar applications
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, June 2, 2003 06:38 PM

How to jar an application
or create executable jar files?

Re: jar applications

Posted By:   Jon_Branham  
Posted On:   Monday, June 2, 2003 07:05 PM

make sure the java bin directory is in your path.
Go to the folder containing the root folder of your application and type


jar -cvf NameOfJar.jar RootDirectory


Then you should make a batch file (i.e) run.bat with the following as an example


javaw -classpath .;NameOfJar.jar com/company/mainclass


Double click the batch file to launch the program
About | Sitemap | Contact