YET another question about installer for Java App
I just read so many posts about installers for a Java App and I'd like to get some opinions as for the best choices. My requiremen开发者_运维百科ts aren't too long. I just need: - the installer to install Java, MySQL and run the database script file; - create a shortcut for my Java App.
I'm most looking for open source/free choices.
Look into NSIS. It's pretty easy to use, it can call out to other installers (so the user just has to follow those other dialogs to completion), and it can create shortcuts. It's actually quite powerful.
It generates installers for Windows only, though; no DEBs or RPMs.
You may also want to check out BitRock InstallBuilder (Disclaimer: I am one of the InstallBuilder developers)
It is not free, as you are looking for, but we offer free licenses for open source projects as well as discounts for solo-developers and small companies.
Per your requirements, InstallBuilder is capable of bundling a Java runtime, autodetecting the one included in the system, creating launchers and desktop shortcuts and so on.
Regarding MySQL we do not have built-in actions, but many of our customers bundle MySQL and is relatively straightforward.
精彩评论