It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Partner Sites
Board index Programming Java Forum

how to create executable jar?

how to create executable jar?

Postby karthikbaskar on Wed May 02, 2007 2:10 pm

I have created an applet code and the file name is app.java
I want to create a ikon, so that on clicking that ikon my applet should starts to work.
any one can help me in this reg.
karthikbaskar
 
Posts: 4
Joined: Tue May 01, 2007 6:54 pm

Postby sasi on Thu May 03, 2007 11:04 am

use innosetup software to create the executable setup file.

1)place all the class files in a folder and place a manifest file in that folder specifying the main class to execute first.
2)place one bmp or gif file that to be viewed after installation.
3)create a jar file in cmd prompt like:
jar -cvfm name.jar META-INF\manifest.mf .
4)this jar file is to be created in that folder only,
after that use this jar file and bmp file in the innosetup tool and make the setup file that s all.
sasi
 
Posts: 13
Joined: Mon Apr 23, 2007 2:10 pm

hi sasi

Postby karthikbaskar on Thu May 03, 2007 2:22 pm

hi sasi,
thanks for your valuable information. i'll try this and let you know the status later.

sasi wrote:use innosetup software to create the executable setup file.

1)place all the class files in a folder and place a manifest file in that folder specifying the main class to execute first.
2)place one bmp or gif file that to be viewed after installation.
3)create a jar file in cmd prompt like:
jar -cvfm name.jar META-INF\manifest.mf .
4)this jar file is to be created in that folder only,
after that use this jar file and bmp file in the innosetup tool and make the setup file that s all.
karthikbaskar
 
Posts: 4
Joined: Tue May 01, 2007 6:54 pm


Return to Java Forum

Who is online

Users browsing this forum: No registered users and 0 guests