How to Find Which JAR Contains a Class (findjar Alternative)

Track down which JAR file contains a Java class or package. Search a JAR's contents online, or use jar tf and grep on the command line — examples included.

Option 1: Search Inside a JAR Online

Option 2: List a JAR's Classes from the Terminal

Option 3: Search Across Many JARs at Once

Mapping a Package to the Right Dependency

Summary