For a class we were given a bunch of .class files that we are supposed to use. I have them located in a folder called lib. I think I added the folder correctly to the build path correctly since a folder titled "Reference Libraries" appeared under my Project pane with a folder called lib containing all of the class files.

The problem I'm getting now is that when I try to compile the incomplete code, I get

it might be a package problem. if the .class files are meant to be in a package, they need to be in a folder with that package name, not in a folder called lib. are the .class files supposed to be part of a package?
–
JacobJun 30 '10 at 3:43

Are you compiling the code outside of eclipse? if yes then you have to add the lib to your classpath javac -cp lib .... if not, then i'm not so sure, eclipse should of complained with some red marks saying that it could find the class that you are using.