getPackagePath and getClassPath should now work for the most cases