gcj and cygnus
Mo DeJong
mdejong@cygnus.com
Fri Aug 18 16:20:00 GMT 2000
On 2000年8月18日, mark kimsal wrote:
> > There is basically 2 option for the "stupid user" using standard JDKs:
> > - create an executable jar file. It's very simple to do, and the user
> > just has to double click on the file and it starts like an .exe.
> > no classpath to set-up.
> > It's plain simple to create but I'm amazed how few developer do it.
> > Of course, you need a java 2 runtime...
>> I've never heard of an executable jar file, how do you create one?
An "executable jar file" is the same as a regular Jar file
except that it also have a line in the META-INF/MANIFEST.MF
file that tells the JVM the name of the class with the
main() in it. You still need to install a Sun JVM on
the computer before you can use them.
Mo DeJong
Red Hat Inc
More information about the Java
mailing list