/[gentoo]/xml/htdocs/doc/en/java.xml
Gentoo

Diff of /xml/htdocs/doc/en/java.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.34 Revision 1.48
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/java.xml,v 1.34 2006/10/08 22:52:16 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/java.xml,v 1.48 2010/03/31 23:38:40 nightmorph Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/java.xml"> 5<guide>
6<title>Gentoo Java Guide</title> 6<title>Gentoo Java Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
9 <mail link="nichoj@gentoo.org">Joshua Nichols</mail> 9 <mail link="nichoj@gentoo.org">Joshua Nichols</mail>
10</author> 10</author>
22 22
23<!-- The content of this document is licensed under the CC-BY-SA license --> 23<!-- The content of this document is licensed under the CC-BY-SA license -->
24<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 24<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25<license/> 25<license/>
26 26
27<version>0.10</version> 27<version>0.22</version>
28<date>2006-10-08</date> 28<date>2009-12-23</date>
29 29
30<chapter> 30<chapter>
31<title>What is Java?</title> 31<title>What is Java?</title>
32<section> 32<section>
33<title>Overview</title> 33<title>Overview</title>
45</p> 45</p>
46 46
47<p> 47<p>
48In order to run Java bytecode, one needs to have a JRE (Java Runtime 48In order to run Java bytecode, one needs to have a JRE (Java Runtime
49Environment) installed. A JRE provides core libraries, a platform dependent 49Environment) installed. A JRE provides core libraries, a platform dependent
50Java Virtual Machine, plug-ins for browsers, among other things. A JDK (Java 50Java Virtual Machine, plugins for browsers, among other things. A JDK (Java
51Development Kit) adds programming tools, such as a bytecode compiler and a 51Development Kit) adds programming tools, such as a bytecode compiler and a
52debugger. 52debugger.
53</p> 53</p>
54 54
55</body> 55</body>
56</section> 56</section>
57</chapter> 57</chapter>
58 58
59<chapter> 59<chapter>
60<title>New Java System</title> 60<title>Before You Begin</title>
61<section>
62<body>
63
64<p>
65The way Java is handled on Gentoo has recently seen many changes and
66improvements. This has only happened very recently, and as a result, all the
67packages related to it are marked with testing keywords, ie ~x86. This
68document assumes you are using the new system.
69</p>
70
71</body>
72</section>
73<section>
74<title>Keywords</title>
75<body>
76
77<p>
78If you are using the stable tree opposed to ~arch, you will need to add some
79entries to your <path>/etc/portage/package.keywords</path>:
80</p>
81
82<pre caption="package.keywords">
83# Core Gentoo/Java Packages
84dev-java/ant-core
85dev-java/ant-tasks
86dev-java/ant
87dev-java/java-config
88dev-java/java-config-wrapper
89dev-java/javatoolkit
90dev-java/sun-jce-bin
91# JDKs
92=dev-java/sun-jdk-1.4*
93=dev-java/sun-jdk-1.5*
94=dev-java/ibm-jdk-bin-1.4*
95=dev-java/ibm-jdk-bin-1.5*
96=dev-java/jrockit-jdk-bin-1.4*
97=dev-java/jrockit-jdk-bin-1.5*
98=dev-java/blackdown-jdk-1.4*
99dev-java/kaffe
100# JREs
101=dev-java/sun-jre-bin-1.4*
102=dev-java/sun-jre-bin-1.5*
103=dev-java/ibm-jre-bin-1.4*
104=dev-java/blackdown-jre-1.4*
105# Virtuals
106virtual/jdk
107virtual/jre
108# Compilers
109dev-java/eclipse-ecj
110dev-java/jikes
111# Documentation
112dev-java/java-sdk-docs
113# Misc packages that have been updated to generation-2,
114# where the generation-1 won't build and/or run properly
115dev-java/lucene
116# These have optional Java support, but need ~arch to function properly
117# with generation-2
118dev-util/subversion
119sys-libs/db
120</pre>
121
122<warn>
123It is crucial that you list ALL these packages in
124<path>/etc/portage/package.keywords</path>, otherwise you will have problems in
125the later steps of this guide. Your new Java system will not function correctly
126without this list.
127</warn>
128
129</body>
130</section>
131<section> 61<section>
132<title>Existing installs</title> 62<title>Existing installs</title>
133<body> 63<body>
134 64
135<p> 65<p>
168 <th>Vendor</th> 98 <th>Vendor</th>
169 <th>JDK</th> 99 <th>JDK</th>
170 <th>JRE</th> 100 <th>JRE</th>
171</tr> 101</tr>
172<tr> 102<tr>
173 <ti>The Blackdown Java Kit</ti>
174 <ti>dev-java/blackdown-jdk</ti>
175 <ti>dev-java/blackdown-jre</ti>
176</tr>
177<tr>
178 <ti>Sun's Java Kit</ti> 103 <ti>Sun's Java Kit</ti>
179 <ti>dev-java/sun-jdk</ti> 104 <ti>dev-java/sun-jdk</ti>
180 <ti>dev-java/sun-jre-bin</ti> 105 <ti>dev-java/sun-jre-bin</ti>
181</tr> 106</tr>
182<tr> 107<tr>
183 <ti>The IBM Java Kit</ti> 108 <ti>The IBM Java Kit</ti>
184 <ti>dev-java/ibm-jdk-bin</ti> 109 <ti>dev-java/ibm-jdk-bin</ti>
185 <ti>dev-java/ibm-jre-bin</ti> 110 <ti>dev-java/ibm-jre-bin</ti>
186</tr> 111</tr>
187<tr> 112<tr>
188 <ti>The Compaq Java Kit for Alpha/Linux/GNU</ti>
189 <ti>dev-java/compaq-jdk</ti>
190 <ti>dev-java/compaq-jre</ti>
191</tr>
192<tr>
193 <ti>BEA WebLogic's J2SE Development Kit</ti> 113 <ti>BEA WebLogic's J2SE Development Kit</ti>
194 <ti>dev-java/jrockit-jdk-bin</ti> 114 <ti>dev-java/jrockit-jdk-bin</ti>
195</tr> 115</tr>
196</table> 116</table>
197 117
198<!-- 118<!--
199TODO: list free implementations? 119TODO: list free implementations?
200note about not drop-in replacements 120note about not drop-in replacements
201kaffe/sablevm/gcj/jamvm 121kaffe/sablevm/gcj/jamvm
202--> 122-->
203<p>
204The default for Java 1.4 is the Blackdown JRE/JDK pair, as it is freely
205("free as in beer") available without any registration fuss.
206</p>
207
208<p>
209JREs and JDKs from Sun, IBM, and BEA are generally faster, but getting them
210is a bit more work, as you are required to read and accept their license before
211downloading (IBM additionally requires you to register).
212</p>
213
214</body> 123</body>
215</section> 124</section>
216<section> 125<section>
217<title>Installing a JRE/JDKs</title> 126<title>Installing a JRE/JDKs</title>
218<body> 127<body>
222Or to install your profile's default JRE, you can <c>emerge virtual/jre</c>. 131Or to install your profile's default JRE, you can <c>emerge virtual/jre</c>.
223</p> 132</p>
224 133
225<p> 134<p>
226In recent events, Sun has relicensed their JDK and JRE under a more Linux 135In recent events, Sun has relicensed their JDK and JRE under a more Linux
227distro friendly license. As a result, Sun releases Java 1.5 and onwards are 136distro friendly license. As a result, Sun Java 1.5 and onwards are
228freely downloadable, without any further hassle. 137freely downloadable, without any further hassle.
229</p> 138</p>
230 139
231<note> 140<note>
232A JDK also includes a JRE, so if you install a JDK you shouldn't have to also 141A JDK also includes a JRE, so if you install a JDK you shouldn't have to also
238<section> 147<section>
239<title>Installing fetch-restricted virtual machines</title> 148<title>Installing fetch-restricted virtual machines</title>
240<body> 149<body>
241 150
242<p> 151<p>
243As already mentioned, some of the JDKs and JREs require you to jump through a 152Some of the JDKs and JREs require you to jump through a few hoops before
244few hoops before installing. Simply emerge the packages as you normally would. 153installing. Simply emerge the packages as you normally would. The ebuilds will
245The ebuilds will then instruct you where to go and what to download. 154then instruct you where to go and what to download.
246</p> 155</p>
247 156
248<p> 157<p>
249You should download the indicated file(s) into 158You should download the indicated file(s) into
250<path>/usr/portage/distfiles</path>. Once there, you can rerun the emerge 159<path>/usr/portage/distfiles</path>. Once there, you can rerun the emerge
290</p> 199</p>
291 200
292<pre caption="Listing available VMs"> 201<pre caption="Listing available VMs">
293# <i>java-config --list-available-vms</i> 202# <i>java-config --list-available-vms</i>
294The following VMs are available for generation-2: 203The following VMs are available for generation-2:
2951) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] 2041) IcedTea6-bin 1.4.1 [icedtea6-bin]
2962) Blackdown JRE 1.4.2.03 [blackdown-jre-1.4.2] 2052) Sun JDK 1.5.0.20 [sun-jdk-1.5] <comment>(Build Only)</comment>
2973) Blackdown 32bit JRE 1.4.2.03 [emul-linux-x86-java-1.4.2]
2984) Sun 32bit JRE 1.5.0.08 [emul-linux-x86-java-1.5]
2995) Kaffe 1.1.7 [kaffe]
300*) Sun JDK 1.5.0.08 [sun-jdk-1.5] 206*) Sun JDK 1.6.0.16 [sun-jdk-1.6]
301</pre> 207</pre>
208
209<note>
210VMs marked as Build Only may contain security vulnerabilities and/or be EOL.
211Gentoo recommends not setting these VMs as either your system or user VM.
212Please see <uri link="java.xml#build-only">Build Only VM</uri> for more
213information.
214</note>
302 215
303<p> 216<p>
304The <e>*</e> indicates this is the current active vm (system-vm or user-vm when 217The <e>*</e> indicates this is the current active vm (system-vm or user-vm when
305set). The name in the brackets (<e>[]</e>) is the handle or ID for that 218set). The name in the brackets (<e>[]</e>) is the handle or ID for that
306particular VM. You use the handle or the number to <c>java-config 219particular VM. You use the handle or the number to <c>java-config
307--set-system-vm</c>. Here is an example of how to set the system VM. 220--set-system-vm</c>. Here is an example of how to set the system VM.
308</p> 221</p>
309 222
310<pre caption="Setting the System VM"> 223<pre caption="Setting the System VM">
311<comment>(By handle (preferred))</comment> 224<comment>(By handle (preferred))</comment>
312# <i>java-config --set-system-vm blackdown-jdk-1.4</i> 225# <i>java-config --set-system-vm sun-jdk-1.6</i>
313Now using blackdown-jdk-1.4 as your generation-2 system JVM 226Now using sun-jdk-1.6 as your generation-2 system JVM
314<comment>(By number)</comment> 227<comment>(By number)</comment>
315# <i>java-config --set-system-vm 6</i> 228# <i>java-config --set-system-vm 3</i>
316Now using sun-jdk-1.5 as your generation-2 system JVM 229Now using sun-jdk-1.6 as your generation-2 system JVM
317</pre> 230</pre>
318 231
319<p> 232<p>
320As a regular user, you can use <c>java-config --set-user-vm</c>. 233As a regular user, you can use <c>java-config --set-user-vm</c>.
321</p> 234</p>
325VM take place. 238VM take place.
326</note> 239</note>
327 240
328</body> 241</body>
329</section> 242</section>
243<section id="build-only">
244<title>Build Only VM</title>
245<body>
246
247<p>
248Some virtual machines are flagged as build-only due to being EOL and/or
249containing security vulnerabilities. These virtual machines will not
250automatically be used by Gentoo for the running of applications using Gentoo
251launchers but will still be available for use by Gentoo's build environment as
252some packages may require them for building. The setting of these virtual
253machines as either your system or user VM is strongly discouraged as these VMs
254will then be used when running the <path>/usr/bin/{java,javac,..}</path>
255executables and will also be used by any packages not using Gentoo's launcher
256scripts.
257</p>
258
259</body>
260</section>
330<section id="preferred-vm"> 261<section id="preferred-vm">
331<title>Preferred VM</title> 262<title>Preferred VM</title>
332<body> 263<body>
333 264
334<p> 265<p>
338<p> 269<p>
339Because of the wide variety of available VMs, we do not have the resources to 270Because of the wide variety of available VMs, we do not have the resources to
340test and verify every package works on all of them. So to ensure that every 271test and verify every package works on all of them. So to ensure that every
341packages merges smoothly, we have defined a list of <e>default/supported 272packages merges smoothly, we have defined a list of <e>default/supported
342VMs</e> per arch. You can find them in 273VMs</e> per arch. You can find them in
343<path>/usr/share/java-config/config/jdk-defaults.conf</path>. When you are 274<path>/usr/share/java-config-2/config/jdk-defaults.conf</path>. When you are
344merging a Java package, and it detects one of the VM in that file is installed, 275merging a Java package, and it detects one of the VM in that file is installed,
345it will automatically use that VM, instead of the system-vm. 276it will automatically use that VM, instead of the system-vm.
346</p> 277</p>
347 278
348<p> 279<p>
367*=sun-jdk-1.5 298*=sun-jdk-1.5
368</pre> 299</pre>
369 300
370<pre caption="Example /etc/java-config-2/build/jdk.conf"> 301<pre caption="Example /etc/java-config-2/build/jdk.conf">
371<comment># For 1.3 I prefer sun-jdk 1.4 but when it is not available, use ibm-jdk-bin, 302<comment># For 1.3 I prefer sun-jdk 1.4 but when it is not available, use ibm-jdk-bin,
372# For 1.4, use blackdown-jdk, and for 1.5, use sun-jdk </comment> 303# For 1.5, use sun-jdk </comment>
3731.3=sun-jdk-1.4 ibm-jdk-bin 3041.3=sun-jdk-1.4 ibm-jdk-bin
3741.4=blackdown-jdk
3751.5=sun-jdk 3051.5=sun-jdk
376</pre> 306</pre>
377 307
378<warn> 308<warn>
379You do not have to edit this file. If you change these options to use a 309You do not <e>have</e> to edit this file. If you change these options to use a
380unsupported VM, things could possibly break. Bugs reported with a unsupported 310unsupported VM, things could possibly break. Bugs reported with a unsupported VM
381VM won't be prioritized as much as bugs present within supported VMs. 311won't be prioritized as much as bugs present within supported VMs.
382</warn> 312</warn>
383 313
384</body> 314</body>
385</section> 315</section>
386</chapter> 316</chapter>
401<pre caption="/etc/java-config-2/build/compilers.conf"> 331<pre caption="/etc/java-config-2/build/compilers.conf">
402# If the ebuild supports it 332# If the ebuild supports it
403# it will check the COMPILERS var front to back and 333# it will check the COMPILERS var front to back and
404# use the first compiler that is installed 334# use the first compiler that is installed
405 335
406COMPILERS="ecj-3.1 jikes javac" 336COMPILERS="ecj-X.Y jikes javac"
407</pre> 337</pre>
408 338
409<p> 339<p>
410Some compilers don't support all possible -target and -source arguments. 340Some compilers don't support all possible -target and -source arguments.
411Therefore, each compiler in the list is checked to see if it can support the 341Therefore, each compiler in the list is checked to see if it can support the
443 1.5 syntax yet. 373 1.5 syntax yet.
444 </ti> 374 </ti>
445</tr> 375</tr>
446<tr> 376<tr>
447 <ti>Eclipse Compiler for Java</ti> 377 <ti>Eclipse Compiler for Java</ti>
448 <ti>ecj-3.1</ti> 378 <ti>ecj</ti>
449 <ti>=dev-java/eclipse-ecj-3.1*</ti> 379 <ti>dev-java/eclipse-ecj</ti>
450 <ti> 380 <ti>
451 ECJ is the compiler used by the Eclipse software development kit. It is 381 ECJ is the compiler used by the Eclipse software development kit. It is
452 very full featured, and is pretty fast. It does support Java 1.5 syntax. 382 very full featured, and is pretty fast. It does support Java 1.5 syntax.
453 </ti> 383 </ti>
454</tr> 384</tr>
512</p> 442</p>
513 443
514<p> 444<p>
515For users, <c>java-config --set-user-classpath</c> will create 445For users, <c>java-config --set-user-classpath</c> will create
516<path>~/.gentoo/java-env-classpath</path>, which you should then source from 446<path>~/.gentoo/java-env-classpath</path>, which you should then source from
517your shell's profile. 447your shell's profile.
518</p> 448</p>
519 449
520<pre caption="Sourcing user specific classpath"> 450<pre caption="Sourcing user specific classpath">
521<i>if [[ -f "${HOME}/.gentoo/java-env-classpath" ]]; then 451<i>if [[ -f "${HOME}/.gentoo/java-env-classpath" ]]; then
522 source ${HOME}/.gentoo/java-env-classpath 452 source ${HOME}/.gentoo/java-env-classpath
528something like the following to your shell's profile. But we would advise 458something like the following to your shell's profile. But we would advise
529against it. 459against it.
530</p> 460</p>
531 461
532<pre caption="Setting classpath"> 462<pre caption="Setting classpath">
533# <i>export CLASSPATH="${CLASSPATH}:$(java-config --classpath log4j,xerces-2)"</i> 463# <i>export CLASSPATH="${CLASSPATH}:$(java-config --classpath log4j,xerces-2)"</i>
534</pre> 464</pre>
535 465
536</body> 466</body>
537</section> 467</section>
538</chapter>
539
540<chapter> 468</chapter>
469
470<chapter>
541<title>Java Browser Plug-ins</title> 471<title>Java Browser Plugins</title>
542<section> 472<section>
543<title>Installing a plug-in</title> 473<title>Installing a plugin</title>
544<body> 474<body>
545 475
546<p> 476<p>
547You can install a Java plug-in for your web browser by emerging a Java VM with 477You can install a Java plugin for your web browser by emerging a Java VM with
548the <c>nsplugin</c> USE flag set. 478the <c>nsplugin</c> USE flag set.
549</p> 479</p>
550 480
551<note> 481<note>
552<c>nsplugin</c> is not available for all architectures. Check for available 482<c>nsplugin</c> is not available for all architectures. Check for available
553plug-ins on your arch before trying to install a VM by running <c>emerge -pv 483plugins on your arch before trying to install a VM by running <c>emerge -pv
554&lt;java-vm&gt;</c>. 484&lt;java-vm&gt;</c>.
555</note> 485</note>
556 486
557<p> 487<p>
558Portage will allow you to install multiple versions of Java plug-ins, though 488Portage will allow you to install multiple versions of Java plugins, though
559only one will be used by your browser. You can check the list of available 489only one will be used by your browser. You can check the list of available
560plug-ins by running: 490plugins by running:
561</p> 491</p>
562 492
563<pre caption="Viewing available plug-ins"> 493<pre caption="Viewing available plugins">
564# <i>eselect java-nsplugin list</i> 494# <i>eselect java-nsplugin list</i>
565 [1] sun-jre-bin-1.5 495 [1] sun-jre-bin-1.6
566 [2] blackdown-jre-1.4.2 496 [2] icedtea6-bin
567</pre> 497</pre>
568 498
569<p> 499<p>
570In this example, <c>sun-jre-bin</c> is selected for the browser plug-in. 500In this example, <c>sun-jre-bin</c> is selected for the browser plugin.
571</p> 501</p>
572 502
573<pre caption="Selecting a plug-in"> 503<pre caption="Selecting a plugin">
574# <i>eselect java-nsplugin sun-jre-bin-1.5</i> 504# <i>eselect java-nsplugin set sun-jre-bin-1.6</i>
575</pre> 505</pre>
576 506
577<p> 507<p>
578Verify that the correct plug-in was selected: 508Verify that the correct plugin was selected:
579</p> 509</p>
580 510
581<pre caption="Verifying the correct plug-in"> 511<pre caption="Verifying the correct plugin">
582# <i>eselect java-nsplugin list</i> 512# <i>eselect java-nsplugin list</i>
583 [1] sun-jre-bin-1.5 current 513 [1] sun-jre-bin-1.6 current
584 [2] blackdown-jre-1.4.2 514 [2] icedtea6-bin
585</pre> 515</pre>
586 516
587<p> 517<p>
588Java.com also provides a link to <uri 518Java.com also provides a link to <uri
589link="http://java.com/en/download/installed.jsp">verify your installed 519link="http://java.com/en/download/installed.jsp">verify your installed
590plug-in</uri>. Additionally, if you are using a Mozilla-based browser, you can 520plugin</uri>. Additionally, if you are using a Mozilla-based browser, you can
591verify your Java plug-in by typing <c>about:plugins</c> into the address bar. 521verify your Java plugin by typing <c>about:plugins</c> into the address bar.
592</p> 522</p>
593 523
594</body> 524</body>
595</section>
596<section> 525</section>
526<section>
597<title>Plug-ins on multilib systems</title> 527<title>Plugins on multilib systems</title>
598<body> 528<body>
599 529
600<p> 530<p>
601If you are running a mixed 64-bit and 32-bit multilib system (for example, on AMD64), 531If you are running a mixed 64-bit and 32-bit multilib system (for example, on
602you can have both 64-bit and a 32-bit Java plug-ins installed. 532AMD64), you can use 64-bit and 32-bit Java plugins. Unless you have a pressing
603</p> 533need to run 32-bit Java applications, we recommend using native 64-bit plugins
604 534on 64-bit web browsers.
605<p> 535</p>
536
537<p>
538There are several native 64-bit browser plugins available. The default JDK/JRE
539pair, <c>sun-jdk</c> and <c>sun-jre-bin</c>, both include browser plugins. Just
540emerge one of them with the <c>nsplugin</c> USE flag enabled.
541</p>
542
543<pre caption="Installing a 64-bit plugin">
544# <i>echo "dev-java/sun-jre-bin nsplugin" >> /etc/portage/package.use</i>
545# <i>emerge sun-jre-bin</i>
546</pre>
547
548<p>
549To use a 32-bit plugin on a 32-bit browser, you will need to emerge
550<c>emul-linux-x86-java</c> with the <c>nsplugin</c> USE flag enabled.
551</p>
552
553<pre caption="Installing a 32-bit plugin">
554# <i>echo "app-emulation/emul-linux-x86-java nsplugin" >> /etc/portage/package.use</i>
555# <i>emerge emul-linux-x86-java</i>
556</pre>
557
558<p>
606First, check which plug-ins are available: 559Next, check which plugins are available:
607</p> 560</p>
608 561
609<pre caption="Viewing available plug-ins"> 562<pre caption="Viewing available plugins">
610# <i>eselect java-nsplugin list</i> 563# <i>eselect java-nsplugin list</i>
611Available 32-bit Java browser plugins 564Available 32-bit Java browser plugins
612 [1] emul-linux-x86-java-1.4.2
613 [2] emul-linux-x86-java-1.5 565 [1] emul-linux-x86-java-1.5
566 [2] emul-linux-x86-java-1.6
614Available 64-bit Java browser plugins 567Available 64-bit Java browser plugins
615 [1] blackdown-jdk-1.4.2 568 [1] icedtea6-bin
616 [2] blackdown-jre-1.4.2 569 [2] sun-jre-bin-1.6
617</pre> 570</pre>
618 571
619<p>
620You can select a 32-bit plug-in for a 32-bit browser (for example,
621<c>firefox-bin</c>), and you can select a 64-bit plug-in for your 64-bit
622browser (for example, <c>konqueror</c>).
623</p> 572<p>
573Now select the right plugin for your browsers:
574</p>
624 575
625<pre caption="Selecting plug-ins"> 576<pre caption="Selecting plugins">
577<comment>(Choose the plugins for 32-bit and 64-bit browsers)</comment>
626# <i>eselect java-nsplugin set 32bit emul-linux-x86-java-1.4.2</i> 578# <i>eselect java-nsplugin set 32bit emul-linux-x86-java-1.6</i>
627# <i>eselect java-nsplugin set 64bit blackdown-jdk-1.4.2</i> 579# <i>eselect java-nsplugin set 64bit sun-jre-bin-1.6</i>
628</pre> 580</pre>
629 581
630<p> 582<p>
631Verify the correct plug-ins were selected: 583Verify the correct plugin was selected:
632</p> 584</p>
633 585
634<pre caption="Verifying the correct plug-ins"> 586<pre caption="Verifying the correct plugin">
635# <i>eselect java-nsplugin list</i> 587# <i>eselect java-nsplugin list</i>
636Available 32-bit Java browser plugins 588Available 32-bit Java browser plugins
637 [1] emul-linux-x86-java-1.4.2 current
638 [2] emul-linux-x86-java-1.5 589 [1] emul-linux-x86-java-1.5
590 [2] emul-linux-x86-java-1.6 current
639Available 64-bit Java browser plugins 591Available 64-bit Java browser plugins
640 [1] blackdown-jdk-1.4.2 current 592 [1] icedtea6-bin
641 [2] blackdown-jre-1.4.2 593 [2] sun-jre-bin-1.6 current
642</pre> 594</pre>
643 595
644</body> 596</body>
645</section> 597</section>
646</chapter> 598</chapter>
673 <li> 625 <li>
674 The <b>source</b> flag installs a zip of the source code of a package. 626 The <b>source</b> flag installs a zip of the source code of a package.
675 This is traditionally used for IDEs to 'attach' source to the libraries you 627 This is traditionally used for IDEs to 'attach' source to the libraries you
676 are using. 628 are using.
677 </li> 629 </li>
630 <li>The <b>jce</b> flag adds support for the Java Cryptography Engine</li>
678 <li> 631 <li>
679 For Java packages, the <b>doc</b> flag will build API documentation using 632 For Java packages, the <b>doc</b> flag will build API documentation using
680 javadoc. 633 javadoc.
681 </li> 634 </li>
682</ul> 635</ul>
714 link="http://news.gmane.org/gmane.linux.gentoo.user">gentoo-user</uri>, and 667 link="http://news.gmane.org/gmane.linux.gentoo.user">gentoo-user</uri>, and
715 <uri 668 <uri
716 link="http://news.gmane.org/gmane.linux.gentoo.devel">gentoo-dev</uri> 669 link="http://news.gmane.org/gmane.linux.gentoo.devel">gentoo-dev</uri>
717 mailing list archives 670 mailing list archives
718 </li> 671 </li>
719 <li>#gentoo and #gentoo-java on irc.freenode.net</li> 672 <li>
673 <uri link="irc://irc.gentoo.org/gentoo">#gentoo</uri> and <uri
674 link="irc://irc.gentoo.org/gentoo-java">#gentoo-java</uri> on IRC
675 </li>
720 <li> 676 <li>
721 <uri 677 <uri
722 link="http://en.wikipedia.org/wiki/Java_programming_language">Wikipedia's 678 link="http://en.wikipedia.org/wiki/Java_programming_language">Wikipedia's
723 entry for Java</uri> 679 entry for Java</uri>
724 </li> 680 </li>
681 <li>
682 If you have suggestions or questions regarding this document, please email
683 the Gentoo Java team: <mail>java@gentoo.org</mail>
684 </li>
725</ul> 685</ul>
726 686
727</body> 687</body>
728</section> 688</section>
729</chapter> 689</chapter>

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.48

  ViewVC Help
Powered by ViewVC 1.1.20