This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcj and cygnus


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]