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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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

to make a user friendly jar file

Jigar Gandhi

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

Joined: Mar 22, 2005
Posts: 39547
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 - updated with new look and Ping home screen widget
I agree. Here's the link: http://aspose.com/file-tools
subject: to make a user friendly jar file
Similar Threads
make a jar file from source code in Netbeans
To run a JFrame application opening a JAR file
Jar file
jar file
Jdbc driver not found when putting an application in a jar-file