From owner-freebsd-ports@FreeBSD.ORG Mon Jul 23 14:21:25 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 396ED16A41F for ; Mon, 23 Jul 2007 14:21:25 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 06E2213C48D for ; Mon, 23 Jul 2007 14:21:24 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 8587 invoked from network); 23 Jul 2007 09:21:24 -0500 Received: from 203-206-233-219.dyn.iinet.net.au (HELO localhost) (203.206.233.219) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 23 Jul 2007 09:21:24 -0500 Date: Tue, 24 Jul 2007 00:21:20 +1000 From: Norberto Meijome To: "Chris Billington" Message-ID: <20070724002120.4dd32ec3@localhost> In-Reply-To: <6d0bead20707230230h1ace46dtee41f74ad2afe96a@mail.gmail.com> References: <6d0bead20707230230h1ace46dtee41f74ad2afe96a@mail.gmail.com> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: JDK for linux-firefox 2.0.0.5 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2007 14:21:25 -0000 On Mon, 23 Jul 2007 11:30:34 +0200 "Chris Billington" wrote: > Dear list, > > Which jdk should be used for the current version of linux-firefox > (2.0.0.5)? (6.2-STABLE) > > I have tried linux-blackdown/jdk14, linux-sun/jdk15, and even the > latest linux jdk 1.6 from the Sun website. linux-sun/jdk15 reports > security vulnerabilities and won't install. > > All of the above 3 report successful plugin installation after making > the symlink to libjavaplugin_oji.so in the > /usr/local/lib/linux-firefox/plugins directory, but fail to run > website Java applets or show correct installation on the Sun Java test > page http://www.java.com/en/download/help/testvm.xml I imagine the java plugin doesn't show in about:plugins . In that case, make sure that you have (well, this was for linux-firefox with the lot): /usr/local/lib/linux-firefox/plugins $ ls -l total 20 lrwxr-xr-x 1 root wheel 54 Nov 4 19:11 flashplayer.xpt -> /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt lrwxr-xr-x 1 root wheel 56 Nov 4 19:11 libflashplayer.so -> /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so lrwxr-xr-x 1 root wheel 80 Nov 4 19:41 libjavaplugin_oji.so -> /usr/local/linux-blackdown-jdk1.4.2/jre/plugin/i386/mozilla/libjavaplugin_oji.so lrwxr-xr-x 1 root wheel 46 Nov 4 23:27 libmozsvgdec.so -> /usr/local/lib/browser_plugins/libmozsvgdec.so -rwxr-xr-x 1 root wheel 19160 Oct 11 16:57 libnullplugin.so lrwxr-xr-x 1 root wheel 63 Nov 4 19:11 mplayerplug-in-dvx.so -> /usr/local/lib/npapi/linux-mplayerplug-in/mplayerplug-in-dvx.so lrwxr-xr-x 1 root wheel 64 Nov 4 19:11 mplayerplug-in-dvx.xpt -> /usr/local/lib/npapi/linux-mplayerplug-in/mplayerplug-in-dvx.xpt lrwxr-xr-x 1 root wheel 62 Nov 4 19:11 mplayerplug-in-qt.so -> /usr/local/lib/npapi/linux-mplayerplug-in/mplayerplug-in-qt.so lrwxr-xr-x 1 root wheel 63 Nov 4 19:11 mplayerplug-in-qt.xpt -> /usr/local/lib/npapi/linux-mplayerplug-in/mplayerplug-in-qt.xpt lrwxr-xr-x 1 root wheel 62 Nov 4 19:11 mplayerplug-in-rm.so -> /usr/local/lib/npapi/linux-mplayerplug-in/mplayerplug-in-rm.so lrwxr-xr-x 1 root wheel 63 Nov 4 19:11 mplayerplug-in-rm.xpt -> /usr/local/lib/npapi/linux-mplayerplug-in/mplayerplug-in-rm.xpt lrwxr-xr-x 1 root wheel 63 Nov 4 19:11 mplayerplug-in-wmp.so -> /usr/local/lib/npapi/linux-mplayerplug-in/mplayerplug-in-wmp.so lrwxr-xr-x 1 root wheel 64 Nov 4 19:11 mplayerplug-in-wmp.xpt -> /usr/local/lib/npapi/linux-mplayerplug-in/mplayerplug-in-wmp.xpt lrwxr-xr-x 1 root wheel 59 Nov 4 19:11 mplayerplug-in.so -> /usr/local/lib/npapi/linux-mplayerplug-in/mplayerplug-in.so lrwxr-xr-x 1 root wheel 60 Nov 4 19:11 mplayerplug-in.xpt -> /usr/local/lib/npapi/linux-mplayerplug-in/mplayerplug-in.xpt lrwxr-xr-x 1 root wheel 47 Nov 4 23:31 nphelix.so -> /usr/X11R6/lib/linux-mozilla/plugins/nphelix.so lrwxr-xr-x 1 root wheel 48 Nov 4 23:31 nphelix.xpt -> /usr/X11R6/lib/linux-mozilla/plugins/nphelix.xpt lrwxr-xr-x 1 root wheel 59 Nov 4 23:30 nppdf.so -> /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so But you really want this : sudo ln -s /usr/local/linux-blackdown-jdk1.4.2/jre/plugin/i386/mozilla/libjavaplugin_oji.so /usr/local/lib/linux-firefox/plugins/libjavaplugin_oji.so > The jdk1.6 linux binary installer hangs the browser on the test page. > > Which is the most suitable JVM for the linux-firefox port? I used to have linux-blackdown 1.4 running with no problem. > > nspluginwrapper port is installed. Are any other ports required, for > example linuxpluginwrapper? (this last one doesn't seem to make any > difference). > > Obviously I would prefer to use the native Firefox, but there are > stability and audio issues with the Flash plugin that make this > difficult. Works fine here: ffox native, native jdk 1.5, flash 7, acrobat reader, most multimedia formats inline There have been a couple of threads in July in questions@ about this. firefox-2.0.0.5,1 javavmwrapper-2.3 diablo-jdk-1.5.0.07.01_6 linux-flashplugin-7.0r69 nspluginwrapper-0.9.91.4_2 B _________________________ {Beto|Norberto|Numard} Meijome "There are two kinds of stupid people. One kind says,'This is old and therefore good'. The other kind says, 'This is new, and therefore better.'" John Brunner, 'The Shockwave Rider'. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.