I have some jars being referenced by classpath JVM arg (-cp) and other referenced by a pathing jar that includes additional jars via a Manifest file.
At runtime, how can I check the presence of a class that scans the -cp jars as well as those referenced by the pathing jar? This is required for some initialization task that scans classes for a particular annotation.