From owner-freebsd-java@FreeBSD.ORG Thu Nov 15 14:00:01 2012 Return-Path: Delivered-To: freebsd-java@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56B8BD62 for ; Thu, 15 Nov 2012 14:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 3943F8FC13 for ; Thu, 15 Nov 2012 14:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qAFE01bQ001485 for ; Thu, 15 Nov 2012 14:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qAFE01xo001477; Thu, 15 Nov 2012 14:00:01 GMT (envelope-from gnats) Date: Thu, 15 Nov 2012 14:00:01 GMT Message-Id: <201211151400.qAFE01xo001477@freefall.freebsd.org> To: freebsd-java@FreeBSD.org Cc: From: Alexander Yerenkow Subject: Re: java/166844: openjdk7 can't open library when remote debug enabled X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Alexander Yerenkow List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2012 14:00:01 -0000 The following reply was made to PR java/166844; it has been noted by GNATS. From: Alexander Yerenkow To: bug-followup@FreeBSD.org, lxu@sandvine.com Cc: Subject: Re: java/166844: openjdk7 can't open library when remote debug enabled Date: Thu, 15 Nov 2012 15:50:56 +0200 --e89a8fb1f8d2b9133704ce88f079 Content-Type: text/plain; charset=ISO-8859-1 Actually this should be easily fixed in our javavmwrapper; tryJavaCommand () { ... should check if we are trying to run openjdk7's java, and simply made: export LD_LIBRARY_PATH=/usr/local/openjdk7/jre/lib/amd64:$LD_LIBRARY_PATH then all goes well (it seems so). -- Regards, Alexander Yerenkow --e89a8fb1f8d2b9133704ce88f079 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Actually this should be easily fixed in our javavmwrapper;=A0

tryJavaCommand () {
...
should check if we are trying to run openjdk7's java, and s= imply made:

=A0 export LD_LIBRARY_PATH=3D/usr/local/openjdk7/= jre/lib/amd64:$LD_LIBRARY_PATH = = =A0

then all goes well (it seems so).

<= /div>

--
Regards,
Alexander Yerenkow
--e89a8fb1f8d2b9133704ce88f079--