Home > php教程 > PHP开发 > body text

A simple method to decompress and compress JAR packages under Linux

高洛峰
Release: 2017-01-07 13:45:34
Original
1439 people have browsed it

Package all files in the current directory into project.jar

jar -cvfM0 project.jar ./

-c Create jar package
-v Display process information
-f
-M
-0 This is an Arabic numeral, it means only packaging but not compression

Decompress project.jar

jar -xvf project.jar

Extract to the current directory. Note that a game folder will not be created, but all the contents of the jar package will be extracted to the current folder.

The above simple method of decompressing and compressing JAR packages under Linux is all the content shared by the editor. I hope it can give you a reference, and I hope you will support the PHP Chinese website.

For more related articles on simple methods to decompress and compress JAR packages under Linux, please pay attention to the PHP Chinese website!


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template