当前位置:网站首页>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:
边栏推荐
猜你喜欢
深度学习框架pytorch快速开发与实战chapter3
Flask框架的搭建及入门
Briefly write about the use and experience of PPOCRLabel
MarkDown语法汇总
Configure zabbix auto-discovery and auto-registration.
What are the file encryption software?Keep your files safe
【ROS】工控机的软件包不编译
8581 Linear linked list inversion
Chapter6 visualization (don't want to see the version)
Mysql's case the when you how to use
随机推荐
8581 线性链表逆置
Flask请求应用上下文源码分析
8576 Basic operations of sequential linear tables
第十二单元 关联序列化处理
drf序列化器-Serializer
深度学习框架pytorch快速开发与实战chapter4
关于密码加密的一点思路
Unit 5 Hold Status
动态刷新日志级别
未来的金融服务永远不会停歇,牛市仍将继续 2021-05-28
paddle window10环境下使用conda安装
定了!就在7月30日!
mysql的case when如何用
jwt(json web token)
Sentinel源码(五)FlowSlot以及限流控制器源码分析
Flask框架深入二
Sentinel源码(六)ParamFlowSlot热点参数限流
drf路由组件Routers
chapter7
ZABBIX配置邮件报警和微信报警