If you are sure that you can use your application to use all its banks, you can create a simple perl script:
while (<>) {
$l{$1}++ if m/\s+from\s+(.+\.jar)/;
}
for $l (keys(%l)) {
print "$l\n";
}
(let's call it list_jars.pl) and give it the output of a detailed run:
java -verbose -jar YOUR_APP.jar | perl list_jars.pl
which should contain a list of all loaded classes.
source
share