mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-31 20:42:34 +08:00
74c110081c
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@83 af4574ff-66df-0310-9fd7-8a98e5e911e0
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<sect2>
|
|
<title>Configuring j2sdk</title>
|
|
|
|
<sect3><title>Config files</title>
|
|
<para><userinput>/etc/profile, ~/.bash_profile, ~/.profile, ~/.bashrc</userinput></para>
|
|
</sect3>
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
<para>Add the following lines to the appropriate file listed
|
|
above.</para>
|
|
|
|
<para><screen><userinput>export JAVA_HOME=<path to>/j2sdk&j2sdk-version;
|
|
export PATH=$PATH:$JAVA_HOME/bin</userinput></screen></para>
|
|
|
|
<para>You now have a java development environment installed on your
|
|
machine, however it is compiled with a different library than the other
|
|
programs which creates incompatabilities. Specifically, the plug-in
|
|
will not work with browsers compiled on your machine.</para>
|
|
|
|
<para>There is a solution if you are willing to accept the SUN COMMUNITY
|
|
SOURCE LICENSE for the Java 2 Platform Standard Edition. Note that you
|
|
are not allowed to distribute the resulting JDK/JRE and you also cannot
|
|
use the resulting JDK to compile programs for distribution unless they
|
|
pass Sun's compatiblity tests. In short don't use the resulting JDK
|
|
except for your personal use.</para>
|
|
</sect3>
|
|
</sect2>
|
|
|