From owner-freebsd-java@FreeBSD.ORG Tue May 26 12:19:02 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64159106564A for ; Tue, 26 May 2009 12:19:02 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id B1EF88FC17 for ; Tue, 26 May 2009 12:19:01 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id n4QC3CsV022545; Tue, 26 May 2009 15:03:12 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id n4QC3BKl022544; Tue, 26 May 2009 15:03:11 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Tue, 26 May 2009 15:03:11 +0300 User-Agent: KMail/1.9.7 References: <20090510210726.C9DE52840C@chen.org.nz> <20090526.164036.55849859.chat95@mac.com> <20090526.205337.193713045.chat95@mac.com> In-Reply-To: <20090526.205337.193713045.chat95@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200905261503.11498.achill@matrix.gatewaynet.com> Cc: Maho NAKATA Subject: Re: openjdk dies with: could not find libjava.so as root 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: Tue, 26 May 2009 12:19:02 -0000 =CE=A3=CF=84=CE=B9=CF=82 Tuesday 26 May 2009 14:53:37 =CE=BF/=CE=B7 Maho NA= KATA =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > Hi > I cannot launch openjdk java as root >=20 > # which java > /usr/local/openjdk6/bin/java > root# java > Error: could not find libjava.so > Error: could not find Java 2 Runtime Environment. > root# pkg_info | grep openjdk > openjdk6-b16_1 Sun\'s java 6 virtual machine release under the GPL v2 >=20 > however as normal user: > % which java > /usr/X11R6/bin/java > % java -version > openjdk version "1.6.0-internal" > OpenJDK Runtime Environment (build 1.6.0-internal-maho_26_may_2009_11_16-= b00) > OpenJDK 64-Bit Server VM (build 11.0-b17, mixed mode) Are /usr/X11R6/bin/java and /usr/local/openjdk6/bin/java the same executabl= e? How about=20 ldd /usr/X11R6/bin/java=20 ldd /usr/local/openjdk6/bin/java=20 >=20 > strange :) > best, > -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ > Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt >=20 =2D-=20 Achilleas Mantzios