linux view or edit jar internal files

1. Unzip the jar

Unzip xxx.jar to the current directory to generate files file_1, file_2, file_3

jar -xvf xxx.jar

2. Compress the jar

After modifying the content, recompress the decompressed file to yyy.jar

jar -cvfM0 yyy.jar file_1 file_2 file_3

Guess you like

Origin blog.csdn.net/leinminna/article/details/109569602