Well, you can run java application as: java -jar app.jar in console.
But I’m sure, you agree, that it’s not easy-to-use for users.
So, we can make exe from jar and run it as usual application. I found following tools for this:
JEXECreator
This tool costs $75 and has 30-day trial version.
Application converted fine, but when I run the application, there appears message box with thanking for using JEXECreator and suggesting to buy a full version.
Jar2Exe
Free version works only for console application, Standard Edition costs $14.95. Free trial period is 30 days.
Simple wizard, without many settings. Generated application doesn’t work, a dll is missing, but I didn’t search for it.
Launch4j
Open Source, BSD license. Crossplatform.
It has many settings for all needs. Minimal settings for working application are: exe/jar paths, minimal JRE version, type: console/GUI.
You can make launch4j config and generate exe automatically using ant or maven.
My choice is launche4j! It’s Open Source and allows to automate converting process.
24 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.
see also http://code.google.com/p/jliftoff/
Thanks! But I don’t see difference in launch4j
exe4j http://www.ej-technologies.com/products/exe4j/overview.html
Keep posting stuff like this i really like it
http://www.excelsior-usa.com/products.html
you also missed JSmooth which is also very nice.
http://jsmooth.sourceforge.net/
Thanks for other tools! I heard about JSmooth, but didn’t try it
Seems that you also missed Winrun4j http://winrun4j.sourceforge.net/
nice article, thx for this. I just didn’t know!
“Convert Java to EXE: Why, When, When Not and How”, a more comprehensive overview including links to these and other tools is available at http://www.excelsior-usa.com/articles/java-to-exe.html
Jsmooth + Maven JSmooth Plugin has to be the easiest. I can even invoke JSmooth on a linux server to generate custom executables for users. I can and do.
Valuable info. Lucky me I found your site by accident, I bookmarked it.
really appreciate YOU — thanks a lot! RFID Reader
I shouldn’t be surprizing so hard at that.
Jsmooth + Maven JSmooth Plugin has to be the easiest. I can even invoke JSmooth on a linux server to generate custom executables for users. I can and do.
“Convert Java to EXE: Why, When, When Not and How”, a more comprehensive overview including links to these and other tools is available at http://www.excelsior-usa.com/articles/java-to-exe.html
[...] This post was mentioned on Twitter by javahispano, Richard Laksana. Richard Laksana said: Jar to exe. Tools overview. – http://su.pr/1NTcWZ [...]
Jsmooth + Maven JSmooth Plugin has to be the easiest. I can even invoke JSmooth on a linux server to generate custom executables for users. I can and do.
Valuable info. Lucky me I found your site by accident, I bookmarked it.
Jsmooth + Maven JSmooth Plugin has to be the easiest. I can even invoke JSmooth on a linux server to generate custom executables for users. I can and do.
Jsmooth + Maven JSmooth Plugin has to be the easiest. I can even invoke JSmooth on a linux server to generate custom executables for users. I can and do.
“Convert Java to EXE: Why, When, When Not and How”, a more comprehensive overview including links to these and other tools is available at http://www.excelsior-usa.com/articles/java-to-exe.html
Continuing the Discussion