Skip to content

Instantly share code, notes, and snippets.

@5ZSQ
Created November 15, 2017 12:28
Show Gist options
  • Save 5ZSQ/10ab9cc4af66f2aaf4fb0b64dad64a49 to your computer and use it in GitHub Desktop.
Save 5ZSQ/10ab9cc4af66f2aaf4fb0b64dad64a49 to your computer and use it in GitHub Desktop.
多个jar压缩成一个jar
$ mkdir tmp
$ cd tmp
$ jar -xf ../jar1.jar
$ jar -xf ../jar2.jar
$ jar -cvf combined.jar -C tmp .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment