Forums Register Login

error in build path

+Pie Number of slices to send: Send
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!
+Pie Number of slices to send: Send
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).
+Pie Number of slices to send: Send
Moving to our "IDEs" forum.
Time is the best teacher, but unfortunately, it kills all of its students - Robin Williams. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1184 times.
Similar Threads
error in build path
eclipse
Unable to create a servlet in eclipse IDE?
Please help, eclipse reinstalled, now can't find object class
Build Error:classpath is incomplete
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 22:38:02.