File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
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: 42272
    
  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