- Timestamp:
- 03/20/2007 04:29:48 AM (17 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/jdk.xml
r6426122 r1402f13 5 5 %general-entities; 6 6 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"> 15 23 ]> 16 24 … … 39 47 <application>Java</application> aware.</para> 40 48 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 43 50 in the <application>JDK</application> binary package was unusable on LFS 44 51 owing to incompatibilities with <application>GCC</application>-3 compiled … … 51 58 addition, the source code is not allowed to be downloaded to some 52 59 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> 63 71 <itemizedlist spacing="compact"> 64 72 <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: 81 94 <simplelist> 82 <member>09842a4e68040db473e04dbcc284f1d5 83 jdk-&jdk-src-string;-fcs-bin-b03-09_nov_2006.jar 95 <member>JRL Source — 96 <ulink url="&jdk-download-source-jrl;"/> — 97 &jdk-source-jrl-md5sum; 84 98 </member> 85 <member>b59335f620e7da524be168b07319fa3b 86 jdk-&jdk-src-string;-fcs-src-b03-jrl-09_nov_2006.jar 99 <member>JIUL Source — 100 <ulink url="&jdk-download-source-jiul;"/> — 101 &jdk-source-jiul-md5sum; 87 102 </member> 88 <member>f49df1a1e7fe351b7fa9f66db121616e 89 jdk-&jdk-src-string;-mozilla_headers-b03-unix-09_nov_2006.jar 103 <member>Source Binaries — 104 <ulink url="&jdk-download-source-bin;"/> — 105 &jdk-source-bin-md5sum; 106 </member> 107 <member>Mozilla Headers — 108 <ulink url="&jdk-download-source-moz;"/> — 109 &jdk-source-moz-md5sum; 90 110 </member> 91 111 </simplelist> … … 93 113 </listitem> 94 114 95 <listitem>96 <para>Download size (binary): &jdk-bin-size;</para>97 </listitem>98 115 <listitem> 99 116 <para>Download size (source): &jdk-src-size;</para> … … 163 180 <title>Installation of JDK</title> 164 181 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> 167 185 168 186 <tip> … … 190 208 sed -i "s:^PATH=.*::" jdk-mod.bin && 191 209 chmod -v +x jdk-mod.bin && 192 ./jdk-mod.bin</userinput></screen> 210 ./jdk-mod.bin && 211 rm jdk-mod.bin</userinput></screen> 193 212 194 213 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 195 214 196 215 <screen role="root"><userinput>cd jdk&jdk-bin-version; && 197 install -v - d /opt/jdk/jdk-precompiled-&jdk-bin-version; &&216 install -v -m755 -d /opt/jdk/jdk-precompiled-&jdk-bin-version; && 198 217 mv -v * /opt/jdk/jdk-precompiled-&jdk-bin-version; && 199 218 chown -v -R root:root /opt/jdk/jdk-precompiled-&jdk-bin-version; && … … 268 287 269 288 <para>Build the <application>JDK</application> with the following 270 commands. There will be a lot ofmessages about missing files that look like289 commands. There will be a few messages about missing files that look like 271 290 errors. These are caused by not meeting the expected build environment 272 291 (Red Hat). As long as the build doesn't stop, the messages 273 292 are harmless.</para> 274 293 275 <screen><userinput> cd control/make &&294 <screen><userinput>pushd control/make && 276 295 make && 277 cd ../build/linux-i?86</userinput></screen>296 popd</userinput></screen> 278 297 279 298 <para>To test the results, you can run one of the provided demo programs … … 281 300 following commands:</para> 282 301 283 <screen><userinput> cdj2sdk-image/demo/jfc/Java2D &&302 <screen><userinput>pushd control/build/linux-i?86/j2sdk-image/demo/jfc/Java2D && 284 303 ../../../bin/java -jar Java2Demo.jar && 285 cd ../../../..</userinput></screen>304 popd</userinput></screen> 286 305 287 306 <para>Now, as the <systemitem class="username">root</systemitem> user, 288 307 install the <application>JDK</application>:</para> 289 308 290 <screen role="root"><userinput>cp -v -a j2sdk-image /opt/jdk/jdk-&jdk-src-version; && 309 <screen role="root"><userinput>pushd control/build/linux-i?86 && 310 cp -v -a j2sdk-image /opt/jdk/jdk-&jdk-src-version; && 291 311 chown -v -R root:root /opt/jdk/jdk-&jdk-src-version; && 292 ln -v -sf motif21/libmawt.so /opt/jdk/jdk-&jdk-src-version;/jre/lib/i386/</userinput></screen> 312 ln -v -sf motif21/libmawt.so /opt/jdk/jdk-&jdk-src-version;/jre/lib/i386/ && 313 find /opt/jdk/jdk-&jdk-src-version; \ 314 -type f -perm 600 -exec chmod -v 644 {} \; && 315 find /opt/jdk/jdk-&jdk-src-version; \ 316 -name "*.so" -exec chmod -v 755 {} \; && 317 chmod -v 755 /opt/jdk/jdk-&jdk-src-version;/jre/bin/* && 318 popd</userinput></screen> 293 319 294 320 <para>Restore the unprivileged user's environment using the following
Note:
See TracChangeset
for help on using the changeset viewer.