Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Jul 2004 10:16:41 +0300
From:      Panagiotis Astithas <past@noc.ntua.gr>
To:        dennis@rootxs.nl
Cc:        freebsd-java@freebsd.org
Subject:   Re: Epiphany
Message-ID:  <40E3BA59.4030801@noc.ntua.gr>
In-Reply-To: <54175.80.56.108.82.1088633302.squirrel@mail.rootxs.nl>
References:  <54175.80.56.108.82.1088633302.squirrel@mail.rootxs.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Dennis Cabooter wrote:
> Hello,
> 
> I have tried many things to get *whatever what form of java* working in
> FreeBSD/GNOME/Epiphany. Please can you point me to a good manual? There's
> nothing happening at all.
> 
> I installed the native FreeBSD port and I get this:
> 
> LoadPlugin: failed to initialize shared library
> /usr/local/linux-sun-jdk1.4.2/jre/lib/i386/libjava.so [Shared object
> "libverify.so" not found]

If you have the native JDK, you shouldn't be trying to load the linux one.

> LoadPlugin: failed to initialize shared library
> /usr/local/linux-sun-jdk1.4.2/jre/lib/i386/client/libjvm.so [Shared object
> "libnsl.so.1" not found]
> LoadPlugin: failed to initialize shared library
> /usr/compat/linux/lib/libc-2.2.4.so [Shared object "ld-linux.so.2" not
> found]
> LoadPlugin: failed to initialize shared library
> /usr/compat/linux/lib/libdl-2.2.4.so [Shared object "ld-linux.so.2" not
> found]
> 
> All of the howto's doesn't work but there must be a solution somehow. I
> run FreeBSD 5.2.1 -current. And this:
> 
> $ ldd /usr/local/linux-sun-jdk1.4.2/jre/lib/i386/libjava.so
> ldd: /usr/local/linux-sun-jdk1.4.2/jre/lib/i386/libjava.so: not a FreeBSD
> ELF shared object
> 
> I also find very strange. Is it still a.out? Does it need emulation?
> Please can you help me out? Thanks in advance.

I have this symlink here, and it is working fine:

% ll /usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so
lrwxr-xr-x  1 root  wheel  62 Feb 19 10:24 
/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so@ -> 
/usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so

Cheers,
-- 
Panagiotis Astithas
Electrical & Computer Engineer, PhD
Network Management Center
National Technical University of Athens, Greece



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