mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
Minor text changes and a change from a cp/chmod command to an install command in the JDK instructions
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6690 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
492000eeb6
commit
1d359cd385
@ -65,7 +65,8 @@
|
||||
(you'll need to click and agree to the <quote>Sun Microsystems, Inc.
|
||||
Binary Code License Agreement</quote>). To build from the source, you will
|
||||
also need to download the additional files and patches to complete the
|
||||
source build as detailed below.</para>
|
||||
source build as detailed below. Note that in some countries you cannot
|
||||
download the source code.</para>
|
||||
|
||||
<bridgehead renderas="sect3">Precompiled Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
@ -204,9 +205,8 @@
|
||||
<para>Install the precompiled <application>JDK</application> with the
|
||||
following commands:</para>
|
||||
|
||||
<screen><userinput>cp jdk-&jdk-bin-string;-linux-i?86.bin jdk-mod.bin &&
|
||||
<screen><userinput>install -m755 jdk-&jdk-bin-string;-linux-i?86.bin jdk-mod.bin &&
|
||||
sed -i "s:^PATH=.*::" jdk-mod.bin &&
|
||||
chmod -v +x jdk-mod.bin &&
|
||||
./jdk-mod.bin &&
|
||||
rm jdk-mod.bin</userinput></screen>
|
||||
|
||||
@ -390,6 +390,12 @@ unset ALT_CACERTS_FILE PATH_HOLD</userinput></screen>
|
||||
|
||||
<screen role="root"><userinput>ln -v -nsf jdk-&jdk-src-version; /opt/jdk/jdk</userinput></screen>
|
||||
|
||||
<para>The information below assumes your system is set up using the
|
||||
instructions found in
|
||||
<quote><xref linkend="postlfs-config-profile"/></quote>. You may need to
|
||||
extract the relevant information below and incorporate it into your
|
||||
system's startup files if your system is set up differently.</para>
|
||||
|
||||
<para>Add the following <filename>jdk.sh</filename> shell startup file to
|
||||
the <filename>/etc/profile.d</filename> directory with the following
|
||||
commands as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
Loading…
Reference in New Issue
Block a user