Changeset 1bf950c for general/prog/jdk/j2sdk-config.xml
- Timestamp:
- 01/30/2003 08:04:11 AM (20 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/jdk/j2sdk-config.xml
r860ca0e r1bf950c 2 2 <title>Configuring j2sdk</title> 3 3 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 7 would like to use as the default. For example if you decide to use the source 8 compiled 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 17 export 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>. 22 Make a symbolic link to the file in that directory from your plugins directory. 23 </para> 24 6 25 </sect3> 7 26 8 <sect3><title>Configuration Information</title>9 10 <para>Add the following lines to the appropriate file listed11 above.</para>12 13 <para><screen><userinput>export JAVA_HOME=<path to>/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 your17 machine, however it is compiled with a different library than the other18 programs which creates incompatabilities. Specifically, the plug-in19 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 COMMUNITY22 SOURCE LICENSE for the Java 2 Platform Standard Edition. Note that you23 are not allowed to distribute the resulting JDK/JRE and you also cannot24 use the resulting JDK to compile programs for distribution unless they25 pass Sun's compatiblity tests. In short don't use the resulting JDK26 except for your personal use.</para>27 </sect3>28 27 </sect2> 29 28
Note:
See TracChangeset
for help on using the changeset viewer.