You most likely have a classpath problem: you have two classes which are in different packages and if they aren't in the correct directories the compiler and JVM won't find them, so you need to tell...