[fedora-java] Java build on rawhide

Andrew Overholt overholt at redhat.com
Sat Feb 23 21:26:13 UTC 2008


* orion at cora.nwra.com <orion at cora.nwra.com> [2008-02-23 15:34]:
> > * Orion Poplawski <orion at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-java-list/attachments/20080223/0bd382c8/attachment.sig>


More information about the fedora-devel-java-list mailing list