From owner-freebsd-questions@FreeBSD.ORG Tue Sep 13 12:00:01 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 A77B716A41F for ; Tue, 13 Sep 2005 12:00:01 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out3.blueyonder.co.uk (smtp-out3.blueyonder.co.uk [195.188.213.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18FB043D48 for ; Tue, 13 Sep 2005 12:00:00 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [80.192.58.55] ([80.192.58.55]) by smtp-out3.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Tue, 13 Sep 2005 13:00:48 +0100 Message-ID: <4326BF3E.2050500@dial.pipex.com> Date: Tue, 13 Sep 2005 12:59:58 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.11) Gecko/20050903 X-Accept-Language: en-us, pl MIME-Version: 1.0 To: Beecher Rintoul References: <200509122006.22920.akbeech@gmail.com> <4326943C.2000602@dial.pipex.com> <200509130151.06940.akbeech@gmail.com> In-Reply-To: <200509130151.06940.akbeech@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Sep 2005 12:00:48.0553 (UTC) FILETIME=[C79E3990:01C5B85A] Cc: freebsd-questions@freebsd.org Subject: Re: Firefox & Java X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2005 12:00:01 -0000 Beecher Rintoul wrote: >On Tuesday 13 September 2005 12:56 am, Alex Zbyslaw wrote: > > >>Beecher Rintoul wrote: >> >> >>>I am attempting to get java working with firefox. I have both jdk 1.4 and >>>1.5 installed. Per google, I symlinked libjavaplugin_oji.so >>>to /usr/X11R6/lib/browser_plugins, but firefox doesn't work with either >>>jdk. No errors, just comes up saying plugin required. What else do I need >>>to do? I'd like to use 1.5 if possible. >>> >>> >>For a start show us: >> >> /bin/ls -l /usr/X11R6/lib/browser_plugins >> >> > >stargate# /bin/ls -l /usr/X11R6/lib/browser_plugins >total 20 >lrwxr-xr-x 1 root wheel 78 Sep 13 01:45 libjavaplugin_oji.so >-> /usr/local/linux-sun-jdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so > > >>and then >> >> /bin/ls -lL /usr/X11R6/lib/browser_plugins >> >> > >stargate# /bin/ls -lL /usr/X11R6/lib/browser_plugins >total 2726 >-rwxrwxr-x 1 root wheel 281996 Mar 4 2005 libjavaplugin_oji.so > OK, you got the link right, so it's not that. Two more suggestions: what does "about:plugins" show? Type it into the firefox address bar. It should show you all the plugins being recognised, and mine includes Java, Acrobat. Flash etc. If it isn't showing java then *maybe* it's that firefox doesn't like the linux version of the java plugin. I'm using the native FreeBSD version (ports/java/jdk14), so maybe installing that would help. I'm supposing that for the linux version to work you would have to have linux compatibility enabled, either in your kernel or as a loadable module. (As root) what does kldload linux show? Mine is loaded and I get: # kldload linux kldload: can't load linux: File exists If you get no error, then try restarting firefox and seeing if java now works. If it does then you need to make sure that linux module gets loaded at boot time: # echo linux_load="YES" >> /boot/loader.conf --Alex