- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
1、2、
1、
2、
t也B: \SWMS
打开安装好的install4j文件
用install4j工具为java程序打包exe
网上搜破解版的install^下载一个就行.
用Eclipse将程序源码打包成jar文件.
打包jar方法我不做介绍了,相信大家都会,不会的百度一下吧。
准备工作.
将导出的jar包:aaa.jar,程序需要的图片:images,数据库database,以及你要生成exe文件 后的图标png图片,全部复制到一个SMMS文件夹下面。
输入程序全名Full Name,程序简称Short Name,版本号version,然后点击右上角的蓝色箭头 进行下一步。
输入JRE的最低版本号,最高可以为空。因为此前打包过其他源码,并安装过JRE所以在下 面JRE的搜索结果中(红丝边框内)会出现 JRE环境,初次打包是没有的。点击右上角箭头进 入下一步。
5、
选择语言,然后点击右上角箭头进行下一步
红框内设置文件打包后存放路径,点击右上角箭头进行下一步
SB?
■i nst lal 14 j lult i —Pl alf l?rfi/td on
7
7、
连续点击下一步到Files界面,点击 Add Files(红框内)
8、 点击Add Files后,如果是打包某个单独文件,选 Single files, next到下一步
Z. Add Files and Directories
i. select type Select type of entry
You can add 5righ Files or directories to the dtetrfaJtion tree, Please select
the dtsiredt^/pe oF ths entry:
C1 Directory
The contents oF a dredtory and all its subcirec tories are added recursively to the CLrrently selected position in the distributcin tree. Ypu tan specify excluded suf Fixes and specifically extkjded files and directories,
r?|5?ngle file?
fl, number of selected Ffes From arbitrary IccaUons are ^dded to the cuiTEntly sdedted position in the distribution tree
Help Next
Help Next
点击绿色的加号,添加需要打包的文件。
10
选择需要的jar包
11
一直点击next至U finished界面,再点 OE
12、可以看到刚引入的jar文件
13
因为我们的程序需要数据库和图片,也要把这些导进去。所以先建立两个文件夹 images和
database。首先导入图片,鼠标选中images,点击Add Files
14、 这里选择Directory,因为直接导入整个图片文件夹
15、 找到图片的路径
二/ Add Files and Di.rectori.es X
Select typeSelect directoryInstal 叩tiunsUmn或那 optionsExcluded fHes and directoriesExclude suffixes
Select type
Select directory
Instal 叩tiuns
Umn或那 options
Excluded fHes and directories
Exclude suffixes
Hnifhed
Ple-ase 沁le己 a cfrectory that xntains Files yw would like to distritujte. The contents of that director/ 点II be reci_rsrvely
to ttie cirrentty selected position in the distribution tree.
Selected directory:
lents 日nd 5ttingstHPl1465\DeskfcopWM5\imace5| | ? ,| …
$ Help 4 Back Ne^t 卜 Finish C
16、 一直点next到finished界面,点击 OK
二 Add Files and Directories
Li Select type
2. Setedt directory
3 Instmi 叩ti
文档评论(0)