My imported eclipse project gives error the project was not build since the build path is incomplete. Cannot find the class file for java.lang.object

90 views Asked by At

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

There are 1 answers

2
Khalil M On

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