Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2007 18:27:21 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        freebsd-openoffice@freebsd.org
Subject:   OOo 2.2 unable to talk to java
Message-ID:  <20070527082705.GZ1992@turion.vk2pj.dyndns.org>

next in thread | raw e-mail | index | archive | help

--+ts6NCQ4mrNQIV8p
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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            =20

stderr:
Error occurred during initialization of VM
Unable to load native library: Shared object "libjvm.so" not found, require=
d by "libjava.so"
JavaVM: JNI_CreateJavaVM called _exit, caught by abort_handler in javavm.cxx
[Java framework] sunjavaplugin.soCan not create JavaVirtualMachine, abort h=
andler 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?

--=20
Peter Jeremy

--+ts6NCQ4mrNQIV8p
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGWUDp/opHv/APuIcRAggKAJ9gL3xpqXrm7jtJNGmGahq9Ug0V3ACgkX2k
/9DMvYP+N8pW5LNDJzXdzPo=
=/Aj4
-----END PGP SIGNATURE-----

--+ts6NCQ4mrNQIV8p--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070527082705.GZ1992>