This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java in General and the fly likes to make a user friendly jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "to make a user friendly jar file" Watch "to make a user friendly jar file" New topic
Author

to make a user friendly jar file

Jigar Gandhi
Greenhorn

Joined: May 13, 2008
Posts: 20
I have made a jar file containing a package of my application. My application is a small game which involves JFrame.
I want to make the jar file such that as soon as a lay man clicks on the jar file the main function of my class automatically executes.

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42047
    
  64
That's what the Main-Class entry in the jar file manifest does: http://java.sun.com/docs/books/tutorial/deployment/jar/manifestindex.html


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: to make a user friendly jar file