0

i have imported a existing project to eclipse but it gives errors for java files only i have set libraries i have also set window>preferences>installed jres.BUt the problem is not solved. The error message is the project was not build since the build path is incomplete. Cannot find the class file for java.lang.object. Fix the error. error screenshot

1 Answers1

0

right click on project -> properties ->java build path -> libraries -> add library choose JRE system library and pick workspace default JRE , also check your SDK path windows -> preferences -> android and browse your SDK location then restart eclipse

Khalil M
  • 1,788
  • 2
  • 22
  • 36
  • I have already did this project -> properties ->java build path -> libraries -> add library choose JRE system library and pick workspace default JRE but iam getting the same error but for sdk i cant find Android option in window > preferences screenshot – syed osman makki Aug 22 '16 at 10:12
  • If you can't see it too you 're missing the whole android plugin – Khalil M Aug 22 '16 at 10:23