Skip to content

Instantly share code, notes, and snippets.

@WarFox
Last active November 8, 2023 14:28
Show Gist options
  • Save WarFox/62d8577d3c25611c6556e7445b7b2542 to your computer and use it in GitHub Desktop.
Save WarFox/62d8577d3c25611c6556e7445b7b2542 to your computer and use it in GitHub Desktop.
Read contents of a jar
# Show contents of MANIFEST.MF in a jar
unzip -q -c target/{name}.jar META-INF/MANIFEST.MF
# List files in a jar
jar -tf target/{name}.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment