jQuery in Action, 2nd edition*
The moose likes Beginning Java and the fly likes How to Create an Executable Jar..? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to Create an Executable Jar..?" Watch "How to Create an Executable Jar..?" New topic
Author

How to Create an Executable Jar..?

Kutbuddin Shaikh
Greenhorn

Joined: Oct 06, 2001
Posts: 6
Hello Dear ones,
I want to know how to create an executable jar file, to be executed by a layman by just double clicking the icon of my java application..
Thanks
Kutub
Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2578

Have a look at this -
developer.java.sun.com/developer/qow/archive/21/index.html
HTH,
- Manish
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Consider creating a .bat file for the user to double click instead. This allows you the opportunity to name your preferred classpath and feed in property files and whatever.
Course you may still want to jar your stuff also for other reasons.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Create an Executable Jar..?