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 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/java.xml,v 1.38 2007/01/23 19:35:12 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/java.xml,v 1.39 2007/04/29 02:36:16 nightmorph Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/java.xml"> @@ -24,8 +24,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>0.14</version> -<date>2007-01-23</date> +<version>0.15</version> +<date>2007-04-28</date> <chapter> <title>What is Java?</title> @@ -47,7 +47,7 @@ <p> 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. </p> @@ -468,47 +468,47 @@ </chapter> <chapter> -<title>Java Browser Plug-ins</title> +<title>Java Browser Plugins</title> <section> -<title>Installing a plug-in</title> +<title>Installing a plugin</title> <body> <p> -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 <c>nsplugin</c> USE flag set. </p> <note> <c>nsplugin</c> is not available for all architectures. Check for available -plug-ins on your arch before trying to install a VM by running <c>emerge -pv +plugins on your arch before trying to install a VM by running <c>emerge -pv <java-vm></c>. </note> <p> -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: </p> -<pre caption="Viewing available plug-ins"> +<pre caption="Viewing available plugins"> # <i>eselect java-nsplugin list</i> [1] sun-jre-bin-1.5 [2] blackdown-jre-1.4.2 </pre> <p> -In this example, <c>sun-jre-bin</c> is selected for the browser plug-in. +In this example, <c>sun-jre-bin</c> is selected for the browser plugin. </p> -<pre caption="Selecting a plug-in"> +<pre caption="Selecting a plugin"> # <i>eselect java-nsplugin set sun-jre-bin-1.5</i> </pre> <p> -Verify that the correct plug-in was selected: +Verify that the correct plugin was selected: </p> -<pre caption="Verifying the correct plug-in"> +<pre caption="Verifying the correct plugin"> # <i>eselect java-nsplugin list</i> [1] sun-jre-bin-1.5 current [2] blackdown-jre-1.4.2 @@ -517,68 +517,66 @@ <p> Java.com also provides a link to <uri link="http://java.com/en/download/installed.jsp">verify your installed -plug-in</uri>. Additionally, if you are using a Mozilla-based browser, you can -verify your Java plug-in by typing <c>about:plugins</c> into the address bar. +plugin</uri>. Additionally, if you are using a Mozilla-based browser, you can +verify your Java plugin by typing <c>about:plugins</c> into the address bar. </p> </body> </section> <section> -<title>Plug-ins on multilib systems</title> +<title>Plugins on multilib systems</title> <body> <p> 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. </p> <p> -To use a 32-bit plug-in, you will need to emerge <c>emul-linux-x86-java</c> with +To use a 32-bit plugin, you will need to emerge <c>emul-linux-x86-java</c> with the <c>nsplugin</c> USE flag enabled. </p> -<pre caption="Installing a 32-bit plug-in"> +<pre caption="Installing a 32-bit plugin"> # <i>echo "app-emulation/emul-linux-x86-java nsplugin" >> /etc/portage/package.use</i> # <i>emerge emul-linux-x86-java</i> </pre> <p> -Next, check which plug-ins are available: +Next, check which plugins are available: </p> -<pre caption="Viewing available plug-ins"> +<pre caption="Viewing available plugins"> # <i>eselect java-nsplugin list</i> 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 </pre> <p> -You can select a 32-bit plug-in for a 32-bit browser (for example, -<c>firefox-bin</c>), and you can select a 64-bit plug-in for your 64-bit -browser (for example, <c>konqueror</c>). +Although you must select a 32-bit browser (such as <c>mozilla-firefox-bin</c>) +to use with your 32-bit plugin, the 64-bit version of <c>konqueror</c> uses your +Java VM directly, so it's possible to use the 64-bit version of <c>blackdown</c> +with this browser; no further configuration is necessary. </p> -<pre caption="Selecting plug-ins"> -# <i>eselect java-nsplugin set 32bit emul-linux-x86-java-1.4.2</i> -# <i>eselect java-nsplugin set 64bit blackdown-jdk-1.4.2</i> +<p> +Now select the right plugin for your 32-bit browser: +</p> + +<pre caption="Selecting plugins"> +# <i>eselect java-nsplugin set 32bit emul-linux-x86-java-1.5</i> </pre> <p> -Verify the correct plug-ins were selected: +Verify the correct plugin was selected: </p> -<pre caption="Verifying the correct plug-ins"> +<pre caption="Verifying the correct plugin"> # <i>eselect java-nsplugin list</i> 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 </pre> </body> -- [EMAIL PROTECTED] mailing list
