Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing java application

Status
Not open for further replies.

pradeepinjava

Programmer
Aug 29, 2003
8
US
Friends,
How to make a Java application as installable file/package. I've created jar file. don't know what to do further. what are the s/w requirements of the m/c in which this application to be installed.

Thanks for reading this.

Pradeep kumar
 
In Java 2 (1.2 and above) there is an executable jar file capability. To use this, in the META-INF/Manifest.mf file, add the line

Main-Class: MyMainClass

where your MyMAinClass is the class with the static void main method in - ie your programme entry point. Then when the jar file is clicked on, it will run (as long as a JRE is installed on the client machine).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top