This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: gcj and cygnus
- To: java-discuss at sources dot redhat dot com
- Subject: Re: gcj and cygnus
- From: Mo DeJong <mdejong at cygnus dot com>
- Date: Fri, 18 Aug 2000 16:20:49 -0700 (PDT)
On Fri, 18 Aug 2000, 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