/[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.24 Revision 1.25
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.24 2006/06/24 19:06:34 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/java.xml,v 1.25 2006/07/13 06:29:21 rane 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
8<author title="Author"> 8<author title="Author">
9 <mail link="karltk@gentoo.org">Karl Trygve Kalleberg</mail> 9 <mail link="karltk@gentoo.org">Karl Trygve Kalleberg</mail>
10</author> 10</author>
11<author title="Author"> 11<author title="Author">
12 <mail link="nichoj@gentoo.org">Joshua Nichols</mail> 12 <mail link="nichoj@gentoo.org">Joshua Nichols</mail>
13</author> 13</author>
14<author title="Editor"> 14<author title="Editor">
15 <mail link="nightmorph@gentoo.org">Joshua Saddler</mail> 15 <mail link="nightmorph@gentoo.org">Joshua Saddler</mail>
16</author> 16</author>
17 17
422 422
423<p> 423<p>
424For users, <c>java-config --set-user-classpath</c> will create 424For users, <c>java-config --set-user-classpath</c> will create
425<path>~/.gentoo/java-env-classpath</path>, which you should then source from 425<path>~/.gentoo/java-env-classpath</path>, which you should then source from
426your shell's profile. 426your shell's profile.
427</p> 427</p>
428 428
429<pre caption="Sourcing user specific classpath"> 429<pre caption="Sourcing user specific classpath">
430<i>if [[ -f "${HOME}/.gentoo/java-env-classpath" ]]; then 430<i>if [[ -f "${HOME}/.gentoo/java-env-classpath" ]]; then
431 source ${HOME}/.gentoo/java-env-classpath 431 source ${HOME}/.gentoo/java-env-classpath
432fi</i> 432fi</i>
433</pre> 433</pre>
434 434
435<p> 435<p>
436If you really want a system wide or user default classpath you can add 436If you really want a system wide or user default classpath you can add
437something like like the following to your shell's profile. But we would advise 437something like the following to your shell's profile. But we would advise
438against it. 438against it.
439</p> 439</p>
440 440
441<pre caption="Setting classpath"> 441<pre caption="Setting classpath">
442# <i>export CLASSPATH="${CLASSPATH}:$(java-config --classpath log4j,xerces-2)"</i> 442# <i>export CLASSPATH="${CLASSPATH}:$(java-config --classpath log4j,xerces-2)"</i>
443</pre> 443</pre>
444 444
445</body> 445</body>
446</section> 446</section>
447</chapter> 447</chapter>
448 448
449<chapter> 449<chapter>
450<title>USE flags for use with Java</title> 450<title>USE flags for use with Java</title>
451<section> 451<section>
452<title>Setting USE flags</title> 452<title>Setting USE flags</title>

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.20