openjdk dies with: could not find libjava.so as root
Dmitry Samersoff
dms at samersoff.net
Sun May 31 15:40:59 UTC 2009
Maho,
Run truss and see what happens ...
-Dmitry
Maho NAKATA 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,
> -- 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
--
Dmitry Samersoff
dms at samersoff.net, http://devnull.samersoff.net
* There will come soft rains ...
More information about the freebsd-java
mailing list