java.lang.Object cannot be resolved

Posted on 2006-05-03
Last Modified: 2007-12-19

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.
Question by:sdc248
    LVL 14

    Expert Comment

    by:Tommy Braas
    It seems that there is a problem with your Java installation. Reinstall Java and try again.
    LVL 86

    Accepted Solution

    Set its JRE to your installed JDK
    LVL 10

    Expert Comment

    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.


    Author Comment

    problem solved. thanks a lot.

    Author Comment

    I did what CEHJ said and it works.
    LVL 86

    Expert Comment


    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
    Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
    The viewer will learn how to implement Singleton Design Pattern in Java.
    This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now