This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes error in build path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "error in build path" Watch "error in build path" New topic
Author

error in build path

christine clarin
Ranch Hand

Joined: Feb 05, 2005
Posts: 106
hi i am having this error in building one of my projects in eclipse:

"The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project"

how do i resolve this? i don't know why it can't recognize java.lang.Object since all the others do. thanks!
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8877
    
    8

In Eclipse's menu toolbar, click on "Project" then click on "Properties".
Your project properties window should appear. On the left-hand side tree, click on "Java Build Path". There will be 4 tabs on the right-hand side window. Click on "Libraries". In my configuration, java.lang.Object is in the rt.jar provided by the JRE. Make sure you have a jar that has java.lang.Object in your libraries tab and that the jar exists (just in case you upgraded your JRE or something like that).


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Moving to our "IDEs" forum.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error in build path