Instructions for decompressing the jar package and then recompressing it into a jar package

                              **jar包解压后 再重新压缩成jar包的指令 << jar cvf0M name.jar ./  >>**

The operation steps are as follows
1. Place the jar package in a folder without any content and decompress it (note: decompress to the current folder when decompressing). After decompression is completed, as shown in the figure: After decompression, delete the original jar
package. Then in the current Enter cmd in the folder (just enter cmd directly in the path) as shown:
Insert image description here

Then enter << jar cvf0M name.jar ./ ​​>> in the window that pops up from cmd. Name represents the name of your jar package. As shown in the figure:
Insert image description here
This will get your jar package. I have personally tested it and it is available.

Guess you like

Origin blog.csdn.net/qq_37120477/article/details/112669804