Re: Creating Bat file in LInux
Posted By:
Todd_Stout
Posted On:
Wednesday, December 17, 2003 06:24 AM
Another alternative is to create an executable
jar by specifying a manifest when you create the
jar. By doing this you do not have to write
a script to execute the java program.
You simply execute 'java -jar yourjar.jar'.
In addition, the manifest lets you specify
any jars that the jar is dependent on at
runtime. This allows you to not have to
be concerned with setting the CLASSPATH
environment variable. This works for all
platforms.