2002-08-10 10:42:59 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Configuring j2sdk</title>
|
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
2003-04-10 06:30:49 +08:00
|
|
|
<para>We have two Java 2 SDK's installed in
|
|
|
|
<filename>/opt/j2sdk</filename>. Decide on which one you
|
2003-01-30 16:04:11 +08:00
|
|
|
would like to use as the default. For example if you decide to use the source
|
|
|
|
compiled j2sdk, do the following:</para>
|
|
|
|
|
2003-02-01 01:36:22 +08:00
|
|
|
<para><screen><userinput>ln -nsf j2sdk-&j2sdk-src-version; /opt/j2sdk/j2sdk</userinput></screen></para>
|
2003-01-30 16:04:11 +08:00
|
|
|
|
2003-04-10 06:30:49 +08:00
|
|
|
<para>Add the following lines to your shell startup file (e.g.
|
|
|
|
<filename>/etc/profile</filename>).
|
2003-01-30 16:04:11 +08:00
|
|
|
</para>
|
2002-08-10 10:42:59 +08:00
|
|
|
|
2003-01-30 16:04:11 +08:00
|
|
|
<para><screen><userinput>export JAVA_HOME=/opt/j2sdk/j2sdk
|
2002-08-10 10:42:59 +08:00
|
|
|
export PATH=$PATH:$JAVA_HOME/bin</userinput></screen></para>
|
|
|
|
|
2003-04-22 09:53:42 +08:00
|
|
|
<para>Add <filename>$JAVA_HOME/man</filename> to your
|
|
|
|
<envar>MANPATH</envar> variable or to
|
2003-04-10 06:30:49 +08:00
|
|
|
<filename>/etc/man.conf</filename></para>
|
2003-01-30 16:04:11 +08:00
|
|
|
|
2003-04-23 11:10:26 +08:00
|
|
|
<para>The java plugin is in the directory <filename class="directory">$JAVA_HOME/jre/plugin/i?86/ns610/</filename>.
|
2003-01-30 16:04:11 +08:00
|
|
|
Make a symbolic link to the file in that directory from your plugins directory.
|
|
|
|
</para>
|
|
|
|
|
2002-08-10 10:42:59 +08:00
|
|
|
</sect3>
|
2003-01-30 16:04:11 +08:00
|
|
|
|
2002-08-10 10:42:59 +08:00
|
|
|
</sect2>
|
|
|
|
|