OOo 2.2 unable to talk to java
Peter Jeremy
peterjeremy at optushome.com.au
Sun May 27 08:59:07 UTC 2007
After my X.org upgrade, OOo is reporting that my java is defective.
Unfortunately, I'm not sure if this worked before.
Environment:
6.2-STABLE/amd64 from late April
jdk-1.5.0p4_2
openoffice.org-2.2.0_1
stderr:
Error occurred during initialization of VM
Unable to load native library: Shared object "libjvm.so" not found, required by "libjava.so"
JavaVM: JNI_CreateJavaVM called _exit, caught by abort_handler in javavm.cxx
[Java framework] sunjavaplugin.soCan not create JavaVirtualMachine, abort handler was called.
Both /usr/local/openoffice.org-2.2.0/share/config/javavendors.xml and
/home/peter/.openoffice.org2/user/config/javasettings_FreeBSD_X86_64.xml
appear correct. libjvm.so _is_ correctly found and opened but a bit
later, OOo opens /usr/local/jdk1.5.0/jre/lib/amd64/libjava.so and it
tries to find libjvm.so in
/usr/local/jdk1.5.0/jre/lib/amd64/client/libjvm.so rather than
/usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so
This looks like an incorrect rpath or LD_LIBRARY_PATH somewhere but I'm
not sure whether this is a java or OOo problem.
Has anyone else run into this?
--
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-openoffice/attachments/20070527/8a49dfb2/attachment.pgp
More information about the freebsd-openoffice
mailing list