I could not find a clear answer to this question elsewhere, so I\'ll try here:
Is there some way (programmatic or other) to get a list of JARs/classes loaded by an A
Go through the Protection Domain of the class (the location/certificate combination). e.g. for PDFParser.class you get it like this...
PDFParser.class.getProtectionDomain().getCodeSource().getLocation().toString()
If it is loaded from the jre classes or from endorsed dirs it will throw an exception cos these classes load without protection...