Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create .exe from .jar file using build.xml

Tags:

xml

jar

exe

Is it possible to create an exe from the jar file using some script (build.xml). Currently I use a build file to create a jar and then create exe with Launch4J. Now I would like to make an exe of the application via a script. I would like to know if it is possible.

like image 573
Gapchoos Avatar asked Feb 16 '26 10:02

Gapchoos


1 Answers

You should enhance your research skills. It took me 2 seconds to find the part of the Launch4j documentation, where the special launch4j Ant task is explained. Look here: http://launch4j.sourceforge.net/docs.html#Ant_task

So yes, it is possible. You can use Ant with that special task and it is documented.

like image 74
vanje Avatar answered Feb 19 '26 05:02

vanje



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!