Redirected from freebsd-openoffice because this appears to be a jdk bug. On 2007-May-27 18:27:21 +1000, Peter Jeremy <peter_(_at_)_turion_(_dot_)_vk2pj_(_dot_)_dyndns_(_dot_)_org> wrote: >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 I've rebuilt OOo without effect. Looking at my i386 systems, they have both client and server libjvm's so the problem would appear to be jdk on my amd64 system. Is there a fix or work-around? -- Peter Jeremy
Attachment:
pgpgVGg6YdLOK.pgp
Description: PGP signature