if (args.length != 2) {
System.err.println("Please provide the library directory and the package name to search for.");
} else {
System.out.println("Searching for " + args[1] + " in " + args[0]);
LibDirectoryClassSource lib = new LibDirectoryClassSource(new SystemDirectory(args[0]), true);
List<ClassSource> sources = lib.getAllNonCompositeSources();
PackageSearchInfo info = new PackageSearchInfo(args[1]);
for (ClassSource source : sources) {
if (source.hasPackage(info)) {