openoffice build failure

NAKATA Maho chat95 at mac.com
Mon Sep 18 16:06:42 PDT 2006


From: Michael Butler <imb at protected-networks.net>
Subject: Re: openoffice build failure
Date: Sat, 16 Sep 2006 17:17:51 -0400

> configure:20317: javac  Test.java
> ----------
> 1. ERROR in Test.java
>  (at line 1)
>         /* #line 20312 "configure" */
>         ^
> The type java.lang.Object cannot be resolved. It is indirectly
> referenced from required .class files

I spent several hours to investigate and tried to fix it...

You specified WITH_GNUGCJ, this is the reason for the brekage.
javac at /usr/local/lib/jvm/java-gcj41/bin/ is actually ecj for you.
Somehow, ecj doesn't find bootstrappath as
 /usr/local/share/java/libgcj-4.1.2.jar
so java.lang.Object cannot be resolved.

IIRC, I verified that older version of gcc-4.1, but recent version
even sun.boot.path seems to be empty.

I'll fix it hopefully soon...
-- NAKATA, Maho (maho at FreeBSD.org)
 


More information about the freebsd-openoffice mailing list