Hatzenbeler, Tim wrote:
> I just wanted to double click on my jar file and have it work..  I can
> create a .bat file, with the classpath, but I was trying to make it, a
> single file...

If you put everything you need in a single jar file, that's not difficult.

Check out
http://java.sun.com/docs/books/tutorial/jar/basics/run.html#1.2 for
information on how to specify a main class that will invoke when the jar
is launched.

While I was searching, I found this: http://one-jar.sourceforge.net/ ...
it might be exactly what you are looking for.

david



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.