Changeset cb61e3a8
- Timestamp:
- 10/06/2005 05:07:22 AM (19 years ago)
- 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:
- 03ac97c2
- Parents:
- bed3771
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
rbed3771 rcb61e3a8 1 <!ENTITY day "0 5">1 <!ENTITY day "06"> 2 2 <!ENTITY month "10"> 3 3 <!ENTITY year "2005"> … … 147 147 <!ENTITY guile-version "1.6.7"> 148 148 <!ENTITY jdk-bin-version "1.5.0_04"> 149 <!ENTITY jdk-src-version "1.5.0"> 149 <!ENTITY jdk-bin-string "1_5_0_04"> 150 <!ENTITY jdk-src-version "1.5.0_04"> 151 <!ENTITY jdk-src-string "1_5_0_04"> 150 152 <!ENTITY librep-version "0.17"> 151 153 <!ENTITY NASM-version "0.98.39"> -
general/prog/jdk.xml
rbed3771 rcb61e3a8 5 5 %general-entities; 6 6 7 <!ENTITY jdk-download-source "http ://java.sun.com/j2se/jrl_download.html">7 <!ENTITY jdk-download-source "https://tiger.dev.java.net/jdk_5_0_04.html"> 8 8 <!ENTITY jdk-download-binary "http://java.sun.com/j2se/1.5.0/download.jsp"> 9 9 <!ENTITY jdk-source-md5sum "http://anduin.linuxfromscratch.org/sources/BLFS/SVN/I-K/JDK/jdk-&jdk-src-version;.md5sums"> 10 10 <!ENTITY jdk-bin-md5sum "42a98986e971c86192cc0075bb10afff"> 11 11 <!ENTITY jdk-bin-size "48.7 MB"> 12 <!ENTITY jdk-src-size "6 5.7 MB (three .zipfiles)">13 <!ENTITY jdk-src-buildsize "1 444MB">14 <!ENTITY jdk-time " 33.06SBU">12 <!ENTITY jdk-src-size "64.4 MB (three .jar files)"> 13 <!ENTITY jdk-src-buildsize "1553 MB"> 14 <!ENTITY jdk-time "29.05 SBU"> 15 15 ]> 16 16 … … 33 33 34 34 <para>The <application>JDK</application> package contains 35 Sun's <application>Java</application> development environment. This is useful36 for developing <application>Java</application> programs and provides the37 runtime environment necessary to run <application>Java</application> programs.38 It also includes a plug-in for browsers so that they can be35 Sun's <application>Java</application> development environment. This is 36 useful for developing <application>Java</application> programs and provides 37 the runtime environment necessary to run <application>Java</application> 38 programs. It also includes a plug-in for browsers so that they can be 39 39 <application>Java</application> aware.</para> 40 40 41 <para>The <application>JDK</application> comes in two flavors, a precompiled42 binary and a source package. Previously, the plugin included in the43 <application>JDK</application> binary package was unusable on LFS44 owing to incompatibilities with <application>GCC</application>-3 compiled browsers.45 This is not the case anymore.</para>41 <para>The <application>JDK</application> comes in two flavors, a 42 precompiled binary and a source package. Previously, the plugin included 43 in the <application>JDK</application> binary package was unusable on LFS 44 owing to incompatibilities with <application>GCC</application>-3 compiled 45 browsers. This is not the case anymore.</para> 46 46 47 47 <para>In order to use the source code and patches, you must read and agree 48 to the Sun <ulink url="http://java.sun.com/j2se/1.5.0/jrl_5.0-license.txt"> 49 Java Research License</ulink>. In addition, the source code cannot be 50 downloaded from some countries, so for users in those countries, the binary 51 is the only option.</para> 52 53 <para>If you plan on compiling the <application>JDK</application> source, you 54 will still need to download the binary version to bootstrap the 55 <application>JDK</application> build. You will need to download a total of four 56 files to complete the source build: 57 <filename>jdk-1_5_0_04-linux-i586.bin</filename>, 58 <filename>jdk-1_5_0-src-jrl.zip</filename>, 59 <filename>jdk-1_5_0-bin-jrl.zip</filename>, 60 and <filename>jdk-1_5_0-mozilla_headers-unix.zip</filename>.</para> 48 to the Sun <ulink url="http://www.java.net/jrl.csp"> 49 Java Research License</ulink> or optionally, the Sun 50 <ulink url="http://java.net/jiul.csp">Java Internal Use License</ulink>. 51 In addition, the source code cannot be downloaded from some countries, so 52 for users in those countries, the binary is the only option.</para> 53 54 <para>If you plan on compiling the <application>JDK</application> source, 55 you will still need to download the binary version to bootstrap the 56 <application>JDK</application> build. You will need to download a total 57 of four files to complete the source build: 58 <filename>jdk-&jdk-bin-string;-linux-i586.bin</filename>, 59 <filename>jdk-&jdk-src-string;-fcs-src-b05-jrl-08_aug_2005.jar</filename> 60 (or optionally the JIUL version), 61 <filename>jdk-&jdk-src-string;-fcs-bin-b05-08_aug_2005.jar</filename>, and 62 <filename>jdk-&jdk-src-string;-mozilla_headers-b05-unix-03_jun_2005.jar</filename>. 63 </para> 61 64 62 65 <bridgehead renderas="sect3">Package Information</bridgehead> … … 159 162 following commands:</para> 160 163 161 <screen><userinput>export VERSION=&jdk-bin-version; && 162 export MV=`echo $VERSION | cut -d "_" -f 1,1` && 163 export V=`echo ${VERSION} | sed -e "s/\./_/g"` && 164 sed -i "s:^PATH=.*::" jdk-${V}-linux-i?86.bin && 165 chmod -v +x jdk-${V}-linux-i?86.bin && 164 <screen><userinput>sed -i "s:^PATH=.*::" jdk-&jdk-bin-string;-linux-i?86.bin && 165 chmod -v +x jdk-&jdk-bin-string;-linux-i?86.bin && 166 166 mkdir -v -p bin && 167 167 ln -v -sf /bin/true bin/more && 168 yes | PATH=$PWD/bin:$PATH ./jdk- ${V}-linux-i?86.bin &&169 cd jdk ${VERSION}</userinput></screen>168 yes | PATH=$PWD/bin:$PATH ./jdk-&jdk-bin-string;-linux-i?86.bin && 169 cd jdk&jdk-bin-version;</userinput></screen> 170 170 171 171 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 172 172 173 <screen role="root"><userinput>install -v -d /opt/jdk/jdk-precompiled- ${MV}&&174 mv -v * /opt/jdk/jdk-precompiled- ${MV}175 chown -v -R root:root /opt/jdk/jdk-precompiled- ${MV}</userinput></screen>173 <screen role="root"><userinput>install -v -d /opt/jdk/jdk-precompiled-&jdk-bin-version; && 174 mv -v * /opt/jdk/jdk-precompiled-&jdk-bin-version; && 175 chown -v -R root:root /opt/jdk/jdk-precompiled-&jdk-bin-version;</userinput></screen> 176 176 177 177 <para>The binary version is now installed.</para> … … 181 181 configuration section.</para> 182 182 183 <para>Add the recently installed <application>JDK</application> 184 to the path.</para> 185 186 <screen><userinput>export JAVA_HOME=/opt/jdk/jdk-precompiled-${MV} && 187 export PATH=$PATH:${JAVA_HOME}/bin</userinput></screen> 188 189 <para>Unzip the sources:</para> 183 <para>Save the existing path, and append the recently installed 184 <application>JDK</application>.</para> 185 186 <screen><userinput>export JAVA_HOME=/opt/jdk/jdk-precompiled-&jdk-bin-version; && 187 export PATH_HOLD=${PATH} && 188 export PATH=${PATH}:${JAVA_HOME}/bin</userinput></screen> 189 190 <para>The source code is contained in a self-extracting jar file. You 191 will need to be in a windowed enviromnent to extract the sources. 192 Create a directory to store the extracted sources. Choose the newly 193 created <filename class="directory">jdk-build</filename> directory 194 when prompted for the target directory.</para> 190 195 191 196 <screen><userinput>mkdir jdk-build && 192 197 cd jdk-build && 193 VERSION=&jdk-src-version; && 194 V=`echo $VERSION | sed -e "s/\./_/g"` && 195 unzip ../jdk-${V}-src-jrl.zip && 196 unzip ../jdk-${V}-bin-jrl.zip && 197 unzip ../jdk-${V}-mozilla_headers-unix.zip</userinput></screen> 198 for JAR in ../jdk-&jdk-src-string;*.jar 199 do java -jar ${JAR} 200 done</userinput></screen> 198 201 199 202 <para>Apply all the patches downloaded above.</para> … … 212 215 unset LDFLAGS 213 216 export ALT_DEVTOOLS_PATH="/usr/bin" && 214 export BUILD_NUMBER=" blfs-&blfs-version;" &&217 export BUILD_NUMBER="BLFS-&version;" && 215 218 export DEV_ONLY=true && 216 export ALT_MOZILLA_ PATH=$PWD&&219 export ALT_MOZILLA_HEADERS_PATH=$PWD/share/plugin/ && 217 220 export INSANE=true && 218 221 export MAKE_VERBOSE=true && … … 251 254 commands:</para> 252 255 253 <screen><userinput>unset VERSION && 254 unset MV && 255 unset V && 256 unset ALT_BOOTDIR && 256 <screen><userinput>unset ALT_BOOTDIR && 257 257 unset ALT_DEVTOOLS_PATH && 258 258 unset BUILD_NUMBER && 259 259 unset DEV_ONLY && 260 unset ALT_MOZILLA_ PATH &&260 unset ALT_MOZILLA_HEADERS_PATH && 261 261 unset INSANE && 262 262 unset MAKE_VERBOSE && 263 unset ALT_CACERTS_FILE</userinput></screen> 263 unset ALT_CACERTS_FILE && 264 export PATH=${PATH_HOLD} && 265 unset PATH_HOLD</userinput></screen> 264 266 265 267 </sect2> … … 271 273 the location of the bootstrap <application>JDK</application>.</para> 272 274 273 <para><command>export ALT_MOZILLA_PATH=$PWD</command>: This tells the build 274 where to find the base directory of the plugin path (which contains the 275 <application>Mozilla</application> headers).</para> 275 <para><command>export ALT_MOZILLA_HEADERS_PATH=$PWD/share/plugin/</command>: 276 This tells the build exactly where to find the 277 <application>Mozilla</application> headers. This has changed since the 278 previous version and is not mentioned in the installation documentation 279 included with the package source.</para> 276 280 277 281 <para><command>export ALT_DEVTOOLS_PATH="/usr/bin"</command>: This … … 326 330 <para>There are now two Java 2 SDKs installed in 327 331 <filename>/opt/jdk</filename>. You should decide on which one you 328 would like to use as the default. For example if you decide to use the source329 compiled <application>JDK</application>, do the following as the332 would like to use as the default. For example if you decide to use the 333 source compiled <application>JDK</application>, do the following as the 330 334 <systemitem class="username">root</systemitem> user:</para> 331 335 … … 389 393 390 394 <seglistitem> 391 <seg>appletviewer, extcheck, idlj, jar, jarsigner, java, javac, javadoc, 392 javah, javap, javaws, jdb, keytool, native2ascii, orbd, policytool, rmic, rmid, 393 rmiregistry, serialver, servertool, and tnameserv</seg> 394 <seg><envar>$JAVA_HOME</envar>/lib/*, <envar>$JAVA_HOME</envar>/jre/lib/*, 395 <seg>appletviewer, extcheck, idlj, jar, jarsigner, java, javac, 396 javadoc,javah, javap, javaws, jdb, keytool, native2ascii, orbd, 397 policytool, rmic, rmid, rmiregistry, serialver, servertool, and 398 tnameserv</seg> 399 <seg><envar>$JAVA_HOME</envar>/lib/*, 400 <envar>$JAVA_HOME</envar>/jre/lib/*, 395 401 and libjavaplugin_oji.so</seg> 396 402 <seg>/opt/jdk</seg> -
introduction/welcome/changelog.xml
rbed3771 rcb61e3a8 41 41 42 42 --> 43 <listitem> 44 <para>October 6th, 2005</para> 45 <itemizedlist> 46 <listitem> 47 <para>[dj] - Updated to JDK (source build) 1.5.0_04.</para> 48 </listitem> 49 </itemizedlist> 50 </listitem> 51 43 52 44 53 <listitem>
Note:
See TracChangeset
for help on using the changeset viewer.