From owner-freebsd-java@FreeBSD.ORG Thu Jul 1 07:17:00 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45D7716A4CE for ; Thu, 1 Jul 2004 07:17:00 +0000 (GMT) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0211843D55 for ; Thu, 1 Jul 2004 07:16:59 +0000 (GMT) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by ulysses.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id i617GfSi062416; Thu, 1 Jul 2004 10:16:41 +0300 (EEST) (envelope-from past@noc.ntua.gr) Received: from [147.102.220.45] (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.11/8.12.11) with ESMTP id i617GfC9014615; Thu, 1 Jul 2004 10:16:41 +0300 (EEST) (envelope-from past@noc.ntua.gr) Message-ID: <40E3BA59.4030801@noc.ntua.gr> Date: Thu, 01 Jul 2004 10:16:41 +0300 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla Thunderbird 0.6 (X11/20040609) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dennis@rootxs.nl References: <54175.80.56.108.82.1088633302.squirrel@mail.rootxs.nl> In-Reply-To: <54175.80.56.108.82.1088633302.squirrel@mail.rootxs.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Epiphany X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 07:17:00 -0000 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