From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HhzH2-0007hi-0M for garchives@archives.gentoo.org; Sun, 29 Apr 2007 02:36:28 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l3T2aIZd007429; Sun, 29 Apr 2007 02:36:18 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l3T2aHNt007424 for ; Sun, 29 Apr 2007 02:36:17 GMT Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 3E20F641EE for ; Sun, 29 Apr 2007 02:36:17 +0000 (UTC) Received: from nightmorph by stork.gentoo.org with local (Exim 4.60) (envelope-from ) id 1HhzGq-0005xU-CI for gentoo-doc-cvs@lists.gentoo.org; Sun, 29 Apr 2007 02:36:16 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: java.xml Message-Id: From: Josh Saddler Date: Sun, 29 Apr 2007 02:36:16 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: e43c53b7-c8f5-4a55-9ed8-02fcf5dd9bac X-Archives-Hash: 8adacfd5ac910c1655cb4e676e13380a nightmorph 07/04/29 02:36:16 Modified: java.xml Log: updated java guide to reflect the nsplugin USE flag masking on blackdown for amd64, bug 161835 Revision Changes Path 1.39 xml/htdocs/doc/en/java.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/java.xml?rev=1.39&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/java.xml?rev=1.39&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/java.xml?r1=1.38&r2=1.39 Index: java.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/java.xml,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- java.xml 23 Jan 2007 19:35:12 -0000 1.38 +++ java.xml 29 Apr 2007 02:36:16 -0000 1.39 @@ -1,5 +1,5 @@ - + @@ -24,8 +24,8 @@ -0.14 -2007-01-23 +0.15 +2007-04-28 What is Java? @@ -47,7 +47,7 @@

In order to run Java bytecode, one needs to have a JRE (Java Runtime Environment) installed. A JRE provides core libraries, a platform dependent -Java Virtual Machine, plug-ins for browsers, among other things. A JDK (Java +Java Virtual Machine, plugins for browsers, among other things. A JDK (Java Development Kit) adds programming tools, such as a bytecode compiler and a debugger.

@@ -468,47 +468,47 @@
-Java Browser Plug-ins +Java Browser Plugins
-Installing a plug-in +Installing a plugin

-You can install a Java plug-in for your web browser by emerging a Java VM with +You can install a Java plugin for your web browser by emerging a Java VM with the nsplugin USE flag set.

nsplugin is not available for all architectures. Check for available -plug-ins on your arch before trying to install a VM by running emerge -pv +plugins on your arch before trying to install a VM by running emerge -pv <java-vm>.

-Portage will allow you to install multiple versions of Java plug-ins, though +Portage will allow you to install multiple versions of Java plugins, though only one will be used by your browser. You can check the list of available -plug-ins by running: +plugins by running:

-
+
 # eselect java-nsplugin list
    [1]   sun-jre-bin-1.5
    [2]   blackdown-jre-1.4.2
 

-In this example, sun-jre-bin is selected for the browser plug-in. +In this example, sun-jre-bin is selected for the browser plugin.

-
+
 # eselect java-nsplugin set sun-jre-bin-1.5
 

-Verify that the correct plug-in was selected: +Verify that the correct plugin was selected:

-
+
 # eselect java-nsplugin list
    [1]   sun-jre-bin-1.5  current
    [2]   blackdown-jre-1.4.2
@@ -517,68 +517,66 @@
 

Java.com also provides a link to verify your installed -plug-in. Additionally, if you are using a Mozilla-based browser, you can -verify your Java plug-in by typing about:plugins into the address bar. +plugin. Additionally, if you are using a Mozilla-based browser, you can +verify your Java plugin by typing about:plugins into the address bar.

-Plug-ins on multilib systems +Plugins on multilib systems

If you are running a mixed 64-bit and 32-bit multilib system (for example, on AMD64), -you can have both 64-bit and a 32-bit Java plug-ins installed. +you can only use 32-bit Java plugins.

-To use a 32-bit plug-in, you will need to emerge emul-linux-x86-java with +To use a 32-bit plugin, you will need to emerge emul-linux-x86-java with the nsplugin USE flag enabled.

-
+
 # echo "app-emulation/emul-linux-x86-java nsplugin" >> /etc/portage/package.use
 # emerge emul-linux-x86-java
 

-Next, check which plug-ins are available: +Next, check which plugins are available:

-
+
 # eselect java-nsplugin list
 Available 32-bit Java browser plugins
   [1]   emul-linux-x86-java-1.4.2
   [2]   emul-linux-x86-java-1.5
-Available 64-bit Java browser plugins
-  [1]   blackdown-jdk-1.4.2
-  [2]   blackdown-jre-1.4.2
 

-You can select a 32-bit plug-in for a 32-bit browser (for example, -firefox-bin), and you can select a 64-bit plug-in for your 64-bit -browser (for example, konqueror). +Although you must select a 32-bit browser (such as mozilla-firefox-bin) +to use with your 32-bit plugin, the 64-bit version of konqueror uses your +Java VM directly, so it's possible to use the 64-bit version of blackdown +with this browser; no further configuration is necessary.

-
-# eselect java-nsplugin set 32bit emul-linux-x86-java-1.4.2
-# eselect java-nsplugin set 64bit blackdown-jdk-1.4.2
+

+Now select the right plugin for your 32-bit browser: +

+ +
+# eselect java-nsplugin set 32bit emul-linux-x86-java-1.5
 

-Verify the correct plug-ins were selected: +Verify the correct plugin was selected:

-
+
 # eselect java-nsplugin list
 Available 32-bit Java browser plugins
-  [1]   emul-linux-x86-java-1.4.2  current
-  [2]   emul-linux-x86-java-1.5
-Available 64-bit Java browser plugins
-  [1]   blackdown-jdk-1.4.2  current
-  [2]   blackdown-jre-1.4.2
+  [1]   emul-linux-x86-java-1.4.2
+  [2]   emul-linux-x86-java-1.5  current
 
-- gentoo-doc-cvs@gentoo.org mailing list