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

advertisements

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

Location:https://dl-ssl.google.com/android/eclipse

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

Have a good day!!!