如何创建javafx应用程序的exe文件 [英] How to create exe file of javafx application

查看:539
本文介绍了如何创建javafx应用程序的exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用javafx创建了一个桌面应用程序。它使用mysql的数据库。通过使用Netbeans,我将应用程序打包到运行jar中。

I have created a desktop application using javafx. It uses the database of mysql. And by using Netbeans I packaged the application into running jar.

现在我想将应用程序分发为windows用户的exe文件。现在我的问题是如何从jar创建exe文件以及该exe如何与数据库连接。

Now I want to distribute the application as a exe file for the windows users. Now my problem is how to create exe file from the jar and how that exe will connect with the database.

推荐答案

exe4j或install4j可能是一个不错的选择

exe4j or install4j may be a good option

这篇关于如何创建javafx应用程序的exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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