From owner-freebsd-java@FreeBSD.ORG Mon May 28 19:43:02 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D28516A46D for ; Mon, 28 May 2007 19:43:02 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 71E0313C46E for ; Mon, 28 May 2007 19:43:01 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l4SJNDP3058774 for ; Tue, 29 May 2007 05:23:13 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l4SJNDgw058773 for freebsd-java@freebsd.org; Tue, 29 May 2007 05:23:13 +1000 (EST) (envelope-from peter) Date: Tue, 29 May 2007 05:23:13 +1000 From: Peter Jeremy To: freebsd-java@freebsd.org Message-ID: <20070528192313.GA58438@turion.vk2pj.dyndns.org> References: <20070527082705.GZ1992@turion.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <20070527082705.GZ1992@turion.vk2pj.dyndns.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.15 (2007-04-06) Subject: Re: OOo 2.2 unable to talk to java X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2007 19:43:02 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Redirected from freebsd-openoffice because this appears to be a jdk bug. On 2007-May-27 18:27:21 +1000, Peter Jeremy = 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 =20 > >stderr: >Error occurred during initialization of VM >Unable to load native library: Shared object "libjvm.so" not found, requir= ed by "libjava.so" >JavaVM: JNI_CreateJavaVM called _exit, caught by abort_handler in javavm.c= xx >[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? --=20 Peter Jeremy --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGWywh/opHv/APuIcRAqN7AJ938O/lN5culVuCk/9hu8Ww6X5voACcDXIk bBlz1/eTZJJU7msxrEzuAP8= =YmcR -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--