Changeset a8d33f07


Ignore:
Timestamp:
08/13/2007 12:14:28 AM (17 years ago)
Author:
DJ Lucas <dj@…>
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:
15244f93
Parents:
8c26139
Message:

Updated to JDK-6 Update 2

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r8c26139 ra8d33f07  
    205205<!ENTITY gcc3-version                 "3.3.6">
    206206<!ENTITY guile-version                "1.8.2">
    207 <!ENTITY jdk-bin-version              "1.5.0_11">
    208 <!ENTITY jdk-bin-string               "1_5_0_11">
    209 <!ENTITY jdk-src-version              "1.5.0_11">
    210 <!ENTITY jdk-src-string               "1_5_0_11">
     207<!ENTITY jdk-version                  "6 Update 2">
    211208<!ENTITY junit-version                "4.3.1">
    212209<!ENTITY librep-version               "0.17">
  • general/prog/jdk.xml

    r8c26139 ra8d33f07  
    55  %general-entities;
    66
    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 
    17   <!ENTITY jdk-source-jrl-md5sum     "e6661cce9c94009e2fa909a151c0160c">
    18   <!ENTITY jdk-source-jiul-md5sum    "be3653bc93d9efe715cb7a64c513eeef">
    19   <!ENTITY jdk-source-bin-md5sum     "7c952fba37101c154f1636dc401aa093">
    20   <!ENTITY jdk-source-moz-md5sum     "16ed66d11701496e3b4e10a24edd3f1b">
    21 
    22   <!ENTITY jdk-source-jrl-size       "57 MB">
    23   <!ENTITY jdk-source-jiul-size      "57 MB">
    24   <!ENTITY jdk-source-bin-size       "2.2 MB">
    25   <!ENTITY jdk-source-moz-size       "7.4 MB">
    26 
    27   <!ENTITY jdk-src-buildsize         "1.9 GB">
    28   <!ENTITY jdk-time                  "30 SBU">
     7  <!ENTITY jdk-download-binary       "http://java.sun.com/javase/downloads/index.jsp">
     8  <!ENTITY jdk-bin-md5sum            "6a488cb0a161a1c3a541a66e3b076f8e">
     9  <!ENTITY jdk-bin-size              "57 MB">
     10  <!ENTITY jdk-bin-buildsize         "178 MB">
     11
     12  <!ENTITY jdk-download-source-jrl "http://www.java.net/download/jdk6/&jdk-version-string;/promoted/b05/jdk-&jdk-version-string;-fcs-src-b05-jrl-22_jun_2007.jar">
     13  <!ENTITY jdk-download-source-bin "http://www.java.net/download/jdk6/&jdk-version-string;/promoted/b05/jdk-&jdk-version-string;-fcs-bin-b05-jrl-22_jun_2007.jar">
     14  <!ENTITY jdk-download-source-moz "http://www.java.net/download/jdk6/&jdk-version-string;/promoted/b05/jdk-&jdk-version-string;-fcs-mozilla_headers-b05-unix-14_jun_2007.jar">
     15
     16
     17  <!ENTITY jdk-source-jrl-md5sum     "7adaf7e9b4504d1d2d822676eb69796d">
     18  <!ENTITY jdk-source-bin-md5sum     "063a3bf1e4a5c16507e87707673e53c0">
     19  <!ENTITY jdk-source-moz-md5sum     "2bd979b1ef2d07d5b0a34a7e0e304217">
     20
     21  <!ENTITY jdk-source-jrl-size       "102 MB">
     22  <!ENTITY jdk-source-bin-size       "2 MB">
     23  <!ENTITY jdk-source-moz-size       "8.2 MB">
     24
     25  <!ENTITY jdk-src-buildsize         "1.3 GB">
     26  <!ENTITY jdk-time                  "12.4 SBU (for both installations)">
     27  <!ENTITY jdk-version-string        "6u2">
     28  <!ENTITY jdk-bin-version-string    "1.6.0_02">
    2929]>
    3030
    31 <sect1 id="jdk" xreflabel="JDK-&jdk-src-version;">
     31<sect1 id="jdk" xreflabel="JDK &jdk-version;">
    3232  <?dbhtml filename="jdk.html" ?>
    3333
     
    3737  </sect1info>
    3838
    39   <title>JDK-&jdk-src-version;</title>
     39  <title>JDK-&jdk-version;</title>
    4040
    4141  <indexterm zone="jdk">
     
    7575    download the source code.</para>
    7676
    77     <bridgehead renderas="sect3">Precompiled Package Information</bridgehead>
     77    <bridgehead renderas="sect3">Binary Package Information</bridgehead>
    7878    <itemizedlist spacing="compact">
    7979      <listitem>
    80         <para>Binary download (jdk-&jdk-bin-string;-linux-i586.bin):
     80        <para>Binary download (jdk-&jdk-version-string;-linux-i586.bin):
    8181        <ulink url="&jdk-download-binary;"/></para>
    8282      </listitem>
     
    9393
    9494    <bridgehead renderas="sect3">Source Package Information</bridgehead>
    95     <para>The source code is distributed under two licenses and most will need
    96     the JRL version. The JIUL version is listed as well, but you only need to
    97     download one or the other.</para>
    9895
    9996    <itemizedlist spacing="compact">
     
    108105      </listitem>
    109106      <listitem>
    110         <para>JIUL Source
    111           <simplelist>
    112             <member><ulink url="&jdk-download-source-jiul;"/></member>
    113             <member>&jdk-source-jiul-md5sum;</member>
    114             <member>&jdk-source-jiul-size;</member>
    115           </simplelist>
    116         </para>
    117       </listitem>
    118       <listitem>
    119107        <para>Source Binaries
    120108          <simplelist>
     
    148136      <listitem>
    149137        <para><ulink
    150         url="&patch-root;/jdk-&jdk-src-version;-gcc4-1.patch"/></para>
     138        url="&patch-root;/jdk-&jdk-version-string;-gcc4-2.patch"/></para>
    151139      </listitem>
    152140      <listitem>
    153141        <para><ulink
    154         url="&patch-root;/jdk-&jdk-src-version;-motif_fixes-1.patch"/></para>
     142        url="&patch-root;/jdk-&jdk-version-string;-motif_fixes-1.patch"/></para>
    155143      </listitem>
    156144      <listitem>
    157145        <para><ulink
    158         url="&patch-root;/jdk-&jdk-src-version;-nptl-1.patch"/></para></listitem>
    159       <listitem>
    160         <para><ulink
    161         url="&patch-root;/jdk-&jdk-src-version;-remove_broken_demo-1.patch"/></para>
    162       </listitem>
    163       <listitem>
    164         <para><ulink
    165         url="&patch-root;/jdk-&jdk-src-version;-remove_fixed_paths-1.patch"/></para>
     146        url="&patch-root;/jdk-&jdk-version-string;-remove_fixed_paths-1.patch"/></para>
    166147      </listitem>
    167148    </itemizedlist>
    168149
    169     <bridgehead renderas="sect4">Recommended Patches</bridgehead>
    170     <itemizedlist spacing='compact'>
    171       <listitem>
    172         <para><ulink
    173         url="&patch-root;/jdk-&jdk-src-version;-remove_debug_image-1.patch"/>
    174         (skips compiling of the <application>JDK</application> debug image)</para>
    175       </listitem>
    176       <listitem>
    177         <para><ulink
    178         url="&patch-root;/jdk-&jdk-src-version;-static_cxx-1.patch"/>
    179         (forces dynamic linking to <application>GCC</application> libs)</para></listitem>
    180     </itemizedlist>
    181 
    182150    <bridgehead renderas="sect3">JDK Dependencies</bridgehead>
    183151
    184152    <bridgehead renderas="sect4">Required (to Build JDK from Source)</bridgehead>
    185     <para role="required"><xref linkend="x-window-system"/>,
    186     <xref linkend="zip"/>,
     153    <para role="required">
     154    <xref linkend="alsa-lib"/>,
     155    <xref linkend="cpio"/>,
     156    <xref linkend="cups"/>,
     157    <xref linkend="ksh"/>,
    187158    <xref linkend="unzip"/>,
    188     <xref linkend="cpio"/>,
    189     <xref linkend="alsa-lib"/>, and
    190     <xref linkend="tcsh"/></para>
     159    <xref linkend="which"/>,
     160    <xref linkend="x-window-system"/>, and
     161    <xref linkend="zip"/></para>
    191162
    192163    <para condition="html" role="usernotes">User Notes:
     
    203174
    204175    <tip>
    205       <para>The <command>./jdk-mod.bin</command>
     176      <para>The <command>./jdk-&jdk-version-string;-linux-i586.bin</command>
    206177      command below unpacks the distribution into a
    207       <filename class='directory'>jdk&jdk-bin-version;</filename> directory.
    208       You will be required to view, and then accept (by entering a
     178      <filename class='directory'>jdk&jdk-bin-version-string;</filename>
     179      directory.  You will be required to view, and then accept (by entering a
    209180      <keycap>y</keycap> keypress), a license agreement before any files are
    210181      unpacked. If you are scripting (automating) the build, you'll need to
     
    220191    the downloaded files are located.</para>
    221192
    222     <para>Install the precompiled <application>JDK</application> with the
     193    <para>Install the binary <application>JDK</application> with the
    223194    following commands:</para>
    224195
    225 <screen><userinput>install -m755 jdk-&jdk-bin-string;-linux-i?86.bin jdk-mod.bin &amp;&amp;
    226 sed -i "s:^PATH=.*::" jdk-mod.bin &amp;&amp;
    227 ./jdk-mod.bin &amp;&amp;
    228 rm jdk-mod.bin</userinput></screen>
     196<screen><userinput>chmod 755 jdk-&jdk-version-string;-linux-i586.bin &amp;&amp;
     197./jdk-&jdk-version-string;-linux-i586.bin</userinput></screen>
    229198
    230199    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    231200
    232 <screen role="root"><userinput>cd jdk&jdk-bin-version; &amp;&amp;
    233 install -v -m755 -d /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
    234 mv -v * /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
    235 chown -v -R root:root /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
    236 ln -v -sf motif21/libmawt.so \
    237     /opt/jdk/jdk-precompiled-&jdk-bin-version;/jre/lib/i386/ &amp;&amp;
     201<screen role="root"><userinput>cd jdk&jdk-bin-version-string; &amp;&amp;
     202install -v -m755 -d /opt/jdk-bin-&jdk-version-string; &amp;&amp;
     203mv -v * /opt/jdk-bin-&jdk-version-string; &amp;&amp;
     204chown -v -R root:root /opt/jdk-bin-&jdk-version-string; &amp;&amp;
     205ln -v -sf xawt/libmawt.so \
     206    /opt/jdk-bin-&jdk-version-string;/jre/lib/i386/ &amp;&amp;
    238207cd ..</userinput></screen>
     208
     209    <para>Recent versions of libX11 break the statically linked libmawt
     210    when used with the Xinerama extension.  While still the
     211    <systemitem class="username">root</systemitem> user, apply the
     212    folowing sed to the installed binary to work around this
     213    problem:</para>
     214
     215<screen role="root"><userinput>sed -i 's@XINERAMA@FAKEEXTN@g' \
     216    /opt/jdk-bin-&jdk-version-string;/jre/lib/i386/xawt/libmawt.so</userinput></screen>
    239217
    240218    <para>The binary version is now installed.</para>
     
    247225    <application>JDK</application>.</para>
    248226
    249 <screen><userinput>export JAVA_HOME=/opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
     227<screen><userinput>export JAVA_HOME=/opt/jdk-bin-&jdk-version-string; &amp;&amp;
    250228export PATH_HOLD=${PATH} &amp;&amp;
    251229export PATH=${PATH}:${JAVA_HOME}/bin</userinput></screen>
     
    260238<screen><userinput>mkdir jdk-build &amp;&amp;
    261239cd jdk-build &amp;&amp;
    262 for JAR in ../jdk-&jdk-src-string;*.jar
     240for JAR in ../jdk-&jdk-version-string;*.jar
    263241    do java -jar ${JAR}
    264242done</userinput></screen>
     
    266244    <para>Apply all the patches downloaded above:</para>
    267245
    268 <screen><userinput>for PATCH in ../jdk-&jdk-src-version;*.patch
     246<screen><userinput>for PATCH in ../jdk-&jdk-version-string;*.patch
    269247    do patch -Np1 -i ${PATCH}
    270248done</userinput></screen>
    271249
     250    <para>Use the following commands to apply some minor changes that
     251    are a little more specific to BLFS, such as lack of a gcc-2.9
     252    compiler, removing a broken demo, and forcing to link to shared
     253    libraries.  See the 'Command Explanations' section for more detail:</para>
     254
     255<screen><userinput>sed -i '/^.*linux)/ { N; /.*/ { N; /.*/d }}' \
     256    deploy/make/plugin/{adapter,nscore}/Makefile &amp;&amp;
     257sed -i '/.*mtrace.*/ { N; /.*/ s/.*mtrace.*\n.*/\t  mtrace/ }' \
     258    j2se/make/mkdemo/jvmti/Makefile &amp;&amp;
     259sed -i 's/= true/= false/' \
     260    j2se/make/common/shared/Compiler-gcc.gmk</userinput></screen>
     261
    272262    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    273263    href="../../xincludes/X11R6_symlink.xml"/>
     
    275265    <!-- <para>If your <application>X Window System</application> is installed into
    276266    any prefix other than <filename class="directory">/usr/X11R6</filename>,
    277     execute the following command, replacing
     267    execute the following commands, replacing
    278268    <replaceable>&lt;PREFIX&gt;</replaceable> with the installation prefix of
    279269    the <application>X Window System</application>:</para>
    280270
    281 <screen><userinput>find . -type f -exec sed -i 's@/usr/X11R6@<replaceable>&lt;PREFIX&gt;</replaceable>@g' {} \;</userinput></screen> -->
     271<screen><userinput>for file in `find . -name Makefile \
     272    -or -name Imakefile -or -name *.gmk`
     273do sed -i 's@/usr/X11R6@<replaceable>&lt;PREFIX&gt;</replaceable>@g' $file
     274done &amp;&amp;
     275sed -i 's@/usr/X11R6@<replaceable>&lt;PREFIX&gt;</replaceable>@g' \
     276    j2se/src/solaris/native/sun/awt/fontpath.c \
     277    j2se/src/solaris/classes/sun/awt/motif/linux.fontconfig.Sun.properties \
     278    j2se/src/solaris/classes/sun/awt/motif/linux.fontconfig.RedHat.3.properties</userinput></screen> -->
    282279
    283280    <para>Set/unset some variables which affect the build:</para>
     
    285282<screen><userinput>export ALT_BOOTDIR=${JAVA_HOME} &amp;&amp;
    286283export CLASSPATH_HOLD=${CLASSPATH} &amp;&amp;
    287 unset JAVA_HOME CLASSPATH CFLAGS CXXFLAGS LDFLAGS &amp;&amp;
    288 export ALT_DEVTOOLS_PATH="/usr/bin" &amp;&amp;
    289 export BUILD_NUMBER="update-10" &amp;&amp;
     284export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts &amp;&amp;
     285export ALT_MOZILLA_HEADERS_PATH=${PWD}/share/plugin &amp;&amp;
     286export MILESTONE="02-BLFS" &amp;&amp;
     287export BUILD_NUMBER="b05" &amp;&amp;
     288export INSANE=true &amp;&amp;
    290289export DEV_ONLY=true &amp;&amp;
    291 export ALT_MOZILLA_HEADERS_PATH=${PWD}/share/plugin/ &amp;&amp;
    292 export INSANE=true &amp;&amp;
    293 export MAKE_VERBOSE=true &amp;&amp;
    294 export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts</userinput></screen>
    295 
    296     <warning>
    297       <para>Setting CFLAGS/CXXFLAGS/LDFLAGS is guaranteed to make the build
    298       fail. If you are interested in optimizing the build, set
     290export SKIP_FASTDEBUG_BUILD=true &amp;&amp;
     291unset JAVA_HOME CLASSPATH CFLAGS CXXFLAGS LDFLAGS</userinput></screen>
     292
     293      <warning><para>Setting CFLAGS/CXXFLAGS/LDFLAGS is guaranteed to make
     294      the build fail. If you are interested in optimizing the build, set
    299295      OTHER_CFLAGS/OTHER_CXXFLAGS/OTHER_LDFLAGS instead.  -O3, even in
    300       OTHER_C{,XX}FLAGS, is known to cause a build failure.</para>
    301     </warning>
     296      OTHER_C{,XX}FLAGS, is known to cause a build failure.</para></warning>
     297 
    302298
    303299    <para>Additionally, if you would like to <command>make</command> in
     
    320316    following commands:</para>
    321317
    322 <screen><userinput>pushd control/build/linux-i?86/j2sdk-image/demo/jfc/Java2D &amp;&amp;
     318<screen><userinput>pushd control/build/linux-i586/j2sdk-image/demo/jfc/Java2D &amp;&amp;
    323319../../../bin/java -jar Java2Demo.jar &amp;&amp;
    324320popd</userinput></screen>
     
    327323    install the <application>JDK</application>:</para>
    328324
    329 <screen role="root"><userinput>pushd control/build/linux-i?86 &amp;&amp;
    330 cp -v -a j2sdk-image /opt/jdk/jdk-&jdk-src-version; &amp;&amp;
    331 chown -v -R root:root /opt/jdk/jdk-&jdk-src-version; &amp;&amp;
    332 ln -v -sf motif21/libmawt.so  /opt/jdk/jdk-&jdk-src-version;/jre/lib/i386/ &amp;&amp;
    333 find /opt/jdk/jdk-&jdk-src-version; \
    334      -type f -perm 600 -exec chmod -v 644 {} \; &amp;&amp;
    335 find /opt/jdk/jdk-&jdk-src-version; \
    336      -name "*.so" -exec chmod -v 755 {} \; &amp;&amp;
    337 chmod -v 755 /opt/jdk/jdk-&jdk-src-version;/jre/bin/* &amp;&amp;
     325<screen role="root"><userinput>pushd control/build/linux-i586 &amp;&amp;
     326cp -v -a j2sdk-image /opt/jdk-&jdk-version-string; &amp;&amp;
     327chown -v -R root:root /opt/jdk-&jdk-version-string; &amp;&amp;
     328ln -v -sf xawt/libmawt.so  /opt/jdk-&jdk-version-string;/jre/lib/i386/ &amp;&amp;
    338329popd</userinput></screen>
    339330
     
    344335export CLASSPATH=${CLASSPATH_HOLD} &amp;&amp;
    345336export PATH=${PATH_HOLD} &amp;&amp;
    346 unset ALT_BOOTDIR CLASSPATH_HOLD ALT_DEVTOOLS_PATH BUILD_NUMBER &amp;&amp;
    347 unset DEV_ONLY ALT_MOZILLA_HEADERS_PATH INSANE MAKE_VERBOSE &amp;&amp;
    348 unset ALT_CACERTS_FILE PATH_HOLD</userinput></screen>
     337unset PATH_HOLD ALT_BOOTDIR CLASSPATH_HOLD \
     338    ALT_CACERTS_FILE ALT_MOZILLA_HEADERS_PATH \
     339    BUILD_NUMBER MILESTONE INSANE DEV_ONLY \
     340    SKIP_FASTDEBUG_BUILD</userinput></screen>
    349341
    350342  </sect2>
     
    353345    <title>Command Explanations</title>
    354346
     347    <para><command>sed -i '/^.*linux)/...</command>: This command disables
     348    the build of a gcc-2.9 compatible browser plugin.  LFS does not contain
     349    gcc-2.9, and hasn't in quite a few years.</para>
     350
     351    <para><command>sed -i '/.*mtrace.*/...</command>: This command disables
     352    building of the broken 'waiters' demo.</para>
     353
     354    <para><command>sed -i 's/= true/= false/'...</command>: This command
     355    forces the compiler to link against the standard C libraries
     356    dynamically.</para>
     357
    355358    <para><command>export ALT_BOOTDIR=${JAVA_HOME}</command>: This variable sets
    356359    the location of the bootstrap <application>JDK</application>.</para>
     360
     361    <para><command>export ALT_CACERTS_FILE...</command>: Specifies the
     362    certificate file to use (from the installed binary
     363    <application>JDK</application>).</para>
    357364
    358365    <para><command>export ALT_MOZILLA_HEADERS_PATH=${PWD}/share/plugin/</command>:
     
    362369    included with the package source.</para>
    363370
    364     <para><command>export ALT_DEVTOOLS_PATH="/usr/bin"</command>: This
    365     changes the location where the build finds the needed executables.</para>
    366 
    367     <para><command>export BUILD_NUMBER="update-10"</command>:
    368     This will help you identify the compiled version of the runtime environment
    369     and virtual machine by appending this information to the version
    370     string.</para>
    371 
    372     <para><command>export DEV_ONLY=true</command>: This command
    373     skips compiling the documentation and eliminates a dependency on
    374     <application>rpm</application>.</para>
    375 
    376     <para><command>unset JAVA_HOME CLASSPATH CFLAGS CXXFLAGS LDFLAGS</command>:
    377     These variables cause miscompilation of the build. Never set them.</para>
     371    <para><command>export MILESTONE="02-BLFS"</command>: This appends
     372    the string '02-BLFS' to the buld number.  'internal' is
     373    unconditionally added if MILESTONE is unset.  This is similar
     374    to the format used by Sun for the official release.</para>
     375
     376    <para><command>export BUILD_NUMBER="b05"</command>:
     377    This will help you identify the compiled version of the runtime
     378    environment and virtual machine by appending this information to
     379    the version string. This is the same build number used by Sun to
     380    identify the official release.</para>
    378381
    379382    <para><command>export INSANE=true</command>: The certified platform for the
     
    382385    displayed as warnings instead of errors.</para>
    383386
    384     <para><command>export MAKE_VERBOSE=true</command>: Allows the compiler
    385     commands to be displayed on the console.</para>
    386 
    387     <para><command>export ALT_CACERTS_FILE...</command>: Specifies the
    388     certificate file to use (from the installed binary
    389     <application>JDK</application>).</para>
    390 
    391     <para><command>ln -sf motif21/libmawt.so
    392     /opt/jdk/jdk-&jdk-src-version;/jre/lib/i386/</command>: This fixes
     387    <para><command>export DEV_ONLY=true</command>: This command
     388    skips compiling the comparison build.</para>
     389
     390    <para><command>export SKIP_FASTDEBUG_BUILD=true</command>: This command
     391    skips building of the debug version.  Omit this command if you need
     392    to build the fastdebug target.</para>
     393
     394    <para><command>unset JAVA_HOME CLASSPATH CFLAGS CXXFLAGS LDFLAGS</command>:
     395    These variables cause miscompilation of the build. Never set them.</para>
     396
     397    <para><command>ln -sf xawt/libmawt.so
     398    /opt/jdk-&jdk-version-string;/jre/lib/i386/</command>: This fixes
    393399    linking issues with other applications that expect to find the
    394400    <application>motif</application> libraries with the other
     
    404410
    405411      <para>There are now two Java 2 SDKs installed in
    406       <filename>/opt/jdk</filename>. You should decide on which one you
     412      <filename>/opt</filename>. You should decide on which one you
    407413      would like to use as the default. For example if you decide to use the
    408414      source compiled <application>JDK</application>, do the following as the
    409415      <systemitem class="username">root</systemitem> user:</para>
    410416
    411 <screen role="root"><userinput>ln -v -nsf jdk-&jdk-src-version; /opt/jdk/jdk</userinput></screen>
     417<screen role="root"><userinput>ln -v -nsf jdk-&jdk-version-string; /opt/jdk</userinput></screen>
    412418
    413419    <para>The information below assumes your system is set up using the
     
    425431
    426432# Set JAVA_HOME directory
    427 JAVA_HOME=/opt/jdk/jdk
     433JAVA_HOME=/opt/jdk
    428434
    429435# Adjust PATH
     
    469475
    470476      <seglistitem>
    471         <seg>appletviewer, extcheck, idlj, jar, jarsigner, java, javac,
    472         javadoc,javah, javap, javaws, jdb, keytool, native2ascii, orbd,
    473         policytool, rmic, rmid, rmiregistry, serialver, servertool, and
    474         tnameserv</seg>
     477        <seg>appletviewer, apt, extcheck, idlj, HtmlConverter, jar,
     478        jarsigner, java, javac, javadoc, javah, javap, java-rmi.cgi,
     479        javaws, jconsole, jdb, jhat, jinfo, jmap, jps,
     480        jrunscript, jsadebugd, jstack, jstat, jstatd, keytool,
     481        native2ascii, orbd, pack200, policytool, rmic, rmid, rmiregistry,
     482        schemagen, serialver, servertool, tnameserv, unpack200,
     483        wsgen, wsimport, and xjc</seg>
    475484        <seg><envar>$JAVA_HOME</envar>/lib/*,
    476485        <envar>$JAVA_HOME</envar>/jre/lib/*,
    477486        and libjavaplugin_oji.so</seg>
    478         <seg>/opt/jdk</seg>
     487        <seg>/opt/jdk-&jdk-version-string;</seg>
    479488      </seglistitem>
    480489    </segmentedlist>
     
    488497        <term><command>appletviewer</command></term>
    489498        <listitem>
    490           <para>runs <application>Java</application> applets outside of the
    491           context of a browser.</para>
     499          <para>runs Java applets outside of the context of a browser.</para>
    492500          <indexterm zone="jdk appletviewer">
    493501            <primary sortas="b-appletviewer">appletviewer</primary>
     
    496504      </varlistentry>
    497505
     506      <varlistentry id="apt">
     507        <term><command>apt</command></term>
     508        <listitem>
     509          <para>is an annotation processing tool.</para>
     510          <indexterm zone="jdk apt">
     511            <primary sortas="b-apt">apt</primary>
     512          </indexterm>
     513        </listitem>
     514      </varlistentry>
     515
    498516      <varlistentry id="extcheck">
    499517        <term><command>extcheck</command></term>
    500518        <listitem>
    501           <para>checks a specified <filename>JAR</filename> file for title
    502           and version conflicts with any extensions installed in the
    503           <application>JDK</application> software.</para>
     519          <para>checks a specified jar file for title and version conflicts
     520          with any extensions installed in the <application>JDK</application>
     521          software.</para>
    504522          <indexterm zone="jdk extcheck">
    505523            <primary sortas="b-extcheck">extcheck</primary>
     
    508526      </varlistentry>
    509527
     528      <varlistentry id="HtmlConverter">
     529        <term><command>HtmlConverter</command></term>
     530        <listitem>
     531          <para>adds Java auto download to html and asp pages. </para>
     532          <indexterm zone="jdk HtmlConverter">
     533            <primary sortas="b-HtmlConverter">HtmlConverter</primary>
     534          </indexterm>
     535        </listitem>
     536      </varlistentry>
     537
    510538      <varlistentry id="idlj">
    511539        <term><command>idlj</command></term>
    512540        <listitem>
    513           <para>generates <application>Java</application> bindings from a
    514           given IDL file.</para>
     541          <para>generates Java bindings from a given IDL file.</para>
    515542          <indexterm zone="jdk idlj">
    516543            <primary sortas="b-idlj">idlj</primary>
     
    522549        <term><command>jar</command></term>
    523550        <listitem>
    524           <para>combines multiple files into a single <filename>JAR</filename>
    525           archive file.</para>
     551          <para>combines multiple files into a single jar archive.</para>
    526552          <indexterm zone="jdk jar">
    527553            <primary sortas="b-jar">jar</primary>
     
    533559        <term><command>jarsigner</command></term>
    534560        <listitem>
    535           <para>signs <filename>JAR</filename> (Java ARchive) files and verifies the
    536           signatures and integrity of a signed <filename>JAR</filename>.</para>
     561          <para>signs jar files and verifies the signatures and integrity
     562          of a signed jar file.</para>
    537563          <indexterm zone="jdk jarsigner">
    538564            <primary sortas="b-jarsigner">jarsigner</primary>
     
    544570        <term><command>java</command></term>
    545571        <listitem>
    546           <para>launches a <application>Java</application> application by
    547           starting a <application>Java</application> runtime environment, loading a
    548           specified class and invoking its main method.</para>
     572          <para>launches a Java application by starting a Java runtime
     573          environment, loading a specified class and invoking its main
     574          method.</para>
    549575          <indexterm zone="jdk java">
    550576            <primary sortas="b-java">java</primary>
     
    557583        <listitem>
    558584          <para>reads class and interface definitions, written in the
    559           <application>Java</application> programming language, and compiles
    560           them into bytecode class files.</para>
     585          Java programming language, and compiles them into bytecode
     586          class files.</para>
    561587          <indexterm zone="jdk javac">
    562588            <primary sortas="b-javac">javac</primary>
     
    568594        <term><command>javadoc</command></term>
    569595        <listitem>
    570           <para>parses the declarations and documentation comments in a set of
    571           <application>Java</application> source files and produces a corresponding
    572           set of HTML pages describing the classes, interfaces,
    573           constructors, methods, and fields.</para>
     596          <para>parses the declarations and documentation comments in a
     597          set of Java source files and produces a corresponding set of
     598          HTML pages describing the classes, interfaces,constructors,
     599          methods, and fields.</para>
    574600          <indexterm zone="jdk javadoc">
    575601            <primary sortas="b-javadoc">javadoc</primary>
     
    581607        <term><command>javah</command></term>
    582608        <listitem>
    583           <para>generates <application>C</application> header and source files
     609          <para>generates C header and source files
    584610          that are needed to implement native methods.</para>
    585611          <indexterm zone="jdk javah">
     
    592618        <term><command>javap</command></term>
    593619        <listitem>
    594           <para>disassembles a <application>Java</application> class file.</para>
     620          <para>disassembles a Java class file.</para>
    595621          <indexterm zone="jdk javap">
    596622            <primary sortas="b-javap">javap</primary>
     
    599625      </varlistentry>
    600626
     627      <varlistentry id="java-rmi.cgi">
     628        <term><command>java-rmi.cgi</command></term>
     629        <listitem>
     630          <para>is the Java RMI client.</para>
     631          <indexterm zone="jdk java-rmi.cgi">
     632            <primary sortas="b-java-rmi.cgi">java-rmi.cgi</primary>
     633          </indexterm>
     634        </listitem>
     635      </varlistentry>
     636
    601637      <varlistentry id="javaws">
    602638        <term><command>javaws</command></term>
    603639        <listitem>
    604           <para>launches <application>Java </application>application/applets
    605           hosted on a network.</para>
     640          <para>launches Java application/applets hosted on a network.</para>
    606641          <indexterm zone="jdk javaws">
    607642            <primary sortas="b-javaws">javaws</primary>
     
    610645      </varlistentry>
    611646
     647      <varlistentry id="jconsole">
     648        <term><command>jconsole</command></term>
     649        <listitem>
     650          <para>is a graphical console tool to monitor and manage both
     651          local and remote Java applications and virtual machines.</para>
     652          <indexterm zone="jdk jconsole">
     653            <primary sortas="b-jconsole">jconsole</primary>
     654          </indexterm>
     655        </listitem>
     656      </varlistentry>
     657
    612658      <varlistentry id="jdb">
    613659        <term><command>jdb</command></term>
    614660        <listitem>
    615           <para>is a simple command-line debugger for
    616           <application>Java</application> classes.</para>
     661          <para>is a simple command-line debugger for Java classes.</para>
    617662          <indexterm zone="jdk jdb">
    618663            <primary sortas="b-jdb">jdb</primary>
     664          </indexterm>
     665        </listitem>
     666      </varlistentry>
     667
     668      <varlistentry id="jhat">
     669        <term><command>jhat</command></term>
     670        <listitem>
     671          <para>parses a java heap dump file and allows viewing
     672          in a webbrowser.</para>
     673          <indexterm zone="jdk jhat">
     674            <primary sortas="b-jhat">jhat</primary>
     675          </indexterm>
     676        </listitem>
     677      </varlistentry>
     678
     679      <varlistentry id="jinfo">
     680        <term><command>jinfo</command></term>
     681        <listitem>
     682          <para>prints Java configuration information for a given Java
     683          process, core file, or a remote debug server.</para>
     684          <indexterm zone="jdk jinfo">
     685            <primary sortas="b-jinfo">jinfo</primary>
     686          </indexterm>
     687        </listitem>
     688      </varlistentry>
     689
     690      <varlistentry id="jmap">
     691        <term><command>jmap</command></term>
     692        <listitem>
     693          <para>prints shared object memory maps or heap memory details
     694          of a given process, core file, or a remote debug server.</para>
     695          <indexterm zone="jdk jmap">
     696            <primary sortas="b-jmap">jmap</primary>
     697          </indexterm>
     698        </listitem>
     699      </varlistentry>
     700
     701      <varlistentry id="jps">
     702        <term><command>jps</command></term>
     703        <listitem>
     704          <para>lists the instrumented JVMs on the target system.</para>
     705          <indexterm zone="jdk jps">
     706            <primary sortas="b-jps">jps</primary>
     707          </indexterm>
     708        </listitem>
     709      </varlistentry>
     710
     711      <varlistentry id="jrunscript">
     712        <term><command>jrunscript</command></term>
     713        <listitem>
     714          <para>is a command line script shell.</para>
     715          <indexterm zone="jdk jrunscript">
     716            <primary sortas="b-jrunscript">jrunscript</primary>
     717          </indexterm>
     718        </listitem>
     719      </varlistentry>
     720
     721      <varlistentry id="jsadebugd">
     722        <term><command>jsadebugd</command></term>
     723        <listitem>
     724          <para>attaches to a Java process or core file and acts as a
     725          debug server.</para>
     726          <indexterm zone="jdk jsadebugd">
     727            <primary sortas="b-jsadebugd">jsadebugd</primary>
     728          </indexterm>
     729        </listitem>
     730      </varlistentry>
     731
     732      <varlistentry id="jstack">
     733        <term><command>jstack</command></term>
     734        <listitem>
     735          <para>prints Java stack traces of Java threads for a given
     736          Java process, core file, or a remote debug server.</para>
     737          <indexterm zone="jdk jstack">
     738            <primary sortas="b-jstack">jstack</primary>
     739          </indexterm>
     740        </listitem>
     741      </varlistentry>
     742
     743      <varlistentry id="jstat">
     744        <term><command>jstat</command></term>
     745        <listitem>
     746          <para>displays performance statistics for an instrumented JVM.</para>
     747          <indexterm zone="jdk jstat">
     748            <primary sortas="b-jstat">jstat</primary>
     749          </indexterm>
     750        </listitem>
     751      </varlistentry>
     752
     753      <varlistentry id="jstatd">
     754        <term><command>jstatd</command></term>
     755        <listitem>
     756          <para>is an RMI server application that monitors for the creation
     757          and termination of instrumented JVMs.</para>
     758          <indexterm zone="jdk jstatd">
     759            <primary sortas="b-jstatd">jstatd</primary>
    619760          </indexterm>
    620761        </listitem>
     
    653794      </varlistentry>
    654795
     796      <varlistentry id="pack200">
     797        <term><command>pack200</command></term>
     798        <listitem>
     799          <para>is a Java application that transforms a jar file into a
     800          compressed pack200 file using the Java gzip compressor.</para>
     801          <indexterm zone="jdk pack200">
     802            <primary sortas="b-pack200">pack200</primary>
     803          </indexterm>
     804        </listitem>
     805      </varlistentry>
     806
    655807      <varlistentry id="policytool">
    656808        <term><command>policytool</command></term>
     
    667819        <listitem>
    668820          <para>generates stub and skeleton class files for remote objects
    669           from the names of compiled <application>Java</application> classes that
    670           contain remote object implementations.</para>
     821          from the names of compiled Java classes that contain remote
     822          object implementations.</para>
    671823          <indexterm zone="jdk rmic">
    672824            <primary sortas="b-rmic">rmic</primary>
     
    696848      </varlistentry>
    697849
     850      <varlistentry id="schemagen">
     851        <term><command>schemagen</command></term>
     852        <listitem>
     853          <para>is a Java XML binding schema generator.</para>
     854          <indexterm zone="jdk schemagen">
     855            <primary sortas="b-schemagen">schemagen</primary>
     856          </indexterm>
     857        </listitem>
     858      </varlistentry>
     859
    698860      <varlistentry id="serialver">
    699861        <term><command>serialver</command></term>
     
    721883        <term><command>tnameserv</command></term>
    722884        <listitem>
    723           <para>starts the <application>Java</application> IDL name server.</para>
     885          <para>starts the Java IDL name server.</para>
    724886          <indexterm zone="jdk tnameserv">
    725887            <primary sortas="b-tnameserv">tnameserv</primary>
     
    728890      </varlistentry>
    729891
     892      <varlistentry id="unpack200">
     893        <term><command>unpack200</command></term>
     894        <listitem>
     895          <para>is a native implementation that transforms a packed file
     896          produced by <application>pack200</application> into a jar
     897          file.</para>
     898          <indexterm zone="jdk unpack200">
     899            <primary sortas="b-unpack200">unpack200</primary>
     900          </indexterm>
     901        </listitem>
     902      </varlistentry>
     903
     904      <varlistentry id="wsgen">
     905        <term><command>wsgen</command></term>
     906        <listitem>
     907          <para>generates JAX-WS portable artifacts used in JAX-WS
     908          web services.</para>
     909          <indexterm zone="jdk wsgen">
     910            <primary sortas="b-wsgen">wsgen</primary>
     911          </indexterm>
     912        </listitem>
     913      </varlistentry>
     914
     915      <varlistentry id="wsimport">
     916        <term><command>wsimport</command></term>
     917        <listitem>
     918          <para>generates JAX-WS portable artifacts.</para>
     919          <indexterm zone="jdk wsimport">
     920            <primary sortas="b-wsimport">wsimport</primary>
     921          </indexterm>
     922        </listitem>
     923      </varlistentry>
     924
     925      <varlistentry id="xjc">
     926        <term><command>xjc</command></term>
     927        <listitem>
     928          <para>is a Java XML binding compiler.</para>
     929          <indexterm zone="jdk xjc">
     930            <primary sortas="b-xjc">xjc</primary>
     931          </indexterm>
     932        </listitem>
     933      </varlistentry>
     934
    730935    </variablelist>
    731936
  • introduction/welcome/changelog.xml

    r8c26139 ra8d33f07  
    5252          <para>[randy] - Added instructions to create an X11R6 symlink to the
    5353          X Windows Components page.</para>
     54        </listitem>
     55        <listitem>
     56          <para>[dj] - Updated to JDK-6 Update 2.</para>
    5457        </listitem>
    5558      </itemizedlist>
  • introduction/welcome/credits.xml

    r8c26139 ra8d33f07  
    259259
    260260      <listitem>
    261         <para>Archive::Zip, cracklib, JDK-5, ksh, libdrm, libpcap, Mesa,
     261        <para>Archive::Zip, cracklib, JDK 5 and 6, ksh, libdrm, libpcap, Mesa,
    262262        <!-- ncpfs, -->
    263263        netfs, OpenOffice-2, pppd (update), RP-PPPoE, Samba-3, Subversion,
Note: See TracChangeset for help on using the changeset viewer.