Unable to find the class file for java.lang.Object


I reinstalled my eclipse. and then imported all the projects in the Eclipse, but every project has a common error:

Cannot find the class file for java.lang.Object. at Line 1.

I have checked my Java Path. But not able to sort it out.

Check this if it works:

There is a problem with your java repositories. I guess..:

goto Help>Install New Software> Click on Add Button .

on popup:

Name: ADT


Install all the available softwares in the list. This may work.

Have a good day!!!