Date: Sat, 06 Jun 2009 07:17:34 +0900 (JST) From: Maho NAKATA <chat95@mac.com> To: ronald-freebsd8@klop.yi.org Cc: brian@experts-exchange.com, freebsd-java@freebsd.org Subject: Re: openjdk dies with: could not find libjava.so as root Message-ID: <20090606.071734.193786085.chat95@mac.com> In-Reply-To: <op.uusrp1uh8527sy@82-170-177-25.ip.telfort.nl> References: <20090526.164036.55849859.chat95@mac.com> <20090526.205337.193713045.chat95@mac.com> <op.uusrp1uh8527sy@82-170-177-25.ip.telfort.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Sat_Jun__6_07_17_34_2009_097)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Ronald Klop <ronald-freebsd8@klop.yi.org> Subject: Re: openjdk dies with: could not find libjava.so as root Date: Sun, 31 May 2009 15:57:26 +0200 > On Tue, 26 May 2009 13:53:37 +0200, Maho NAKATA <chat95@mac.com> > wrote: > >> Hi >> I cannot launch openjdk java as root >> >> # 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 >> >> 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) >> >> strange :) >> best,ls -l /usr/X11R6 > lrwxr-xr-x 1 root wheel 10 Oct 26 2008 /usr/X11R6@ -> /usr/local > >> -- 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 > > I recommend removing /usr/X11R6/bin from all your paths. It isn't used > for several years now. > ls -l /usr/X11R6 > lrwxr-xr-x 1 root wheel 10 Oct 26 2008 /usr/X11R6@ -> /usr/local > > Removing it will give you one less possibility for failure because the > PATH is ambigious now. > > Ronald. > Strange, I don't have X11R6 everywhere... thanks for your info. -- 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 ----Security_Multipart(Sat_Jun__6_07_17_34_2009_097)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAkopmYAACgkQpcQqaPiEzfnLnQCgupELUFa8ccylsw5DXMrK/AYI ZD4An2o80+sOTCLu7K6DDdDcvSLYl8Oa =Iseg -----END PGP SIGNATURE----- ----Security_Multipart(Sat_Jun__6_07_17_34_2009_097)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090606.071734.193786085.chat95>