jar tool

The JDK command that creates, lists and extracts JAR files, like a zip tool that understands manifests.

In more detail

jar tf lists the entries in an archive, which is how the course shows that a JAR is just META-INF, a manifest, packages and classes. Build tools create JARs for you, so you mostly use it to inspect them.

Example

jar tf target/*.jar | head -5

Related terms

Taught in

References

Certification courses