| Summary: | [patch] Handbook Section 6.2.2: Firefox and Java plugin covers Java JRE, not JDK | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | Glen Barber <glen.j.barber> | ||||
| Component: | Books & Articles | Assignee: | Marc Fonvieille <blackend> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Glen Barber
2009-08-13 01:00:18 UTC
Responsible Changed From-To: freebsd-doc->blackend Let's grab it. Hi, One thing I left out of the patch is regarding the /usr/local/lib/browser_plugins/ directory. The Handbook does not mention if this directory needs to be manually created, but it does not exist on my system (by any installed www/firefox port). However, I am not certain if www/firefox* will look there if it exists, which is why I did not change those lines in the patch. The reason I bring this up is that I had to use /usr/local/lib/firefox3/plugins/ or /usr/local/lib/firefox/plugins/, respectively. -- Glen Barber On Thu, Aug 13, 2009 at 10:02:42AM -0400, Glen Barber wrote:
> Hi,
>
> One thing I left out of the patch is regarding the
> /usr/local/lib/browser_plugins/ directory. The Handbook does not
> mention if this directory needs to be manually created, but it does
> not exist on my system (by any installed www/firefox port). However,
> I am not certain if www/firefox* will look there if it exists, which
> is why I did not change those lines in the patch. The reason I bring
> this up is that I had to use /usr/local/lib/firefox3/plugins/ or
> /usr/local/lib/firefox/plugins/, respectively.
>
If /usr/local/lib/browser_plugins/ exists, java package will "install" a
link in that directory so we don't need anymore to mention the 'ln -s ...'
Of course, that means one must have a
/usr/local/lib/browser_plugins directory before installing the java
package.
But this link is not enough with Firefox 3.5 (did not recheck with other
version of Firefox).
If I do a
ln -s /usr/local/diablo-jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so \
$HOME/.mozilla/plugins/
it works. I wonder if it's the same with other Firefox versions. Could
you check if
ln -s /usr/local/diablo-jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so \
$HOME/.mozilla/plugins/
(or jdk)
is enough in your case as well? I think it's simplier than adding a
link to /usr/local/lib/firefox3/plugins/ or
/usr/local/lib/firefox/plugins/
--
Marc
Hi, Marc Yes, the following does work (tested on Firefox 3.0.11): ln -s /usr/local/diablo-jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so \ $HOME/.mozilla/plugins/ Personally, I like that idea better than separate cases for /usr/local/lib/firefox*/ or /usr/local/lib/browser_plugins/ -- Glen Barber State Changed From-To: open->closed Ok, I modified this section according to the audit-trail, i.e., use of $HOME/.mozilla/plugins/ and addition of diablo-jdk1.6.0 link case. blackend 2009-08-18 08:10:12 UTC
FreeBSD doc repository
Modified files:
en_US.ISO8859-1/books/handbook/desktop chapter.sgml
Log:
Update the Firefox & Java plugin section:
- Fix the ln(1) command to really allow the detection of the installed
plugin by Firefox;
- Add the ln(1) command example in case of JDK installation [1]
PR: docs/137703 [1]
Submitted by: Glen Barber <glen.j.barber@gmail.com> [1]
Revision Changes Path
1.90 +10 -4 doc/en_US.ISO8859-1/books/handbook/desktop/chapter.sgml
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Marc, The JDK link should be: % ln -s /usr/local/diablo-jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so \ $HOME/.mozilla/plugins/ The doc points it to: % ln -s /usr/local/diablo-jdk1.6.0/plugin/i386/ns7/libjavaplugin_oji.so \ $HOME/.mozilla/plugins/ -- Glen Barber |