How to package executable JAR file into EXE
Asked Answered
J

2

10

I would like to deploy my final build as an EXE with an application Icon.

What is the best way to do this? What is the common practice?

Jetpropelled answered 18/6, 2013 at 19:6 Comment(1)
For deploying Java desktop apps., the best option is usually to install the app. using Java Web Start. JWS works on Windows, OS X & *nix.Mutism
A
7

Launch4j is a cross-platform tool for wrapping Java applications distributed as jars in lightweight Windows native executables. The executable can be configured to search for a certain JRE version or use a bundled one, and it's possible to set runtime options, like the initial/max heap size. The wrapper also provides better user experience through an application icon, a native pre-JRE splash screen, a custom process name, and a Java download page in case the appropriate JRE cannot be found.

http://launch4j.sourceforge.net/

Appetizing answered 18/6, 2013 at 19:18 Comment(0)
C
0

I use jar2exe on Windows. Is a simple wizard done in java where you are asked to input your jar the icon of the exe and a few more information. Here is the link jar2exe

Corydon answered 18/6, 2013 at 19:17 Comment(1)
Is there any open source version available?Asexual

© 2022 - 2024 — McMap. All rights reserved.