关于 Java 应用程序安装程序的另一个问题
我刚刚读了很多关于 Java 应用程序安装程序的文章,我想获得一些关于最佳选择的意见。我的要求不是太长。我只需要: - 安装程序安装Java、MySQL并运行数据库脚本文件; - 为我的 Java 应用程序创建快捷方式。
我最寻找开源/免费的选择。
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 requirements 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看 NSIS。它非常容易使用,它可以调用其他安装程序(因此用户只需按照其他对话框即可完成),并且它可以创建快捷方式。它实际上非常强大。
不过,它仅生成适用于 Windows 的安装程序;没有 DEB 或 RPM。
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.
您可能还想查看 BitRock InstallBuilder
(免责声明:我是 InstallBuilder 开发人员之一)
它不是免费的,正如您所寻找的那样,但我们为开源项目提供免费许可证,并为独立开发人员和小公司提供折扣。
根据您的要求,InstallBuilder 能够捆绑 Java
运行时,自动检测系统中包含的 、创建启动器和桌面快捷方式等等。
关于 MySQL,我们没有内置操作,但我们的许多客户捆绑了 MySQL,并且
相对简单。
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.