/[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.40 Revision 1.41
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.40 2008/01/02 01:41:02 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/java.xml,v 1.41 2008/05/23 20:07:51 swift 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 link="/doc/en/java.xml">
6<title>Gentoo Java Guide</title> 6<title>Gentoo Java Guide</title>
7 7
119 <ti>dev-java/jrockit-jdk-bin</ti> 119 <ti>dev-java/jrockit-jdk-bin</ti>
120</tr> 120</tr>
121</table> 121</table>
122 122
123<!-- 123<!--
124TODO: list free implementations? 124TODO: list free implementations?
125note about not drop-in replacements 125note about not drop-in replacements
126kaffe/sablevm/gcj/jamvm 126kaffe/sablevm/gcj/jamvm
127--> 127-->
128<p> 128<p>
129The default for Java 1.4 is the Blackdown JRE/JDK pair, as it is freely 129The default for Java 1.4 is the Blackdown JRE/JDK pair, as it is freely
130("free as in beer") available without any registration fuss. 130("free as in beer") available without any registration fuss.
131</p> 131</p>
132 132
133<p> 133<p>
134JREs and JDKs from Sun, IBM, and BEA are generally faster, but getting them 134JREs and JDKs from Sun, IBM, and BEA are generally faster, but getting them
437</p> 437</p>
438 438
439<p> 439<p>
440For users, <c>java-config --set-user-classpath</c> will create 440For users, <c>java-config --set-user-classpath</c> will create
441<path>~/.gentoo/java-env-classpath</path>, which you should then source from 441<path>~/.gentoo/java-env-classpath</path>, which you should then source from
442your shell's profile. 442your shell's profile.
443</p> 443</p>
444 444
445<pre caption="Sourcing user specific classpath"> 445<pre caption="Sourcing user specific classpath">
446<i>if [[ -f "${HOME}/.gentoo/java-env-classpath" ]]; then 446<i>if [[ -f "${HOME}/.gentoo/java-env-classpath" ]]; then
447 source ${HOME}/.gentoo/java-env-classpath 447 source ${HOME}/.gentoo/java-env-classpath
453something like the following to your shell's profile. But we would advise 453something like the following to your shell's profile. But we would advise
454against it. 454against it.
455</p> 455</p>
456 456
457<pre caption="Setting classpath"> 457<pre caption="Setting classpath">
458# <i>export CLASSPATH="${CLASSPATH}:$(java-config --classpath log4j,xerces-2)"</i> 458# <i>export CLASSPATH="${CLASSPATH}:$(java-config --classpath log4j,xerces-2)"</i>
459</pre> 459</pre>
460 460
461</body> 461</body>
462</section> 462</section>
463</chapter> 463</chapter>
521<section> 521<section>
522<title>Plugins on multilib systems</title> 522<title>Plugins on multilib systems</title>
523<body> 523<body>
524 524
525<p> 525<p>
526If you are running a mixed 64-bit and 32-bit multilib system (for example, on AMD64), 526If you are running a mixed 64-bit and 32-bit multilib system (for example, on
527you can only use 32-bit Java plugins. 527AMD64), you can only use 32-bit Java plugins.
528</p> 528</p>
529 529
530<p> 530<p>
531To use a 32-bit plugin, you will need to emerge <c>emul-linux-x86-java</c> with 531To use a 32-bit plugin, you will need to emerge <c>emul-linux-x86-java</c> with
532the <c>nsplugin</c> USE flag enabled. 532the <c>nsplugin</c> USE flag enabled.

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

  ViewVC Help
Powered by ViewVC 1.1.20