当前位置:网站首页>使用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吧!不出意外应该就可以运行了。
边栏推荐
- 启牛推荐开通的股票账户安全吗?靠谱吗
- 子类继承了什么、多态、 向上转型
- Docker installs mysql5.7 (enable binlog function and modify characters)
- GemBox.Bundle 43.0 Crack
- Oracle generates non duplicate string sys_ Guid() and MySQL generate unique values
- C语言:使用.h和.c文件遇到的问题总结
- 如何成为一个乐观派组织?
- Vscode configures eslint to automatically format an error "auto fix is enabled by default. use the single string form“
- Is the stock account recommended by qiniu safe? Is it reliable
- Song of the sea in 5g Era
猜你喜欢

Docker installs mysql5.7 (enable binlog function and modify characters)

API management artifact that allows you to call wow directly

WYSIWYG markdown editor: typora

sql server中关于FORCESCAN的使用以及注意项

Authing biweekly news: online application market (5.10-5.22)

【clickhouse专栏】新建库、用户及角色

^31 prototype interview questions

How to become an optimist organization?

Bentley 使用 Authing 快速实现应用系统与身份的集成

05_特征工程—降维
随机推荐
Pycharm使用小技巧 - 如何设置背景图片
信息安全数学基础 Chapter 2——同余
Connection and difference of network streaming media protocol (RTP RTCP RTMP HLS)
Redis - learn five types of NoSQL
用实际案例分析PMP与ACP应该考哪个?哪个更有用?
信息安全数学基础 Chapter 1——整除
信息安全数学基础 Chapter 4——二次剩余与方根
Custom or subscription? What is the future development trend of China's SaaS industry?
Database backup (MySQL)
Oracle analysis function over and MySQL achieve similar effects
Center detection of circular marking points for opencv camera calibration
通过Xshell连接有跳板机/堡垒机的服务器
Authing 双周动态:Authing 论坛上线(4.25-5.8)
WYSIWYG markdown editor: typora
Hands on deep learning - multiple input and output channels in the convolution layer
Global and China Mobile Network Optimization (MnO) industry development panoramic survey and Investment Strategy Research Report 2022-2028
Real time myth -- real-time RTOS multitask performance analysis
Difference between select into from and insert into select
Qlineedit set input mask
AXI协议基础知识