Changeset 1402f13


Ignore:
Timestamp:
03/20/2007 04:29:48 AM (17 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
8dbe2b6
Parents:
6426122
Message:

Updated to JDK-1.5.0.11 (source and binary)

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r6426122 r1402f13  
    44-->
    55
    6 <!ENTITY day          "19">                   <!-- Always 2 digits -->
     6<!ENTITY day          "20">                   <!-- Always 2 digits -->
    77<!ENTITY month        "03">                   <!-- Always 2 digits -->
    88<!ENTITY year         "2007">
     
    187187<!ENTITY gcc3-version                 "3.3.6">
    188188<!ENTITY guile-version                "1.6.7">
    189 <!ENTITY jdk-bin-version              "1.5.0_10">
    190 <!ENTITY jdk-bin-string               "1_5_0_10">
    191 <!ENTITY jdk-src-version              "1.5.0_10">
    192 <!ENTITY jdk-src-string               "1_5_0_10">
     189<!ENTITY jdk-bin-version              "1.5.0_11">
     190<!ENTITY jdk-bin-string               "1_5_0_11">
     191<!ENTITY jdk-src-version              "1.5.0_11">
     192<!ENTITY jdk-src-string               "1_5_0_11">
    193193<!ENTITY librep-version               "0.17">
    194194<!ENTITY NASM-version                 "0.98.39">
  • general/prog/jdk.xml

    r6426122 r1402f13  
    55  %general-entities;
    66
    7   <!ENTITY jdk-download-source "http://download.java.net/tiger/archive/tiger_u10/">
    8   <!ENTITY jdk-download-binary "http://java.sun.com/j2se/1.5.0/download.jsp">
    9   <!ENTITY jdk-source-md5sum   "&sources-anduin-http;/j/jdk-&jdk-src-version;.md5sums">
    10   <!ENTITY jdk-bin-md5sum      "d916c24bed9eef7aebc2626115e14a11">
    11   <!ENTITY jdk-bin-size        "47.2 MB">
    12   <!ENTITY jdk-src-size        "64.2 MB (three .jar files)">
    13   <!ENTITY jdk-src-buildsize   "1882 MB">
    14   <!ENTITY jdk-time            "34 SBU">
     7  <!ENTITY jdk-download-binary       "http://java.sun.com/javase/downloads/index_jdk5.jsp">
     8  <!ENTITY jdk-bin-md5sum            "14ba8eccfd97f6bd23d8dc32b38b1121">
     9  <!ENTITY jdk-bin-size              "49 MB">
     10  <!ENTITY jdk-bin-buildsize         "150 MB">
     11
     12  <!ENTITY jdk-download-source-jrl   "http://www.java.net/download/tiger/tiger_u11/jdk-1_5_0_11-fcs-src-b03-jrl-15_dec_2006.jar">
     13  <!ENTITY jdk-download-source-jiul  "http://www.java.net/download/tiger/tiger_u11/jdk-1_5_0_11-fcs-src-b03-jiul-15_dec_2006.jar">
     14  <!ENTITY jdk-download-source-bin   "http://www.java.net/download/tiger/tiger_u11/jdk-1_5_0_11-fcs-bin-b03-jrl-15_dec_2006.jar">
     15  <!ENTITY jdk-download-source-moz   "http://www.java.net/download/tiger/tiger_u11/jdk-1_5_0_11-mozilla_headers-b03-unix-15_dec_2006.jar">
     16  <!ENTITY jdk-source-jrl-md5sum     "e6661cce9c94009e2fa909a151c0160c">
     17  <!ENTITY jdk-source-jiul-md5sum    "be3653bc93d9efe715cb7a64c513eeef">
     18  <!ENTITY jdk-source-bin-md5sum     "7c952fba37101c154f1636dc401aa093">
     19  <!ENTITY jdk-source-moz-md5sum     "16ed66d11701496e3b4e10a24edd3f1b">
     20  <!ENTITY jdk-src-size              "67 MB (three .jar files)">
     21  <!ENTITY jdk-src-buildsize         "1.9 GB">
     22  <!ENTITY jdk-time                  "30 SBU">
    1523]>
    1624
     
    3947    <application>Java</application> aware.</para>
    4048
    41     <para>The <application>JDK</application> comes in two flavors, a
    42     precompiled binary and a source package. Previously, the plugin included
     49    <!-- Previously, the plugin included
    4350    in the <application>JDK</application> binary package was unusable on LFS
    4451    owing to incompatibilities with <application>GCC</application>-3 compiled
     
    5158    addition, the source code is not allowed to be downloaded to some
    5259    countries, so for users in those countries, the binary is the only
    53     option.</para>
    54 
    55     <para>You will first need to download and install the binary version of the
    56     <application>JDK</application>.</para>
    57 
    58     <para>To build  from the source, you will also need to download the
    59     additional files and patches to complete the source build as detailed
    60     below.</para>
    61 
    62     <bridgehead renderas="sect3">Package Information</bridgehead>
     60    option.</para> -->
     61
     62    <para>The <application>JDK</application> comes in two flavors, a
     63    precompiled binary and a source package. You will first need to download
     64    and install the binary version of the <application>JDK</application>
     65    (you'll need to click and agree to the <quote>Sun Microsystems, Inc.
     66    Binary Code License Agreement</quote>). To build from the source, you will
     67    also need to download the additional files and patches to complete the
     68    source build as detailed below.</para>
     69
     70    <bridgehead renderas="sect3">Precompiled Package Information</bridgehead>
    6371    <itemizedlist spacing="compact">
    6472      <listitem>
    65         <para>Binary download: <ulink url="&jdk-download-binary;"/>
    66         (to download jdk-&jdk-bin-string;-linux-i586.bin)</para>
    67       </listitem>
    68       <listitem>
    69         <para>Download MD5 sum (binary): &jdk-bin-md5sum;</para>
    70       </listitem>
    71       <listitem>
    72         <para>Source download: <ulink url="&jdk-download-source;"/>
    73         (to download jdk-&jdk-src-string;-fcs-src-b03-jrl-09_nov_2006.jar (or
    74          optionally the JIUL version),
    75          jdk-&jdk-src-string;-fcs-bin-b03-09_nov_2006.jar, and
    76          jdk-&jdk-src-string;-mozilla_headers-b03-unix-09_nov_2006.jar)</para>
    77       </listitem>
    78 
    79       <listitem>
    80         <para>Download MD5 sums (source):
     73        <para>Binary download (jdk-&jdk-bin-string;-linux-i586.bin):
     74        <ulink url="&jdk-download-binary;"/></para>
     75      </listitem>
     76      <listitem>
     77        <para>Download MD5 sum: &jdk-bin-md5sum;</para>
     78      </listitem>
     79      <listitem>
     80        <para>Download size (binary): &jdk-bin-size;</para>
     81      </listitem>
     82      <listitem>
     83        <para>Estimated disk space required: &jdk-bin-buildsize;</para>
     84      </listitem>
     85    </itemizedlist>
     86
     87    <bridgehead renderas="sect3">Source Package Information</bridgehead>
     88    <para>The source code is distributed under two licenses and most will need
     89    the JRL version. The JIUL version is listed as well, but you only need to
     90    download one or the other.</para>
     91    <itemizedlist spacing="compact">
     92      <listitem>
     93        <para>Source downloads:
    8194          <simplelist>
    82             <member>09842a4e68040db473e04dbcc284f1d5
    83                     jdk-&jdk-src-string;-fcs-bin-b03-09_nov_2006.jar
     95            <member>JRL Source &mdash;
     96                    <ulink url="&jdk-download-source-jrl;"/> &mdash;
     97                    &jdk-source-jrl-md5sum;
    8498            </member>
    85             <member>b59335f620e7da524be168b07319fa3b
    86                     jdk-&jdk-src-string;-fcs-src-b03-jrl-09_nov_2006.jar
     99            <member>JIUL Source &mdash;
     100                    <ulink url="&jdk-download-source-jiul;"/> &mdash;
     101                    &jdk-source-jiul-md5sum;
    87102            </member>
    88             <member>f49df1a1e7fe351b7fa9f66db121616e
    89                     jdk-&jdk-src-string;-mozilla_headers-b03-unix-09_nov_2006.jar
     103            <member>Source Binaries &mdash;
     104                    <ulink url="&jdk-download-source-bin;"/> &mdash;
     105                    &jdk-source-bin-md5sum;
     106            </member>
     107            <member>Mozilla Headers &mdash;
     108                    <ulink url="&jdk-download-source-moz;"/> &mdash;
     109                    &jdk-source-moz-md5sum;
    90110            </member>
    91111          </simplelist>
     
    93113      </listitem>
    94114
    95       <listitem>
    96         <para>Download size (binary): &jdk-bin-size;</para>
    97       </listitem>
    98115      <listitem>
    99116        <para>Download size (source): &jdk-src-size;</para>
     
    163180    <title>Installation of JDK</title>
    164181
    165     <para>Both the binary and source built versions will be installed.  You may
    166     choose to keep either or both.</para>
     182    <para>The instructions below install both the binary and source versions.
     183    You may stop after installing the binary version or continue on installing
     184    the source version. You can choose to keep either or both.</para>
    167185
    168186    <tip>
     
    190208sed -i "s:^PATH=.*::" jdk-mod.bin &amp;&amp;
    191209chmod -v +x jdk-mod.bin &amp;&amp;
    192 ./jdk-mod.bin</userinput></screen>
     210./jdk-mod.bin &amp;&amp;
     211rm jdk-mod.bin</userinput></screen>
    193212
    194213    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    195214
    196215<screen role="root"><userinput>cd jdk&jdk-bin-version; &amp;&amp;
    197 install -v -d /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
     216install -v -m755 -d /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
    198217mv -v * /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
    199218chown -v -R root:root /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
     
    268287
    269288    <para>Build the <application>JDK</application> with the following
    270     commands. There will be a lot of messages about missing files that look like
     289    commands. There will be a few messages about missing files that look like
    271290    errors. These are caused by not meeting the expected build environment
    272291    (Red Hat).  As long as the build doesn't stop, the messages
    273292    are harmless.</para>
    274293
    275 <screen><userinput>cd control/make &amp;&amp;
     294<screen><userinput>pushd control/make &amp;&amp;
    276295make &amp;&amp;
    277 cd ../build/linux-i?86</userinput></screen>
     296popd</userinput></screen>
    278297
    279298    <para>To test the results, you can run one of the provided demo programs
     
    281300    following commands:</para>
    282301
    283 <screen><userinput>cd j2sdk-image/demo/jfc/Java2D &amp;&amp;
     302<screen><userinput>pushd control/build/linux-i?86/j2sdk-image/demo/jfc/Java2D &amp;&amp;
    284303../../../bin/java -jar Java2Demo.jar &amp;&amp;
    285 cd ../../../..</userinput></screen>
     304popd</userinput></screen>
    286305
    287306    <para>Now, as the <systemitem class="username">root</systemitem> user,
    288307    install the <application>JDK</application>:</para>
    289308
    290 <screen role="root"><userinput>cp -v -a j2sdk-image /opt/jdk/jdk-&jdk-src-version; &amp;&amp;
     309<screen role="root"><userinput>pushd control/build/linux-i?86 &amp;&amp;
     310cp -v -a j2sdk-image /opt/jdk/jdk-&jdk-src-version; &amp;&amp;
    291311chown -v -R root:root /opt/jdk/jdk-&jdk-src-version; &amp;&amp;
    292 ln -v -sf motif21/libmawt.so  /opt/jdk/jdk-&jdk-src-version;/jre/lib/i386/</userinput></screen>
     312ln -v -sf motif21/libmawt.so  /opt/jdk/jdk-&jdk-src-version;/jre/lib/i386/ &amp;&amp;
     313find /opt/jdk/jdk-&jdk-src-version; \
     314     -type f -perm 600 -exec chmod -v 644 {} \; &amp;&amp;
     315find /opt/jdk/jdk-&jdk-src-version; \
     316     -name "*.so" -exec chmod -v 755 {} \; &amp;&amp;
     317chmod -v 755 /opt/jdk/jdk-&jdk-src-version;/jre/bin/* &amp;&amp;
     318popd</userinput></screen>
    293319
    294320    <para>Restore the unprivileged user's environment using the following
  • introduction/welcome/changelog.xml

    r6426122 r1402f13  
    4343
    4444    <listitem>
     45      <para>March 20th, 2007</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[randy] - Updated to JDK-1.5.0.11 (source and binary).</para>
     49        </listitem>
     50      </itemizedlist>
     51    </listitem>
     52
     53    <listitem>
    4554      <para>March 19th, 2007</para>
    4655      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.