Compiling packages


I have problems compiling packages. A program that imports only java utils works fine, but if I try to import a package from my own source dir it says the package does not exist. I checked the classpath but it is set to my source dir, so that should be fine. What is it that I’m doing wrong?

Please help,