Linux JDK 1.6 For FreeBSD

Jean-Baptiste Quenot jbq at caraldi.com
Wed May 16 09:00:56 UTC 2007


* 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/


More information about the freebsd-java mailing list