K
keperry
Our professor gives us .class files to use for our homework because
they contain methods/classes that are needed with the other source
files he provides. The problem is that Eclipse doesn't recognize these
..class files, and makes all my other .java files show errors.
I guess what I mean by doesn't recognize is that if there is a file
that has a class named "NewClass" called NewClass.class and I import
that into my eclipse project, then when I use OtherClass.java and try
to instantiate an NewClass object, then Eclipse doesn't recognize it.
Is there a way to fix this?
Btw - command-line compilation works fine of course, but this doesn't
let me use the power of Eclipse
Thanks,
Keith
they contain methods/classes that are needed with the other source
files he provides. The problem is that Eclipse doesn't recognize these
..class files, and makes all my other .java files show errors.
I guess what I mean by doesn't recognize is that if there is a file
that has a class named "NewClass" called NewClass.class and I import
that into my eclipse project, then when I use OtherClass.java and try
to instantiate an NewClass object, then Eclipse doesn't recognize it.
Is there a way to fix this?
Btw - command-line compilation works fine of course, but this doesn't
let me use the power of Eclipse
Thanks,
Keith