当前位置:网站首页>使用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 450. Deleting a node in a binary search tree
- 自动化测试-Selenium
- How to store tree structure in database
- 满k叉树编号为 i 的节点的孩子编号公式推导
- Oracle analysis function over and MySQL achieve similar effects
- WYSIWYG markdown editor: typora
- 做跨境电商卖什么产品好?热销类目有哪些?
- 信息安全数学基础 Chapter 4——二次剩余与方根
- AXI协议基础知识
- Xie Yang, CEO of authing, was selected into Forbes' 30 under 30 Asia list in 2021
猜你喜欢

Analyze which should be tested in PMP and ACP with actual cases? Which is more useful?

What subclasses inherit, polymorphism, and upward transformation

Analysis report on competition pattern and future development strategy of China's corn industry 2022-2028 Edition

How does Sister Feng change to ice?

Authing 双周动态:应用市场上线(5 .10 —5 .22 )

Leetcode力扣刷题

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

Xie Yang, CEO of authing, was selected into Forbes' 30 under 30 Asia list in 2021

A journey of database full SQL analysis and audit system performance optimization

Vscode automatic eslint formatting when saving code
随机推荐
信息安全数学基础 Chapter 4——二次剩余与方根
A simple understanding of closures
Leetcode力扣刷题
What subclasses inherit, polymorphism, and upward transformation
启牛商学院给的证券账户是安全的吗?开户收费吗
7 life tools: SWOT, PDCA, 6w2h, smart, WBS, time management, and the 28 principles
拜登下令强制推行零信任架构
Is the second-class cost engineer worth the exam? What is the development prospect?
Docker installs mysql5.7 (enable binlog function and modify characters)
啟牛商學院給的證券賬戶是安全的嗎?開戶收費嗎
Axi protocol Basics
From a "trendsetter" to a "wind chaser", can master Kang still lead the market?
信息安全数学基础 Chapter 1——整除
Elasitcsearch basic learning notes (1)
Authing Share|理解 SAML2 协议
How to become an optimist organization?
05_ Feature Engineering - dimension reduction
How does Sister Feng change to ice?
“is-a”,“has-a”,“like-a”
启牛推荐开通的股票账户安全吗?靠谱吗