10.0
10.1
11.0
11.1
11.2
11.3
12.0
12.1
12.2
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
gimp3
gnome
kde5-13430
kde5-14269
kde5-14686
kea
ken/TL2024
ken/inkscape-core-mods
ken/tuningfonts
krejzi/svn
lazarus
lxqt
nosym
perl-modules
plabs/newcss
plabs/python-mods
python3.11
qt5new
rahul/power-profiles-daemon
renodr/vulkan-addition
systemd-11177
systemd-13485
trunk
upgradedb
v5_0
v5_0-pre1
v5_1
v5_1-pre1
xry111/for-12.3
xry111/intltool
xry111/llvm18
xry111/soup3
xry111/spidermonkey128
xry111/test-20220226
xry111/xf86-video-removal
Last change
on this file since 2082ebf6 was 06aea651, checked in by Larry Lawrence <larry@…>, 21 years ago |
chapter 12
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1204 af4574ff-66df-0310-9fd7-8a98e5e911e0
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[74c1100] | 1 | <sect2>
|
---|
[06aea651] | 2 | <title>Configuring <application>J2SDK</application></title>
|
---|
[74c1100] | 3 |
|
---|
| 4 | <sect3><title>Configuration Information</title>
|
---|
| 5 |
|
---|
[06aea651] | 6 | <para>We have two Java 2 <acronym>SDK</acronym>'s installed in
|
---|
[8a0cee4] | 7 | <filename>/opt/j2sdk</filename>. Decide on which one you
|
---|
[1bf950c] | 8 | would like to use as the default. For example if you decide to use the source
|
---|
[06aea651] | 9 | compiled <application>J2SDK</application>, do the following:</para>
|
---|
[1bf950c] | 10 |
|
---|
[06aea651] | 11 | <screen><userinput><command>ln -nsf j2sdk-&j2sdk-src-version; /opt/j2sdk/j2sdk</command></userinput></screen>
|
---|
[1bf950c] | 12 |
|
---|
[8a0cee4] | 13 | <para>Add the following lines to your shell startup file (e.g.
|
---|
[06aea651] | 14 | <filename>/etc/profile</filename>).</para>
|
---|
[74c1100] | 15 |
|
---|
[06aea651] | 16 | <screen><userinput>export JAVA_HOME=/opt/j2sdk/j2sdk
|
---|
| 17 | export PATH=$PATH:$JAVA_HOME/bin</userinput></screen>
|
---|
[74c1100] | 18 |
|
---|
[52b9837f] | 19 | <para>Add <filename>$JAVA_HOME/man</filename> to your
|
---|
| 20 | <envar>MANPATH</envar> variable or to
|
---|
[8a0cee4] | 21 | <filename>/etc/man.conf</filename></para>
|
---|
[1bf950c] | 22 |
|
---|
[06aea651] | 23 | <para>The <application>Java</application> plugin is in the directory
|
---|
| 24 | <filename class="directory">$JAVA_HOME/jre/plugin/i?86/ns610/</filename>.
|
---|
[1bf950c] | 25 | Make a symbolic link to the file in that directory from your plugins directory.
|
---|
| 26 | </para>
|
---|
| 27 |
|
---|
[74c1100] | 28 | </sect3>
|
---|
[1bf950c] | 29 |
|
---|
[74c1100] | 30 | </sect2>
|
---|
| 31 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.