aspose 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 Java 8 in Action this week in the Java 8 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: 39578
    
  27
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
jar file
To run a JFrame application opening a JAR file
make a jar file from source code in Netbeans
Jdbc driver not found when putting an application in a jar-file
Jar file