mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-31 12:32:13 +08:00
064db32a39
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@876 af4574ff-66df-0310-9fd7-8a98e5e911e0
32 lines
1006 B
XML
32 lines
1006 B
XML
<sect2>
|
|
<title>Configuring j2sdk</title>
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
<para>We have two Java 2 SDK's installed in
|
|
<filename>/opt/j2sdk</filename>. Decide on which one you
|
|
would like to use as the default. For example if you decide to use the source
|
|
compiled j2sdk, do the following:</para>
|
|
|
|
<para><screen><userinput>ln -nsf j2sdk-&j2sdk-src-version; /opt/j2sdk/j2sdk</userinput></screen></para>
|
|
|
|
<para>Add the following lines to your shell startup file (e.g.
|
|
<filename>/etc/profile</filename>).
|
|
</para>
|
|
|
|
<para><screen><userinput>export JAVA_HOME=/opt/j2sdk/j2sdk
|
|
export PATH=$PATH:$JAVA_HOME/bin</userinput></screen></para>
|
|
|
|
<para>Add <filename>$JAVA_HOME/man</filename> to your
|
|
<envar>MANPATH</envar> variable or to
|
|
<filename>/etc/man.conf</filename></para>
|
|
|
|
<para>The java plugin is in the directory <filename class="directory">$JAVA_HOME/jre/plugin/i?86/ns610/</filename>.
|
|
Make a symbolic link to the file in that directory from your plugins directory.
|
|
</para>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|