如何创建包含Tomcat和MySQL的Java webapp安装程序(.exe)? [英] How to create Java webapp installer (.exe) that includes Tomcat and MySQL?"

查看:101
本文介绍了如何创建包含Tomcat和MySQL的Java webapp安装程序(.exe)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用结合了tomcat,mysql和war文件的Java创建安装程序并输出最终的exe文件?

How to create a installer using Java that combine tomcat, mysql and war file and come out a final exe?

推荐答案

你可以使用任何安装程序。我个人使用了 InnoSetup ,这很简单,但在安装时仍可执行几乎任何任务。

You could use any installer, really. I personally have used InnoSetup, which is quite simple, but can still perform almost any task at installation time.

在您的情况下,您可能希望将Tomcat文件放在某处,包括webapp。自定义一些配置文件并以静默方式运行MySQL安装程序。使用InnoSetup完全可以实现所有这些。

In your case, you probably want to place the Tomcat files somewhere, webapp included. Customize some configuration files and run the MySQL installer in silent mode. All of which is perfectly possible with InnoSetup.

如果您需要更多灵活性,可以查看 NSIS ,另一个非常简单但非常强大的安装程序应用程序。

If you need more flexibility, you can look at NSIS, another very simple but very powerful installer app.

这篇关于如何创建包含Tomcat和MySQL的Java webapp安装程序(.exe)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆