用exe4j发布带数据库的java程序
时间:2021-07-01 10:21:17
帮助过:3人阅读

然后,单击绿色的加号按钮,添加jar包。

选择自己到处的jar包,以及所需要的mysql- connector-java这个包。导出后如下图

接着选择主类。

选择成功就直接next。
接着选择最低最高jre版本。allo jres with a beta version number 也打上勾

接着单击advanced options ,单击search sequence。

删掉,已经存在的3个目录

然后选中导出目录里的jre目录。


选中后如图所示。然后直接直接next。

选择client hostpot VM。

这个 spash screen闪屏,这里不要管他,选择的话可能我们的manifest文件需要改一下,这里就先不选择了。

直接next。

等待一下,就制作完成了,然后单击Click Here to Start the Application就能运行了,或者到工程导出的目录去打开。

参考了:http://blog.csdn.net/yicomm/article/details/6681404 博主的文章,不过他这篇文章并不能带着我打包带数据库的程序,这里又重新编辑了一次。
感谢博主yicomm。
用exe4j发布带数据库的java程序
标签: