I have a Java .jar application that I want to distribute to my clients who are on Macs or Windows. I want to use a tool that takes my jar file and wraps it in a .dmg and a .exe wrapper for Macs and Windows respectively that does this when run:
Optional features:
On the other hand, every version of Mac OS X is a system ready to run your Java application. Included in Apple's operating system is both the JRE and JDK for J2SE v1. 3.1.
Check out Package Maker for Mac and Advanced Installer for Windows.
I've used them both for just about every requirement you've listed.
I haven't used them for auto-updates, but you probably have to build that logic into your app.
Don't expect them to do ALL of the work for you, though.
Expect to spend quite a bit of time building an installer for each platform.
I'm sure there are lots of options for Windows and Linux. Advanced Installer just happens to be the only one I've used.
I believe Package Maker is the standard for Mac. It's pretty awesome and easy to use.
Good luck!
For deploying on Windows, I like using Launch4j for wrapping my application jar and creating a native Windows executable that can detect and use an already installed JRE, or allows you to bundle your own. It's fast, lightweight and easily scripted with Ant (or Maven) as part of your build process.
Combined with this, I typically use NSIS for creating an installer that puts in shortcuts, and allows install/uninstall/repair from Control Panel. With a bit of work, this can also be scripted via Ant, and can also be built from a Linux platform.
These solutions obviously won't work for Mac deployment, but I suspect you'll have to use different tools for the different platforms if you want the best experience for the end users.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With