title: Java project in Eclipse: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
body: <p>I am getting the following error after importing a project in Eclipse:</p>
  
  <blockquote>
    <p>The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files</p>
  </blockquote>
  
  <p>However, I have set the path as <strong>C:\Program Files\Java\jdk1.6.0_41</strong> in Eclipse Kepler, through <strong>Window » Preferences » Java » Installed JREs</strong>.</p>