Re: Firefox Java plugin with 7.0?

From: Yuri Lukin <lists_at_swaggi.com>
Date: Tue, 30 Oct 2007 17:05:43 -0500
On Mon, 29 Oct 2007 19:05:34 -0500, Yuri Lukin wrote
> I'm like to ask what people are using for Java plugin with Firefox. 
> There were a few recent threads on this subject but no definitive answer:
> 
> http://lists.freebsd.org/pipermail/freebsd-current/2007-October/078038.html
> http://lists.freebsd.org/pipermail/freebsd-current/2007-October/078492.html
> 
> I tried compiling jdk15 port and was able to build it and install it
> successfully. However, when trying to load a java applet in Firefox, 
> the browser seemingly crashes (exits). I then tried following the 
> method described in the handbook by downloading the
diablo-jre-freebsd6.i386.1.5.0.07.01.tbz
> package from FreeBSD Foundation website and adding it with pkg_add. 
> Trying to load java applets crashes Firefox. In both cases,
>  javavmwrapper was installed and about:plugins in Firefox shows that 
> java plugin is installed. Is there a working combination for
7.0-PRERELEASE/BETA?
> 
> My system is:
> 
> # uname -a
> 
> FreeBSD  7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Mon Oct 15 
> 13:02:17 EDT 2007     swaggy_at_:/usr/obj/usr/src/sys/T61  i386
> # pkg_info | grep java
> javavmwrapper-2.3   Wrapper script for various Java Virtual Machines
> # pkg_info | grep firefox
> firefox-2.0.0.8,1   Web browser based on the browser portion of Mozilla
> 
> # ls -la /usr/local/lib/browser_plugins/
> total 96
> drwxr-xr-x   2 root  wheel    512 Oct 29 19:22 .
> drwxr-xr-x  54 root  wheel  31232 Oct 29 13:26 ..
> -rw-r--r--   1 root  wheel      0 Oct 20 00:20 .firefox.keep
> lrwxr-xr-x   1 root  wheel     63 Oct 29 19:22 libjavaplugin_oji.so -
> > /usr/local/diablo-jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so -
> rwxr-xr-x   1 root  wheel  62192 Sep 12 14:21 npwrapper.libflashplayer.so
> 
> Currently with jre from FreeBSD foundation site:
> # pkg_info | grep jre
> diablo-jre-1.5.0.07.01 Java Runtime Environment 1.5.0_07.01
> 

I found an answer off-list. In case anyone is wondering, I had to first
install java/diablo-jdk15 (with compat6x), then install java/jdk15. After
that, I simply removed diablo-jdk15 and added a symlink to
/usr/local/lib/browser_plugins in order for Firefox to recognize the browser
plugin. Works great now. Many thanks to Vlad Galu for the answer. 

 Yuri
Received on Tue Oct 30 2007 - 21:45:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:20 UTC