0

Java – Read Jar file Manifest

This post demonstrates how to read the Jar file manifest.

Java Codes

For our purpose, we use java.util.JarFile which is readily available Java. This means that we do not need 3rd-party libraries.

In the following codes, we read tools.jar and print its manifest.

Output

References