当前位置:网站首页>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:
边栏推荐
猜你喜欢
随机推荐
(ROS) (03) CMakeLists. TXT, rounding
网络剪枝(1)
yolov5,yolov4,yolov3 mess
[ROS] The software package of the industrial computer does not compile
Unit 6 meet ORM
Flask框架
logback源码阅读(一)获取ILoggerFactory、Logger
【Tensorflow】AttributeError: module 'keras.backend' has no attribute 'tf'
瑞吉外卖笔记——第05讲Redis入门
paddleocr window10初体验
yolov5,yolov4,yolov3乱七八糟的
第二届中国Rust开发者大会(RustChinaConf 2021~2022)线上大会正式开启报名
Unit 5 Hold Status
关于密码加密的一点思路
Shell脚本完成pxe装机配置
如何自定义feign方法级别的超时时间
xshell连接虚拟机步骤_建立主机与vm虚拟机的网络连接
[ROS](03)CMakeLists.txt详解
Some impressions of the 519 plummet 2021-05-21
第十三单元 混入视图基类