1.解压jar 把xxx.jar 解压到当前目录,生成文件file_1,file_2,file_3 jar -xvf xxx.jar 2. 压缩jar 修改其中的内容后,把解压的文件重新压缩为yyy.jar jar -cvfM0 yyy.jar file_1 file_2 file_3