Ignore:
Timestamp:
01/25/2004 02:38:24 AM (20 years ago)
Author:
Tushar Teredesai <tushar@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
7426781
Parents:
1fdbdb4
Message:

Updated to j2sdk-1.4.2

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1718 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/jdk/j2sdk-config.xml

    r1fdbdb4 r9255931  
    2828</sect3>
    2929
     30<sect3><title>Handling CLASSPATH</title>
     31
     32<para>When compiling packages, the <envar>CLASSPATH</envar> environment variable
     33is used JDK to locate classes at compile-time and run-time. It is tedious to
     34add all the classes used to the <envar>CLASSPATH</envar> manually. You may add
     35the following lines to your shell startup file to set <envar>CLASSPATH</envar>
     36automatically to include all JAR files in a specified directory, which in
     37the example below is <filename>/usr/lib/auto-java-classpath</filename>.</para>
     38
     39<screen><userinput>AUTO_CLASSPATH_DIR=/usr/lib/auto-java-classpath
     40if [ -z $CLASSPATH ]
     41then
     42  CLASSPATH=.:$AUTO_CLASSPATH_DIR
     43else
     44  CLASSPATH=$CLASSPATH:.:$AUTO_CLASSPATH_DIR
     45fi
     46for i in $(ls $AUTO_CLASSPATH_DIR/*.jar 2>/dev/null)
     47do
     48  CLASSPATH=$CLASSPATH:$i
     49done</userinput></screen>
     50
     51</sect3>
     52
    3053</sect2>
    3154
Note: See TracChangeset for help on using the changeset viewer.