Gentoo Archives: gentoo-doc-cvs

From: Josh Saddler <nightmorph@××××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: java.xml
Date: Sun, 29 Apr 2007 02:36:28
Message-Id: E1HhzGq-0005xU-CI@stork.gentoo.org
1 nightmorph 07/04/29 02:36:16
2
3 Modified: java.xml
4 Log:
5 updated java guide to reflect the nsplugin USE flag masking on blackdown for amd64, bug 161835
6
7 Revision Changes Path
8 1.39 xml/htdocs/doc/en/java.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/java.xml?rev=1.39&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/java.xml?rev=1.39&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/java.xml?r1=1.38&r2=1.39
13
14 Index: java.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/java.xml,v
17 retrieving revision 1.38
18 retrieving revision 1.39
19 diff -u -r1.38 -r1.39
20 --- java.xml 23 Jan 2007 19:35:12 -0000 1.38
21 +++ java.xml 29 Apr 2007 02:36:16 -0000 1.39
22 @@ -1,5 +1,5 @@
23 <?xml version="1.0" encoding="UTF-8"?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/java.xml,v 1.38 2007/01/23 19:35:12 nightmorph Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/java.xml,v 1.39 2007/04/29 02:36:16 nightmorph Exp $ -->
26 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
27
28 <guide link="/doc/en/java.xml">
29 @@ -24,8 +24,8 @@
30 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
31 <license/>
32
33 -<version>0.14</version>
34 -<date>2007-01-23</date>
35 +<version>0.15</version>
36 +<date>2007-04-28</date>
37
38 <chapter>
39 <title>What is Java?</title>
40 @@ -47,7 +47,7 @@
41 <p>
42 In order to run Java bytecode, one needs to have a JRE (Java Runtime
43 Environment) installed. A JRE provides core libraries, a platform dependent
44 -Java Virtual Machine, plug-ins for browsers, among other things. A JDK (Java
45 +Java Virtual Machine, plugins for browsers, among other things. A JDK (Java
46 Development Kit) adds programming tools, such as a bytecode compiler and a
47 debugger.
48 </p>
49 @@ -468,47 +468,47 @@
50 </chapter>
51
52 <chapter>
53 -<title>Java Browser Plug-ins</title>
54 +<title>Java Browser Plugins</title>
55 <section>
56 -<title>Installing a plug-in</title>
57 +<title>Installing a plugin</title>
58 <body>
59
60 <p>
61 -You can install a Java plug-in for your web browser by emerging a Java VM with
62 +You can install a Java plugin for your web browser by emerging a Java VM with
63 the <c>nsplugin</c> USE flag set.
64 </p>
65
66 <note>
67 <c>nsplugin</c> is not available for all architectures. Check for available
68 -plug-ins on your arch before trying to install a VM by running <c>emerge -pv
69 +plugins on your arch before trying to install a VM by running <c>emerge -pv
70 &lt;java-vm&gt;</c>.
71 </note>
72
73 <p>
74 -Portage will allow you to install multiple versions of Java plug-ins, though
75 +Portage will allow you to install multiple versions of Java plugins, though
76 only one will be used by your browser. You can check the list of available
77 -plug-ins by running:
78 +plugins by running:
79 </p>
80
81 -<pre caption="Viewing available plug-ins">
82 +<pre caption="Viewing available plugins">
83 # <i>eselect java-nsplugin list</i>
84 [1] sun-jre-bin-1.5
85 [2] blackdown-jre-1.4.2
86 </pre>
87
88 <p>
89 -In this example, <c>sun-jre-bin</c> is selected for the browser plug-in.
90 +In this example, <c>sun-jre-bin</c> is selected for the browser plugin.
91 </p>
92
93 -<pre caption="Selecting a plug-in">
94 +<pre caption="Selecting a plugin">
95 # <i>eselect java-nsplugin set sun-jre-bin-1.5</i>
96 </pre>
97
98 <p>
99 -Verify that the correct plug-in was selected:
100 +Verify that the correct plugin was selected:
101 </p>
102
103 -<pre caption="Verifying the correct plug-in">
104 +<pre caption="Verifying the correct plugin">
105 # <i>eselect java-nsplugin list</i>
106 [1] sun-jre-bin-1.5 current
107 [2] blackdown-jre-1.4.2
108 @@ -517,68 +517,66 @@
109 <p>
110 Java.com also provides a link to <uri
111 link="http://java.com/en/download/installed.jsp">verify your installed
112 -plug-in</uri>. Additionally, if you are using a Mozilla-based browser, you can
113 -verify your Java plug-in by typing <c>about:plugins</c> into the address bar.
114 +plugin</uri>. Additionally, if you are using a Mozilla-based browser, you can
115 +verify your Java plugin by typing <c>about:plugins</c> into the address bar.
116 </p>
117
118 </body>
119 </section>
120 <section>
121 -<title>Plug-ins on multilib systems</title>
122 +<title>Plugins on multilib systems</title>
123 <body>
124
125 <p>
126 If you are running a mixed 64-bit and 32-bit multilib system (for example, on AMD64),
127 -you can have both 64-bit and a 32-bit Java plug-ins installed.
128 +you can only use 32-bit Java plugins.
129 </p>
130
131 <p>
132 -To use a 32-bit plug-in, you will need to emerge <c>emul-linux-x86-java</c> with
133 +To use a 32-bit plugin, you will need to emerge <c>emul-linux-x86-java</c> with
134 the <c>nsplugin</c> USE flag enabled.
135 </p>
136
137 -<pre caption="Installing a 32-bit plug-in">
138 +<pre caption="Installing a 32-bit plugin">
139 # <i>echo "app-emulation/emul-linux-x86-java nsplugin" >> /etc/portage/package.use</i>
140 # <i>emerge emul-linux-x86-java</i>
141 </pre>
142
143 <p>
144 -Next, check which plug-ins are available:
145 +Next, check which plugins are available:
146 </p>
147
148 -<pre caption="Viewing available plug-ins">
149 +<pre caption="Viewing available plugins">
150 # <i>eselect java-nsplugin list</i>
151 Available 32-bit Java browser plugins
152 [1] emul-linux-x86-java-1.4.2
153 [2] emul-linux-x86-java-1.5
154 -Available 64-bit Java browser plugins
155 - [1] blackdown-jdk-1.4.2
156 - [2] blackdown-jre-1.4.2
157 </pre>
158
159 <p>
160 -You can select a 32-bit plug-in for a 32-bit browser (for example,
161 -<c>firefox-bin</c>), and you can select a 64-bit plug-in for your 64-bit
162 -browser (for example, <c>konqueror</c>).
163 +Although you must select a 32-bit browser (such as <c>mozilla-firefox-bin</c>)
164 +to use with your 32-bit plugin, the 64-bit version of <c>konqueror</c> uses your
165 +Java VM directly, so it's possible to use the 64-bit version of <c>blackdown</c>
166 +with this browser; no further configuration is necessary.
167 </p>
168
169 -<pre caption="Selecting plug-ins">
170 -# <i>eselect java-nsplugin set 32bit emul-linux-x86-java-1.4.2</i>
171 -# <i>eselect java-nsplugin set 64bit blackdown-jdk-1.4.2</i>
172 +<p>
173 +Now select the right plugin for your 32-bit browser:
174 +</p>
175 +
176 +<pre caption="Selecting plugins">
177 +# <i>eselect java-nsplugin set 32bit emul-linux-x86-java-1.5</i>
178 </pre>
179
180 <p>
181 -Verify the correct plug-ins were selected:
182 +Verify the correct plugin was selected:
183 </p>
184
185 -<pre caption="Verifying the correct plug-ins">
186 +<pre caption="Verifying the correct plugin">
187 # <i>eselect java-nsplugin list</i>
188 Available 32-bit Java browser plugins
189 - [1] emul-linux-x86-java-1.4.2 current
190 - [2] emul-linux-x86-java-1.5
191 -Available 64-bit Java browser plugins
192 - [1] blackdown-jdk-1.4.2 current
193 - [2] blackdown-jre-1.4.2
194 + [1] emul-linux-x86-java-1.4.2
195 + [2] emul-linux-x86-java-1.5 current
196 </pre>
197
198 </body>
199
200
201
202 --
203 gentoo-doc-cvs@g.o mailing list