我正在尝试将 Eclipse 中的程序导出到 jar 文件。
在我的项目中,我添加了一些图片和 PDF:s。当我导出到 jar 文件时,似乎只有main
已编译并导出。
我的意愿是如果可能的话将所有内容导出到 jar 文件,因为这样我想将其转换为可引渡的文件,例如 .exe 文件。
But how?
No need for external plugins. In the Export JAR dialog, make sure you select all the necessary resources you want to export. By default, there should be no problem exporting other resource files as well (pictures, configuration files, etc...), see screenshot below.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)