java.lang.Object cannot be resolved


I just got a new PC and installed a new version of eclipse on it. When I open my Workspace I found all the file in it got a "The type java.lang.Object cannot be resolved" error on the top. Do I need to do any configuration with this new installation of eclipse? Thanks.
Who is Participating?
Set its JRE to your installed JDK
Tommy BraasCommented:
It seems that there is a problem with your Java installation. Reinstall Java and try again.
Hi sdc248,

There need not be an installation problem. However, such a case might not be ruled out.

Check your project properties and go to Build Path... See if there is any warning there
saying some build path entries are missing... If so, fix the warnings first.

Also check the JRE as CEHJ suggested.

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

sdc248Author Commented:
problem solved. thanks a lot.
sdc248Author Commented:
I did what CEHJ said and it works.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.