Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2007 11:01:04 +0200
From:      Jean-Baptiste Quenot <jbq@caraldi.com>
To:        freebsd-java@freebsd.org
Subject:   Re: Linux JDK 1.6 For FreeBSD
Message-ID:  <20070516090103.GG42295@zoupla.cottages>
In-Reply-To: <20070516081041.GE42295@zoupla.cottages>
References:  <20070325120020.13D2F16A40F@hub.freebsd.org> <200703261213.09921.js@jschneider.com> <op.tps78jis8527sy@guido.klop.ws> <20070516075749.GD42295@zoupla.cottages> <20070516081041.GE42295@zoupla.cottages>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jean-Baptiste Quenot:
> 
> Well, I may have been a bit optimistic.  It works on i386 but
> actually I just tested the linux-sun-jdk1.6.0 port on amd64 and it
> is failing with this error:
> 
> /usr/local/linux-sun-jdk1.6.0/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory

Jozef Babjak suggested me to set LD_LIBRARY_PATH, and it works:

LD_LIBRARY_PATH=/usr/local/linux-sun-jdk1.6.0/jre/lib/i386/jli java

Thanks Jozef!
-- 
     Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070516090103.GG42295>