Link to home
Start Free TrialLog in
Avatar of sdc248
sdc248Flag for United States of America

asked on

java.lang.Object cannot be resolved

Hi:

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.
Avatar of Tommy Braas
Tommy Braas
Flag of Australia image

It seems that there is a problem with your Java installation. Reinstall Java and try again.
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of radarsh
radarsh

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.

________
radarsh
Avatar of sdc248

ASKER

problem solved. thanks a lot.
Avatar of sdc248

ASKER

I did what CEHJ said and it works.
:-)