From owner-freebsd-questions@FreeBSD.ORG Thu Mar 24 05:57:58 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C1F416A4CE for ; Thu, 24 Mar 2005 05:57:58 +0000 (GMT) Received: from fed1rmmtao12.cox.net (fed1rmmtao12.cox.net [68.230.241.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34C3E43D1D for ; Thu, 24 Mar 2005 05:57:58 +0000 (GMT) (envelope-from mnavarre@cox.net) Received: from [192.168.1.13] (really [68.6.195.68]) by fed1rmmtao12.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050324055756.JZVP13819.fed1rmmtao12.cox.net@[192.168.1.13]>; Thu, 24 Mar 2005 00:57:56 -0500 Message-ID: <424256E5.2000705@cox.net> Date: Wed, 23 Mar 2005 21:57:57 -0800 From: Matt Navarre User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: crzdgns1@starpower.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Newbie Java Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 05:57:58 -0000 crzdgns1@starpower.net wrote: > Hello, > > I am having trouble installing Java on my computer. I am > primarily interested in the virtual machine. I tried > following the instructions in the handbook, to no success. > Most recently I tried installing Blackdown. Here is what I > did. I went to the Ports collection as root and found > linux-blackdown-jdk1.4.2 and performed make install clean. > There were no error messages. That sequence created a > directory (/usr/local/linux-blackdown-jdk1.4.2). Next, I > changed directories (/usr/X11R6/lib/mozilla/plugins) and > created a symbolic link to libjavaplugins_oji.so (ln -s > /usr/local/linux-blackdown-jdk1.4.2/jre/plugins/ > i386/mozilla/libjavaplugins_oji.so). Next, I exited root and > became user. Then I typed > %export PATH=/usr/local/linux-blackdown-jdk1.4.2/bin:$PATH > > Then I exited all open terminals and restarted Mozilla with > mozilla, and the following error messages were reported. > > >>Error: No running window found. >>LoadPlugin: failed to initialize shared library >>/usr/X11R6/lib/browser_plugins/ShockwaveFlash_linux.so >>[/usr/X11R6/lib/browser_plugins/ShockwaveFlash_linux >>.so: invalid file format] >>LoadPlugin: failed to initialize shared library >>/usr/local/linux-blackdown-jd >>k1.4.2/jre/plugin/i386/mozilla/libjavaplugin_oji.so [Shared >>object "libdl.so.2" not found, required by >>"libjavaplugin_oji.so"] > Completely off the top of my head, and assuming you're running a native FreeBSD version of mozilla, I'd say you need to install the linux-pluginwrapper port. Both the linux-blackdown JDK and the Flash plugins that mozilla is whining about are linux shared libs, a FreeBSD program can't load them without help. OK, Matt