This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes How to Create an Executable Jar..? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 2573

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..?
 
Similar Threads
How to create executable java files( jar )
Click and go
How to create executable jar file?
How to create Executable jar file.
Executable jar