Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2011 20:51:39 +0100
From:      Beat Gätzi <beat@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/154097: [PATCH] Add steps for Java with Firefox 3.6 to the handbook
Message-ID:  <201101171951.p0HJpd1k053792@marvin.chruetertee.ch>
Resent-Message-ID: <201101172010.p0HKA74f032635@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         154097
>Category:       docs
>Synopsis:       [PATCH] Add steps for Java with Firefox 3.6 to the handbook
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 17 20:10:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Beat Gätzi
>Release:        FreeBSD 9.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD daedalus.network.local 9.0-CURRENT FreeBSD 9.0-CURRENT #3 r216761: Tue Dec 28 15:32:26 CET 2010 root@daedalus.network.local:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	- Attached patch extend the Browsers chapter in the handbook with the
	  information how to use Java with Firefox 3.6.
	
>How-To-Repeat:
	
>Fix:

	

--- handook-firefox36-java.patch begins here ---
Index: chapter.sgml
===================================================================
RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/handbook/desktop/chapter.sgml,v
retrieving revision 1.98
diff -u -r1.98 chapter.sgml
--- chapter.sgml	22 Dec 2010 16:53:32 -0000	1.98
+++ chapter.sgml	17 Jan 2011 19:45:32 -0000
@@ -204,11 +204,15 @@
       <note>
 	<para>In this section and in the next two sections, we assume you have
 	  already installed <application>Firefox</application>.</para>
-
-	<para>Currently, the &java; plugin does not work with
-	  <application>Firefox</application> 3.6.</para>
       </note>
 
+      <para>According to the version of <application>Firefox</application>
+	you run various steps are required:</para>
+
+      <procedure>
+	<step>
+	  <title>For Firefox 3.5;</title>
+
       <para>The &os; Foundation has a license with Sun Microsystems to
 	distribute &os; binaries for the Java Runtime Environment
 	(&jre;) and Java Development Kit (&jdk;).  Binary packages for
@@ -267,6 +271,31 @@
 	  &arch.i386; architecture, &arch.amd64; packages are also
 	  available.</para>
       </note>
+	</step>
+
+	<step>
+	  <title>For Firefox 3.6;</title>
+
+      <para>Install <application>OpenJDK 6</application>
+        through the Ports Collection by typing:</para>
+        
+      <screen>&prompt.root; <userinput>cd /usr/ports/java/openjdk6</userinput>
+&prompt.root; <userinput>make config install clean</userinput></screen>
+
+      <para>Make sure you have selected the WEB option.</para>
+
+      <para>Each user will have to run the following command:</para>
+
+      <screen>&prompt.user; <userinput>ln -s /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so \
+  $HOME/.mozilla/plugins/</userinput></screen>
+
+      <para>Start your browser, enter <literal>about:plugins</literal>
+	in the location bar and press <keycap>Enter</keycap>.  A page
+	listing the installed plugins will be displayed; the
+	<application>&java;</application> plugin should be listed there
+	now.</para>
+	</step>
+      </procedure>
     </sect2>
 
     <sect2 id="moz-flash-plugin">
--- handook-firefox36-java.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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