总体思路是先打成 jar 再把 jar 打成 exe 。主要看 1.3 和 2.3 里的内容就 可以了。 1 .将项目打成 jar: 1.1 要将项目打包成 jar 文件,方法很多,可以用 Eclipse 自带的打包工 具 Ant 打包,也可以用 Eclipse 的 Export 生成 jar 。