extends "cannot be resolved to a type"



My source code is in the following locations.
http://terrorpin.net/~ben/docs/comp/lang/java/HelloDate.java
http://terrorpin.net/~ben/docs/comp/lang/java/HelloDate2.java

I am using IBM PowerPC Linux JDK 1.5 on Fedora Core 6. HelloDate.java compiles fine and produces a working class. When I try to compile HelloDate2.java, I get an error. What does this error message actually mean?


[ben@tidbit bens]$ javac HelloDate2.java
----------
1. ERROR in HelloDate2.java (at line 1)
class HelloDate2 extends HelloDate
^^^^^^^^^
HelloDate cannot be resolved to a type
----------
2. ERROR in HelloDate2.java (at line 5)
printDate();
^^^^^^^^^
The method printDate() is undefined for the type HelloDate2
----------
2 problems (2 errors)
.