source: general/prog/jdk/j2sdk-inst.xml@ 37e8bccd

10.0 10.1 11.0 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 ken/refactor-virt 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/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 37e8bccd was 37e8bccd, checked in by Mark Hymers <markh@…>, 19 years ago

change to using the two ffile-root and hfile-root entities

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@294 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.1 KB
Line 
1<sect2>
2<title>Installation of j2sdk</title>
3
4<para>Before installing j2sdk, you need to
5download <filename>libstdc++-libc6.1-1.so.2.bz2</filename>
6from <ulink url="&ffile-root;"/> and decompress it
7to your source directory.</para>
8
9<para>Install j2sdk by running the following commands:</para>
10
11<para><screen><userinput>mkdir java &amp;&amp;
12mv j2sdk*.bin java &amp;&amp;
13cd java &amp;&amp;
14chmod 711 j2sdk*.bin &amp;&amp;
15./j2sdk*.bin &amp;&amp;
16mv j2sdk*.bin .. &amp;&amp;
17cp ../libstdc++-libc6.1-1.so.2 j2sdk&j2sdk-version;/jre/lib/i386</userinput></screen></para>
18
19<para>Test the installation with the following commands:</para>
20
21<para><screen><userinput>export JAVA_HOME=$PWD/j2sdk&j2sdk-version; &amp;&amp;
22j2sdk&j2sdk-version;/jre/bin/java -version</userinput></screen></para>
23
24<para>If you get a version line, a description of the runtime
25environment and a desrciption of the client VM (virtual machine), you are ready
26to go.</para>
27
28<para>If you are not going to compile java from scratch, move the java
29tree to <filename>/opt</filename>:</para>
30
31<para><screen><userinput>mv j2sdk&j2sdk-version; /opt/java</userinput></screen></para>
32</sect2>
33
Note: See TracBrowser for help on using the repository browser.