First of all, a good place to look for help when you have an error developing a Java program is the Sun site, which gives a good list of potential problems and their solutions here.