As suggested by Stanimir, this is probably an endorsed or boot classpath sort of issue.
In Eclipse one can put a project or a jar on the "boot" classpath, which has the same effect as the endorsed directory. Of course I don't know that Eric is using Eclipse as his IDE. - Brian