tldr/pages/common/jar.md

368 B

jar

Java Applications/Libraries Packager. More information: https://docs.oracle.com/javase/tutorial/deployment/jar/basicsindex.html.

  • Unzip .jar/.war file to the current directory:

jar -xvf {{file.jar}}

  • List a .jar/.war file content:

jar tf {{path/to/file.jar}}

  • List a .jar/.war file content with verbose output:

jar tvf {{path/to/file.jar}}