当前位置:网站首页>使用exe4j 将.jar文件打包为.exe文件
使用exe4j 将.jar文件打包为.exe文件
2022-06-11 17:16:00 【Champ.Ping】
使用exe4j 将.jar文件打包为.exe文件
用eclipce或其他软件将你的程序导出为可执行的jar文件后,打开exe4j,直接点击next跳过欢迎界面。
选择JAR in EXE mode,next
如图输入参数,点击next
输入你的exe文件名称,图标为可选,不要直接next(直接next会使用默认设置,可能会出问题),点击左侧菜单下的子菜单。
可以自定义程序运行日志名称,
重点来了!!!一定要记得设置机器位数,默认的是32-bit的,如果是你的jdk环境是64-bit,不勾选会导致打包后的程序无法运行。
导入你打包好的.jar包
选择你的main class ,程序会自动识别,next
最小版本一定要选,不要大于最高版本就好,先别next,看看子菜单。
配置jdk或jre:
之后就一直next吧!不出意外应该就可以运行了。
边栏推荐
- LeetCode-1005. K 次取反后最大化的数组和
- Xie Yang, CEO of authing, was selected into Forbes' 30 under 30 Asia list in 2021
- 小白在同花顺上直接办理账户是安全的吗?
- Qlineedit set input mask
- 7 life tools: SWOT, PDCA, 6w2h, smart, WBS, time management, and the 28 principles
- which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mod
- vscode保存代碼時自動eslint格式化
- C language: use H and C. summary of problems encountered in documents
- ASP.NET教育OA系统源码 教育行业OA系统源码带文档
- GemBox.Bundle 43.0 Crack
猜你喜欢

Vscode configures eslint to automatically format with an error "the setting is deprecated. use editor.codeactionsonsave instead with a source“

vscode配置eslint自动格式化报错“Auto Fix is enabled by default. Use the single string form“

GemBox. Bundle 43.0 Crack

活动 | Authing 首次渠道合作活动圆满落幕

A set of ThinkPHP wechat applet mall source code with background management

Solr (I) installation and permission control of Solr

The use of histogram function in MATLAB

RecyclerView缓存复用解析,源码解读

Global and China Mobile Network Optimization (MnO) industry development panoramic survey and Investment Strategy Research Report 2022-2028

How does Sister Feng change to ice?
随机推荐
Authing biweekly news: authing forum launched (4.25-5.8)
从制造到“智造”,探索制造企业破局之道
LeetCode-1005. K 次取反后最大化的数组和
JPA循环保存多个实体失败
信息安全数学基础 Chapter 1——整除
10 times faster than 5g. Are you ready for 10 Gigabit communication?
GemBox. Bundle 43.0 Crack
vscode保存代码时自动eslint格式化
用实际案例分析PMP与ACP应该考哪个?哪个更有用?
Leetcode 450. Deleting a node in a binary search tree
搜狐全員遭詐騙,暴露哪些問題?
leetcode--数组
AXI协议基础知识
字符串转数值
Difference between select into from and insert into select
Derivation of child numbering formula for nodes numbered I in full k-ary tree
Database backup (MySQL)
启牛推荐开通的股票账户安全吗?靠谱吗
LeetCode-1005. Maximized array sum after K negations
ShellBrowser . NET Crack