[Open Office] JRE register fails when building 2.0.4 on Mandriva 2007 x86_64

Atle Nissestad atle.nissestad at norbit.no
Wed Oct 25 18:22:24 EDT 2006


> On 20/10/2006, at 6:43 AM, Atle Nissestad wrote:
>
>>
>> [Java framework] Executing: file:///usr/bin/gij-4.1.1.
>>
>> Could I be missing a library or something, that causes gij to report
>> insufficient properties to javaldx ?
>
Seems that I have managed to find the cause of the error:

The java framework searches for the run-time library, libgcj.so.7, in
/usr/lib instead of /usr/lib64. If I do some ugly hacks in
/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx to provide the correct
library path, building bridgetest completes sucessfully. But ... What is
the proper way to tell the java framework which library path(s) to use ?
Or should the libraries have been provided by java-gcj-compat (the
Jvmfwk is also searching for
/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/libgcj.so.7) ?

Atle



More information about the Openoffice mailing list