Eclipse Error

Hi

I get the following error when i build my project in Eclipse. Please let me know what is the problem :

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

Thanks

Nsri

[310 byte] By [nsria] at [2007-10-3 3:10:56]
# 1

The problem is probably the following:

> Project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object.

The best solution is probably to

> Fix the build path and then try building this project.

You might want to check the projects properties to see if the Java Runtime Environment is configure correctly.

JoachimSauera at 2007-7-14 21:01:45 > top of Java-index,Java Essentials,New To Java...
# 2

Does it really say java.lang.object? Or does it say java.lang.Object?

I'm assuming the latter. It probably means you have removed the JRE Library dependency from your project. Go into the preferences for the project, then select Build Path. Select the Libraries tab and make sure the JRE System Library is shown there (I guess it's not at the moment). If not, add it by clicking the Library... button and selecting the appropriate JRE System Library.

Herko_ter_Horsta at 2007-7-14 21:01:45 > top of Java-index,Java Essentials,New To Java...
# 3
How to fix the build path. Please explain
nsria at 2007-7-14 21:01:45 > top of Java-index,Java Essentials,New To Java...
# 4
- Right Click on your project- Properties- Java Build Path node- Fix all the bangs, (bangs being errors "!" ) in all of the tabs, especially Libraries
Tom_Timpsona at 2007-7-14 21:01:45 > top of Java-index,Java Essentials,New To Java...
# 5
Thanks. That error is fixed..
nsria at 2007-7-14 21:01:45 > top of Java-index,Java Essentials,New To Java...
# 6
Hi.. I am getting this error "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" and unable to fix it.let me know the way to fix it
Amal@2a at 2007-7-14 21:01:45 > top of Java-index,Java Essentials,New To Java...
# 7
- Right Click on your project- Properties- Java Build Path node- Fix all the bangs, (bangs being errors "!" ) in all of the tabs, especially Libraries ((c) Tom Timpson, 2006)
DavidKNa at 2007-7-14 21:01:45 > top of Java-index,Java Essentials,New To Java...
# 8
I did that but I dint find any errors in any of the tabs
Amal@2a at 2007-7-14 21:01:45 > top of Java-index,Java Essentials,New To Java...