Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Compiling swt in eclipse - cannot find java.lang.Object

I created an org.eclipse.swt project from the eclipse cvs repository. When I
try to build it, I get the error:
"The project was not built since its classpath is incomplete. Can not find
the class file for java.lang.Object. Fix the classpath then try rebuilding
this project org.eclipse.swt "

The errors in the tree lead to "org.eclipse.swt.graphics.Color" in
"org.eclipse.swt/carbon"
How can I fix this?

If I try to edit the project properties, it asks to delete the contents of
bin, and then generates somewhere around 32k errors trying to rebuild. The
same thing happens if I use the Update Classpath command on the project.

I notice that there are .classpath files for several subprojects (ie
.classpath_carbon), but there doesn't seem to be a root .classpath. Should
there be? The .classpath_carbon does list JRE_LIB as part of the classpath.

Alan





Back to the top