[ad name=”AD_INBETWEEN_POST”] I remember the day when I created a Tic Tac Toe game using Java Swing and packed it in an executable JAR file to distribute it among my friends. As few of my friends were not from computer background, they were unable to execute the JAR file. Hence I converted the JAR into EXE and send them the EXE.
It is sometime desirable to convert the JAR file in to EXE (executable) and distribute the EXE. Although the exe can be executed only in Windows environment, this will definitely affects the “platform independency” of a Java program. Still if you want to convert a JAR file in EXE then following tools are for you.
JSmooth provides a variety of wrappers for your java application, each of them having their own behaviour: Choose your flavour!
Download: http://jsmooth.sourceforge.net/
Jar2Exe is a tool to convert jar files into exe files.
Following are the main features as describe in their website:
Download: http://www.brothersoft.com/jartoexe-75019.html
Package your Java application as a jar, and Executor will turn the jar into a Windows exe file, indistinguishable from a native application. Simply double-clicking the exe file will invoke the Java Runtime Environment and launch your application.
Download: http://mpowers.net/executor/
Advanced Installer lets you create Windows MSI installs in minutes. This also has Windows Vista support and also helps to create MSI packages in other languages.
Download: http://www.advancedinstaller.com/
Let me know other tools that you have used to convert JAR to EXE. And also comments/reviews about these tools.
If you read this far, you should follow me on twitter here.
Java URL Encoder/Decoder Example - In this tutorial we will see how to URL encode/decode…
Show Multiple Examples in OpenAPI - OpenAPI (aka Swagger) Specifications has become a defecto standard…
Local WordPress using Docker - Running a local WordPress development environment is crucial for testing…
1. JWT Token Overview JSON Web Token (JWT) is an open standard defines a compact…
GraphQL Subscription provides a great way of building real-time API. In this tutorial we will…
1. Overview Spring Boot Webflux DynamoDB Integration tests - In this tutorial we will see…
View Comments
You can also try Launch4j that is opensource and hosted on Sourceforge.
http://launch4j.sourceforge.net/
Can generate multi platform wrappers.
Launch4j is very good, but it has two disadvantages:
Its generated .exe file can be extracted (e.g. by winrar)
Doesn't support passing variable parameters (e.g. file name)
However, it is suitable for most applications that don't receive parameters
@Osama - Thanks for sharing your findings with Launch4j.. Very useful for users..
very nice thanks , i didn\'t knew these application do exist :)
You welcome Ali Lawati.
You missed Launch4J http://launch4j.sourceforge.net/
Hi Viral,
i found many of the tools for converting jar to exe.
Just see the links.
Its very good and helpful.
http://yuvadeveloper.blogspot.com/2009/03/convert-jar-files-to-exe.html
mast idea
Thank you very much
May try Excelsior JET
Nice post... Can we change the icon of the exe file using any of the above tools?
you can do this whit the limited time of the Jar2Exe Wizard 1.8 tool