When "javac" compiling the ".java" file, it searchs the ".class" files of super class and related classes used in your source files. If it could not find those classes, the error messages about "missing ..." would be returned.