Cleaned up Java package scanning.
Now scans for a smaller, predefined set of Java packages.