LibDirectoryClassSource lib = new LibDirectoryClassSource(new SystemDirectory(args[0]), true);
List<ClassSource> sources = lib.getAllNonCompositeSources();
for (ClassSource source : sources) {
try {
ClassInfo info = source.getClassInfo(new ClassSearchInfo(args[1]));
System.out.println("Found in " + info.getSource());
} catch (ClassNotFoundException e) {}
}
}