Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Create an Executable Jar..?  RSS feed

 
Kutbuddin Shaikh
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at this -
developer.java.sun.com/developer/qow/archive/21/index.html
HTH,
- Manish
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!