My Oracle Support Banner

Script to Determine Which jar File Contains a Java Class (Doc ID 469276.1)

Last updated on FEBRUARY 28, 2025

Applies to:

Java Platform, Standard Edition - Version 1.3.1 and later
Oracle JDeveloper - Version 9.0.3 and later
Information in this document applies to any platform.
ALL PRODUCT ACCESS - Version: 0.0.0 to 0.0.0


Goal

 This script will list all jar/zip files which contain an specific java class.

The script will search for all jar/zip files under the directory tree rooted at the provided path.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
  
 Requirements
 Configuring
 Instructions
 Script
 Sample Output

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.