当前位置:网站首页>The IDEA of packaged jar package
The IDEA of packaged jar package
2022-08-02 14:20:00 【Xiao Liyi】
Export jar package using IDEA
First, set the parameters of project packaging
Create a folder in the project directory to store the MANIFEST.MF file. Note: This path cannot use the default path set by IDEA and must be created manually.
Click ok to finish
Second, export the jar package
When the progress bar is finished, there will be an out folder in the project directory, which stores the jar package exported by IDEA
Three, run the jar file
Use the command to run the jar file
javaw -jar -Xmx1024m -Xms1024m WaiMai.jar > log.txt
Command parsing:
javaw: run in the background
java: running in the foreground
Xmx: Set the initial size of the Java stack
Xms: set the maximum java heap size
> log.txt: direct log output to log.txt
Four. End the process
Query the running process of the corresponding port number
netstat -ano | findstr 8080
End the process corresponding to the PID
taskkill -F -PID 38872
The takeaway project has ended, and the source code address is attached:
边栏推荐
- What is the difference between web testing and app testing?
- WeChat Mini Program-Recent Dynamic Scrolling Implementation
- Tornado框架路由系统介绍及(IOloop.current().start())启动源码分析
- How does Apache, the world's largest open source foundation, work?
- Some impressions of the 519 plummet 2021-05-21
- LayoutParams的详解
- Flask框架的搭建及入门
- 第六单元 初识ORM
- The most complete ever!A collection of 47 common terms of "digital transformation", read it in seconds~
- MySQL数据库语法格式
猜你喜欢
随机推荐
ftp常用命令详解_iftop命令详解
redis延时队列
8581 线性链表逆置
Paddle window10 environment using conda installation
yolov5,yolov4,yolov3 mess
跑跑yolov5吧
Shell脚本完成pxe装机配置
关于密码加密的一点思路
drf序列化器-Serializer
Raft对比ZAB协议
8580 Merge linked list
瑞吉外卖笔记——第10讲Swagger
[ROS] (01) Create ROS workspace
第十五单元 分页、过滤
第十四单元 视图集及路由
The 2nd China Rust Developers Conference (RustChinaConf 2021~2022) Online Conference Officially Opens Registration
The most complete ever!A collection of 47 common terms of "digital transformation", read it in seconds~
Unit 7 ORM table relationships and operations
第十单元 前后连调
chapter7