[izpack-users] Running java program after installation

Erwin Müller funnyacc at gmx.net
Wed Sep 19 13:59:48 CEST 2007


I resolved it like this:

<executable targetfile="$INSTALL_PATH/gscal.jar"  
class="schluessel.Startklasse" type="jar" stage="postinstall"  
failure="abort" keep="true">
                 <args>
                     <arg value="$radioWhere"/>
                     <arg value="$INSTALL_PATH"/>
                 </args>
</executable>

It will start the main-Method in the class schluessel.Startklasse in the  
jar gscal.jar with the args in <args>.

On Thu, 06 Sep 2007 06:07:35 +0200, Frank Chiang <hydracide at yahoo.com>  
wrote:

> I want the user to be able to install the distribution, which contains a  
> java program.  The installer will copy the files from the distribution  
> (I know how to do this) and at the end of the installation, will execute  
> the java program that was just installed.  I want this solution to work  
> for all platforms.
>
> I saw some instances in the documentation that suggested some methods of  
> approaching this but I was hoping to get some expert advice on some  
> possible solutions.
>
>
> Thanks!
>
>
>
> ____________________________________________________________________________________Ready  
> for the edge of your seat?
> Check out tonight's top picks on Yahoo! TV.
> http://tv.yahoo.com/
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users



-- 
Open Source Matters - The term "free software" is sometimes  
misunderstood--it has nothing to do with price. It is about freedom -
http://www.opensourcematters.org/
Erwin Müller - http://www.muellerdevent.org


More information about the izpack-users mailing list