Changeset b26eca2


Ignore:
Timestamp:
03/14/2006 03:45:21 AM (18 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.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, 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, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
473131d
Parents:
8222555
Message:

Rewrote into material and binary install procedures for JDK

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r8222555 rb26eca2  
    1 <!ENTITY day          "13">                   <!-- Always 2 digits -->
     1<!ENTITY day          "14">                   <!-- Always 2 digits -->
    22<!ENTITY month        "03">                   <!-- Always 2 digits -->
    33<!ENTITY year         "2006">
  • general/prog/jdk.xml

    r8222555 rb26eca2  
    1212  <!ENTITY jdk-src-size        "64.4 MB (three .jar files)">
    1313  <!ENTITY jdk-src-buildsize   "1553 MB">
    14   <!ENTITY jdk-time            "29.05 SBU">
     14  <!ENTITY jdk-time            "29 SBU">
    1515]>
    1616
     
    5353    Java Research License</ulink> or optionally, the Sun
    5454    <ulink url="http://java.net/jiul.csp">Java Internal Use License</ulink>.
    55     In addition, the source code cannot be downloaded from some countries, so
     55    In addition, the source code cannot be downloaded to some countries, so
    5656    for users in those countries, the binary is the only option.</para>
    5757
    58     <para>If you plan on compiling the <application>JDK</application> source,
    59     you will still need to download the binary version to bootstrap the
    60     <application>JDK</application> build.  You will need to download a total
    61     of four files to complete the source build:
    62     <filename>jdk-&jdk-bin-string;-linux-i586.bin</filename>,
    63     <filename>jdk-&jdk-src-string;-fcs-src-b05-jrl-13_oct_2005.jar</filename>
    64     (or optionally the JIUL version),
    65     <filename>jdk-&jdk-src-string;-fcs-bin-b05-13_oct_2005.jar</filename>, and
    66     <filename>jdk-&jdk-src-string;-mozilla_headers-b05-unix-26_aug_2005.jar</filename>.
    67     </para>
     58    <para>You will first need to download and install the binary version of the
     59    <application>JDK</application>.</para>
     60   
     61    <para>To build  from the source, you will also need to download the
     62    additional files and patches to complete the source build as detailed
     63    below.</para>
    6864
    6965    <bridgehead renderas="sect3">Package Information</bridgehead>
    7066    <itemizedlist spacing="compact">
    7167      <listitem>
    72         <para>Binary download: <ulink url="&jdk-download-binary;"/></para>
    73       </listitem>
    74       <listitem>
    75         <para>Version used (binary): &jdk-bin-version;</para>
     68        <para>Binary download: <ulink url="&jdk-download-binary;"/>
     69        (to download jdk-&jdk-bin-string;-linux-i586.bin)</para>
    7670      </listitem>
    7771      <listitem>
     
    7973      </listitem>
    8074      <listitem>
    81         <para>Source download: <ulink url="&jdk-download-source;"/></para>
    82       </listitem>
    83 
    84       <!-- Commented out right now as there is no md5sums file on Anduin
    85       <listitem>
    86         <para>Download MD5 sum (source): <ulink url="&jdk-source-md5sum;"/></para>
    87       </listitem>
    88       -->
     75        <para>Source download: <ulink url="&jdk-download-source;"/>
     76        (to download jdk-&jdk-src-string;-fcs-src-b05-jrl-13_oct_2005.jar (or
     77         optionally the JIUL version),
     78         jdk-&jdk-src-string;-fcs-bin-b05-13_oct_2005.jar, and
     79         jdk-&jdk-src-string;-mozilla_headers-b05-unix-26_aug_2005.jar)</para>
     80      </listitem>
     81
     82      <listitem>
     83        <para>Download MD5 sums (source):
     84          <simplelist>
     85            <member>215c5175e54c2facccc2c7845e339725
     86                    jdk-&jdk-src-string;-fcs-bin-b05-13_oct_2005.jar
     87            </member>
     88            <member>884dd87faa082d294f725857c895b6f6
     89                    jdk-&jdk-src-string;-fcs-src-b05-jrl-13_oct_2005.jar
     90            </member>
     91            <member>3a3627ab55c6a63cddc90d5b3fad4b83
     92                    jdk-&jdk-src-string;-mozilla_headers-b05-unix-26_aug_2005.jar
     93            </member>
     94          </simplelist>
     95        </para>
     96      </listitem>
    8997
    9098      <listitem>
     
    125133        url="&patch-root;/jdk-&jdk-src-version;-remove_fixed_paths-1.patch"/></para>
    126134      </listitem>
     135      <listitem>
     136        <para><ulink
     137        url="&patch-root;/jdk-&jdk-src-version;-xorg-6.8.1-1.patch"/></para>
     138      </listitem>
    127139    </itemizedlist>
    128140
     
    138150        url="&patch-root;/jdk-&jdk-src-version;-static_cxx-1.patch"/>
    139151        (forces dynamic linking to <application>GCC</application> libs)</para></listitem>
    140     </itemizedlist>
    141 
    142     <bridgehead renderas="sect4">Optional Patch</bridgehead>
    143     <itemizedlist spacing='compact'>
    144       <listitem>
    145         <para><ulink
    146         url="&patch-root;/jdk-&jdk-src-version;-xorg-6.8.1-1.patch"/>
    147         (only required if building against <xref linkend="xorg"/> or
    148          <xref linkend="xorg7"/>)</para>
    149       </listitem>
    150152    </itemizedlist>
    151153
     
    166168    <title>Installation of JDK</title>
    167169
    168     <para>Both versions will be installed in parallel. You may choose to keep
    169     either or both.</para>
     170    <para>Both the binary and source built versions will be installed.  You may
     171    choose to keep either or both.</para>
    170172
    171173    <tip>
     
    182184    </tip>
    183185
     186    <para>Normally in BLFS, the files are unpacked into a subdirectory
     187    and the starting point for the installation procedures is that
     188    location.  For this application only, start in the directory where all
     189    the downloaded files are located.</para>
     190
    184191    <para>Install the precompiled <application>JDK</application> with the
    185192    following commands:</para>
    186193
    187 <screen><userinput>sed -i "s:^PATH=.*::" jdk-&jdk-bin-string;-linux-i?86.bin &amp;&amp;
    188 chmod -v +x jdk-&jdk-bin-string;-linux-i?86.bin &amp;&amp;
    189 ./jdk-&jdk-bin-string;-linux-i?86.bin &amp;&amp;
    190 cd jdk&jdk-bin-version;</userinput></screen>
     194<screen><userinput>cp jdk-&jdk-bin-string;-linux-i?86.bin jdk-mod.bin &amp;&amp;
     195sed -i "s:^PATH=.*::" jdk-mod.bin &amp;&amp;
     196chmod -v +x jdk-mod.bin &amp;&amp;
     197./jdk-mod.bin</userinput></screen>
    191198
    192199    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    193200
    194 <screen role="root"><userinput>install -v -d /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
     201<screen role="root"><userinput>cd jdk&jdk-bin-version; &amp;&amp;
     202install -v -d /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
    195203mv -v * /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
    196204chown -v -R root:root /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
    197205ln -v -sf motif21/libmawt.so \
    198     /opt/jdk/jdk-precompiled-&jdk-bin-version;/jre/lib/i386/</userinput></screen>
     206    /opt/jdk/jdk-precompiled-&jdk-bin-version;/jre/lib/i386/ &amp;&amp;
     207cd ..</userinput></screen>
    199208
    200209    <para>The binary version is now installed.</para>
  • introduction/welcome/changelog.xml

    r8222555 rb26eca2  
    4242-->
    4343    <listitem>
     44      <para>March 14th, 2006</para>
     45      <itemizedlist>
     46        <listitem>
     47          <para>[bdubbs] - Clarified jdk download instructions and made
     48          minor updates to the install of the binary version.</para>
     49        </listitem>
     50      </itemizedlist>
     51    </listitem>
     52
     53    <listitem>
    4454      <para>March 13th, 2006</para>
    4555      <itemizedlist>
  • stylesheets/blfs.css

    r8222555 rb26eca2  
    443443  font-style: italic;   
    444444}
     445
     446.simplelist {
     447  background-color: #f0fff0;
     448}
Note: See TracChangeset for help on using the changeset viewer.