* orion@cora.nwra.com orion@cora.nwra.com [2008-02-23 15:34]:
- Orion Poplawski orion@cora.nwra.com [2008-02-22 19:03]:
^
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files [...] Suggestions?
This usually indicates something is wrong with bootclasspath.
Andrew
Okay, how would I go about diagnosing this? Sorry, I'm still pretty green with Java.
You'll have to see how that is being compiled. On the actual javac line (either an ant <javac> call or something else) see if something is setting bootclasspath. Chances are it's set to something that doesn't exist. In most cases (especially with java-gcj-compat, IcedTea, or the Sun VM), it shouldn't be need to be set. I've seen it used often with the IBM VM which splits up its core classes among multiple jars -- as opposed to rt.jar which the others use.
HTH,
Andrew