Ignore:
Timestamp:
01/30/2003 08:04:11 AM (20 years ago)
Author:
Tushar Teredesai <tushar@…>
Branches:
10.0, 10.1, 11.0, 11.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, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/test-20220226
Children:
a40092c
Parents:
860ca0e
Message:

update to j2sdk-1.4.1

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

File:
1 edited

Legend:

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

    r860ca0e r1bf950c  
    22<title>Configuring j2sdk</title>
    33
    4 <sect3><title>Config files</title>
    5 <para><userinput>/etc/profile, ~/.bash_profile, ~/.profile, ~/.bashrc</userinput></para>
     4<sect3><title>Configuration Information</title>
     5
     6<para>We have two Java 2 SDK's installed in /opt/j2sdk. Decide on which one you
     7would like to use as the default. For example if you decide to use the source
     8compiled j2sdk, do the following:</para>
     9
     10<para><screen><userinput>ln -nsf j2sdk-&j2sdk-src-version; /opt/j2sdk/j2sdk
     11</userinput></screen></para>
     12
     13<para>Add the following lines to your shell startup file (e.g. /etc/profile).
     14</para>
     15
     16<para><screen><userinput>export JAVA_HOME=/opt/j2sdk/j2sdk
     17export PATH=$PATH:$JAVA_HOME/bin</userinput></screen></para>
     18
     19<para>Add $JAVA_HOME/man to your MANPATH variable or to /etc/man.conf</para>
     20
     21<para>The java plugin is in the directory <userinput>$JAVA_HOME/jre/plugin/i?86/ns610/</userinput>.
     22Make a symbolic link to the file in that directory from your plugins directory.
     23</para>
     24
    625</sect3>
    726
    8 <sect3><title>Configuration Information</title>
    9 
    10 <para>Add the following lines to the appropriate file listed
    11 above.</para>
    12 
    13 <para><screen><userinput>export JAVA_HOME=&lt;path to&gt;/j2sdk&j2sdk-version;
    14 export PATH=$PATH:$JAVA_HOME/bin</userinput></screen></para>
    15 
    16 <para>You now have a java development environment installed on your
    17 machine, however it is compiled with a different library than the other
    18 programs which creates incompatabilities.  Specifically, the plug-in
    19 will not work with browsers compiled on your machine.</para>
    20 
    21 <para>There is a solution if you are willing to accept the SUN COMMUNITY
    22 SOURCE LICENSE for the Java 2 Platform Standard Edition.  Note that you
    23 are not allowed to distribute the resulting JDK/JRE and you also cannot
    24 use the resulting JDK to compile programs for distribution unless they
    25 pass Sun's compatiblity tests. In short don't use the resulting JDK
    26 except for your personal use.</para>
    27 </sect3>
    2827</sect2>
    2928
Note: See TracChangeset for help on using the changeset viewer.