title: Eclipse not implementing .class files that are provided, and not able to super those classes in the project
body: <p>I have scoured this website for the answer, but none of the solutions I have found worked for me. Please mark as duplicate and paste link if you know that post is the answer.</p>
  
  <p>Anyway, what is happening is I am using Eclipse for my Java project. My professor emailed us classes that he coded and wants us to use for part of the project. I have not been able to figure out for the life of me how eclipse imports these .class files into the project. I have tried several solutions from other posts like linking the folder with the .class files, and none of that worked.</p>
  
  <p>The reason I know it does not work is because I am supposed to be able to do "extends MessageState" etc. (MessageState is one of the .class files he sent us), and yet I get an error that Eclipse doesn't know what that is referencing (because it thinks it does not exist). The classes he sent are all super classes of my subclasses that I have to code myself in the project.</p>
  
  <p>Let me know any ideas you have and I will try them out.</p>
  
  <p>"EDIT"</p>
  
  <p>The link provided was the first thing I tried, and it does not work. I still am getting an error in my class that <em>extends</em> one of the classes he provided to us. I need to use what is in his superclasses (.class, not .java) for my subclasses (.java) that I am currently writing. Here is what it looks like:</p>
  
  <pre><code>public class ServerBeginState extends MessageState
  </code></pre>
  
  <p>The error is on the "MessageState" which eclipse says: "MessageState cannot be resolved to a type"</p>
  
  <p>This would mean that MessageState doesn't exist and needs to be created, but for some reason I am not linking the classes to this project correctly. That is what I am asking the question for.</p>