Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2007 00:21:20 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        "Chris Billington" <billington.chris@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: JDK for linux-firefox 2.0.0.5
Message-ID:  <20070724002120.4dd32ec3@localhost>
In-Reply-To: <6d0bead20707230230h1ace46dtee41f74ad2afe96a@mail.gmail.com>
References:  <6d0bead20707230230h1ace46dtee41f74ad2afe96a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 23 Jul 2007 11:30:34 +0200
"Chris Billington" <billington.chris@gmail.com> 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.



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