[2c25a56] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[49b50d4] | 7 | <!ENTITY anduin-download "http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK-&openjdk-version;">
|
---|
| 8 | <!ENTITY openjdk-download-binary-x86 "&anduin-download;/OpenJDK-&openjdk-version;-i686-bin.tar.xz">
|
---|
[dc6bfc3b] | 9 | <!ENTITY openjdk-bin-md5sum-x86 "63d68101ae594ef7b1c0efb2803a502c">
|
---|
| 10 | <!ENTITY openjdk-bin-size-x86 "81 MB">
|
---|
| 11 | <!ENTITY openjdk-bin-buildsize-x86 "251 MB">
|
---|
[49b50d4] | 12 |
|
---|
| 13 | <!ENTITY openjdk-download-binary-x64 "&anduin-download;/OpenJDK-&openjdk-version;-x86_64-bin.tar.xz">
|
---|
[dc6bfc3b] | 14 | <!ENTITY openjdk-bin-md5sum-x64 "f9f36dda980dc57b3ccc11c614806b51">
|
---|
| 15 | <!ENTITY openjdk-bin-size-x64 "113 MB">
|
---|
| 16 | <!ENTITY openjdk-bin-buildsize-x64 "426 MB">
|
---|
[49b50d4] | 17 |
|
---|
| 18 | <!ENTITY icedtea-download "http://icedtea.classpath.org/download/source/icedtea-&icedtea-version;.tar.gz">
|
---|
| 19 |
|
---|
[dc6bfc3b] | 20 | <!ENTITY icedtea-md5sum "a104417178a1e5d10f28a3b03cb75f6c">
|
---|
[49b50d4] | 21 | <!ENTITY icedtea-size "4.6 MB">
|
---|
| 22 |
|
---|
| 23 | <!ENTITY corba-download "&anduin-download;/corba.tar.gz">
|
---|
[dc6bfc3b] | 24 | <!ENTITY corba-md5sum "3982a7f60ec9868f8c38fb62febf6d0c">
|
---|
[49b50d4] | 25 | <!ENTITY corba-size "1.4 MB">
|
---|
| 26 |
|
---|
| 27 | <!ENTITY hotspot-download "&anduin-download;/hotspot.tar.gz">
|
---|
[dc6bfc3b] | 28 | <!ENTITY hotspot-md5sum "3015a4b7815db10d08ab434cb67717a7">
|
---|
[49b50d4] | 29 | <!ENTITY hotspot-size "9.0 MB">
|
---|
| 30 |
|
---|
| 31 | <!ENTITY jaxp-download "&anduin-download;/jaxp.tar.gz">
|
---|
[dc6bfc3b] | 32 | <!ENTITY jaxp-md5sum "c50d0a06b467eec3a0e9730aeedece90">
|
---|
[49b50d4] | 33 | <!ENTITY jaxp-size "3.8 MB">
|
---|
| 34 |
|
---|
| 35 | <!ENTITY jaxws-download "&anduin-download;/jaxws.tar.gz">
|
---|
[dc6bfc3b] | 36 | <!ENTITY jaxws-md5sum "e34277dfd57f5029074e390928f21391">
|
---|
[49b50d4] | 37 | <!ENTITY jaxws-size "2.7 MB">
|
---|
| 38 |
|
---|
| 39 | <!ENTITY jdk-download "&anduin-download;/jdk.tar.gz">
|
---|
[dc6bfc3b] | 40 | <!ENTITY jdk-md5sum "aae87792464b75cf00aa7cad5d22c124">
|
---|
[49b50d4] | 41 | <!ENTITY jdk-size "43 MB">
|
---|
| 42 |
|
---|
| 43 | <!ENTITY langtools-download "&anduin-download;/langtools.tar.gz">
|
---|
[dc6bfc3b] | 44 | <!ENTITY langtools-md5sum "92869b3de78b071cb74b75447590373a">
|
---|
[49b50d4] | 45 | <!ENTITY langtools-size "2.3 MB">
|
---|
| 46 |
|
---|
| 47 | <!ENTITY openjdk-download "&anduin-download;/openjdk.tar.gz">
|
---|
[dc6bfc3b] | 48 | <!ENTITY openjdk-md5sum "361f22404d494dcd80013b4304589bb0">
|
---|
[49b50d4] | 49 | <!ENTITY openjdk-size "132 KB">
|
---|
| 50 |
|
---|
| 51 | <!ENTITY rhino-download "ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R3.zip">
|
---|
| 52 | <!ENTITY rhino-md5sum "99d94103662a8d0b571e247a77432ac5">
|
---|
| 53 | <!ENTITY rhino-size "4.5 MB">
|
---|
| 54 |
|
---|
| 55 | <!ENTITY openjdk-buildsize "5.0-7.2 GB">
|
---|
| 56 | <!ENTITY openjdk-time "45 SBU (an additional 130 SBU for testsuite)">
|
---|
[2c25a56] | 57 |
|
---|
| 58 | ]>
|
---|
| 59 |
|
---|
[49b50d4] | 60 | <sect1 id="openjdk" xreflabel="OpenJDK-&openjdk-version;">
|
---|
| 61 | <?dbhtml filename="openjdk.html" ?>
|
---|
[2c25a56] | 62 |
|
---|
| 63 | <sect1info>
|
---|
| 64 | <othername>$LastChangedBy$</othername>
|
---|
| 65 | <date>$Date$</date>
|
---|
| 66 | </sect1info>
|
---|
| 67 |
|
---|
[49b50d4] | 68 | <title>OpenJDK-&openjdk-version;</title>
|
---|
[2c25a56] | 69 |
|
---|
[49b50d4] | 70 | <indexterm zone="openjdk">
|
---|
| 71 | <primary sortas="a-OpenJDK">OpenJDK</primary>
|
---|
[2c25a56] | 72 | </indexterm>
|
---|
| 73 |
|
---|
| 74 | <sect2 role="package">
|
---|
[49b50d4] | 75 | <title>Introduction to OpenJDK and IcedTea</title>
|
---|
[2c25a56] | 76 |
|
---|
[49b50d4] | 77 | <para><application>IcedTea</application> provides a build harness for the
|
---|
[2c25a56] | 78 | <application>OpenJDK</application> package, Oracle's recently open-sourced
|
---|
| 79 | <application>Java</application> development environment. In order to
|
---|
| 80 | provide a completely free runtime environment, similar to Oracle's closed
|
---|
[49b50d4] | 81 | distribution, the <application>IcedTea</application> build harness also
|
---|
| 82 | provides free, and arguably better versions of parts of the JDK which
|
---|
| 83 | have not been open-sourced to date. <application>OpenJDK</application> is
|
---|
[2c25a56] | 84 | useful for developing <application>Java</application> programs and provides
|
---|
| 85 | a complete runtime environment to run <application>Java</application>
|
---|
| 86 | programs.</para>
|
---|
| 87 |
|
---|
[efd03f7] | 88 | &lfs71_checked;
|
---|
| 89 |
|
---|
[d3d92c8] | 90 | <note><para>The browser plugin and webstart implementation have been split
|
---|
[49b50d4] | 91 | off into a separate project. To provide a complete implementation, you will
|
---|
| 92 | need to later install <xref linkend="icedtea-web"/>.</para></note>
|
---|
[d3d92c8] | 93 |
|
---|
[49b50d4] | 94 | <para>OpenJDK is GPL'd code, however, it should be explained that there has
|
---|
| 95 | been a special exception made for non-free projects to use these classes in
|
---|
| 96 | their proprietary products. In similar fashion to the LGPL, which
|
---|
[2c25a56] | 97 | allows non-free programs to link to libraries provided by free software,
|
---|
| 98 | the <ulink url="http://openjdk.java.net/legal/gplv2+ce.html">GNU
|
---|
| 99 | General Public License, version 2, with the Classpath Exception</ulink>
|
---|
| 100 | allows third party programs to use classes provided by free software
|
---|
[4d180035] | 101 | without the requirement that the third party software also be free. As with
|
---|
| 102 | the LGPL, any modifications made to the free software portions of a
|
---|
| 103 | third party application, must also be made freely available.</para>
|
---|
[2c25a56] | 104 |
|
---|
| 105 | <note>
|
---|
[49b50d4] | 106 | <para>The IcedTea build environment includes a very thorough, open source
|
---|
[2c25a56] | 107 | test suite titled <application>JTreg</application>.
|
---|
| 108 | <application>JTreg</application> is intended to test the just built JDK
|
---|
| 109 | for reasonable compatibility with the closed Oracle JDK. However, in
|
---|
| 110 | order for an independent implementation to claim compatibility, including
|
---|
| 111 | the Oracle sponsored <application>OpenJDK</application> project, it must
|
---|
| 112 | pass a closed <application>JCK/TCK</application> test suite. No claims
|
---|
| 113 | of compatibility, even partial compatibility, may be made without
|
---|
| 114 | passing an approved test suite.</para>
|
---|
| 115 |
|
---|
| 116 | <para>Oracle does provide free community access, on a case by case basis,
|
---|
| 117 | to a closed toolkit to ensure 100% compatibility with its proprietary JDK.
|
---|
| 118 | The binary version provided here has not been tested against the
|
---|
| 119 | <ulink url="http://openjdk.java.net/groups/conformance/JckAccess/jck-access.html">
|
---|
| 120 | TCK</ulink>. Any version that is built using the instructions given,
|
---|
| 121 | cannot claim to be compatible with the proprietary JDK, without the user
|
---|
| 122 | applying for, and completing the compatibility tests themselves.</para>
|
---|
| 123 |
|
---|
| 124 | <para>With that in mind, the binaries produced using this build method are
|
---|
| 125 | regularly tested against the TCK by the members listed on the site above.
|
---|
| 126 | In addition to the community license above, an educational, non-commercial
|
---|
| 127 | license for the TCK can be obtained from
|
---|
| 128 | <ulink url="http://www.oracle.com/technetwork/java/index-137188.html">
|
---|
| 129 | here</ulink>.</para>
|
---|
| 130 | </note>
|
---|
| 131 |
|
---|
| 132 | <bridgehead renderas="sect3">Source Package Information</bridgehead>
|
---|
| 133 | <itemizedlist spacing="compact">
|
---|
| 134 | <listitem>
|
---|
[49b50d4] | 135 | <para>IcedTea Source Package
|
---|
[2c25a56] | 136 | <simplelist>
|
---|
[49b50d4] | 137 | <member>Download: <ulink url="&icedtea-download;"/></member>
|
---|
| 138 | <member>Download MD5 sum: &icedtea-md5sum;</member>
|
---|
| 139 | <member>Download Size: &icedtea-size;</member>
|
---|
[2c25a56] | 140 | </simplelist>
|
---|
| 141 | </para>
|
---|
| 142 | </listitem>
|
---|
| 143 | <listitem>
|
---|
[49b50d4] | 144 | <para>Corba Source
|
---|
| 145 | <simplelist>
|
---|
| 146 | <member>Download: <ulink url="&corba-download;"/></member>
|
---|
| 147 | <member>Download MD5 sum: &corba-md5sum;</member>
|
---|
| 148 | <member>Download Size: &corba-size;</member>
|
---|
| 149 | </simplelist>
|
---|
| 150 | </para>
|
---|
| 151 | </listitem>
|
---|
| 152 | <listitem>
|
---|
| 153 | <para>Hotspot Source
|
---|
[2c25a56] | 154 | <simplelist>
|
---|
[49b50d4] | 155 | <member>Download: <ulink url="&hotspot-download;"/></member>
|
---|
| 156 | <member>Download MD5 sum: &hotspot-md5sum;</member>
|
---|
| 157 | <member>Download Size: &hotspot-size;</member>
|
---|
[2c25a56] | 158 | </simplelist>
|
---|
| 159 | </para>
|
---|
| 160 | </listitem>
|
---|
| 161 | <listitem>
|
---|
[49b50d4] | 162 | <para>IcedTea Build Source
|
---|
[2c25a56] | 163 | <simplelist>
|
---|
[49b50d4] | 164 | <member>Download: <ulink url="&openjdk-download;"/></member>
|
---|
| 165 | <member>Download MD5 sum: &openjdk-md5sum;</member>
|
---|
| 166 | <member>Download Size: &openjdk-size;</member>
|
---|
[2c25a56] | 167 | </simplelist>
|
---|
| 168 | </para>
|
---|
| 169 | </listitem>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>JAXP Source
|
---|
| 172 | <simplelist>
|
---|
[49b50d4] | 173 | <member>Download: <ulink url="&jaxp-download;"/></member>
|
---|
| 174 | <member>Download MD5 sum: &jaxp-md5sum;</member>
|
---|
| 175 | <member>Download Size: &jaxp-size;</member>
|
---|
[2c25a56] | 176 | </simplelist>
|
---|
| 177 | </para>
|
---|
| 178 | </listitem>
|
---|
| 179 | <listitem>
|
---|
| 180 | <para>JAXWS Source
|
---|
| 181 | <simplelist>
|
---|
[49b50d4] | 182 | <member>Download: <ulink url="&jaxws-download;"/></member>
|
---|
| 183 | <member>Download MD5 sum: &jaxws-md5sum;</member>
|
---|
| 184 | <member>Download Size: &jaxws-size;</member>
|
---|
| 185 | </simplelist>
|
---|
| 186 | </para>
|
---|
| 187 | </listitem>
|
---|
| 188 | <listitem>
|
---|
| 189 | <para>Langtools Source
|
---|
| 190 | <simplelist>
|
---|
| 191 | <member>Download: <ulink url="&langtools-download;"/></member>
|
---|
| 192 | <member>Download MD5 sum: &langtools-md5sum;</member>
|
---|
| 193 | <member>Download Size: &langtools-size;</member>
|
---|
| 194 | </simplelist>
|
---|
| 195 | </para>
|
---|
| 196 | </listitem>
|
---|
| 197 | <listitem>
|
---|
| 198 | <para>OpenJDK Source
|
---|
| 199 | <simplelist>
|
---|
| 200 | <member>Download: <ulink url="&jdk-download;"/></member>
|
---|
| 201 | <member>Download MD5 sum: &jdk-md5sum;</member>
|
---|
| 202 | <member>Download Size: &jdk-size;</member>
|
---|
[2c25a56] | 203 | </simplelist>
|
---|
| 204 | </para>
|
---|
| 205 | </listitem>
|
---|
| 206 | <listitem>
|
---|
[49b50d4] | 207 | <para>Estimated disk space required: &openjdk-buildsize;</para>
|
---|
[2c25a56] | 208 | </listitem>
|
---|
| 209 | <listitem>
|
---|
[49b50d4] | 210 | <para>Estimated build time: &openjdk-time;</para>
|
---|
[2c25a56] | 211 | </listitem>
|
---|
| 212 | </itemizedlist>
|
---|
| 213 |
|
---|
[bc00982] | 214 | <bridgehead renderas="sect3">Binary Package Information</bridgehead>
|
---|
| 215 | <itemizedlist spacing="compact">
|
---|
| 216 | <listitem>
|
---|
| 217 | <para>Binary download (x86):
|
---|
[49b50d4] | 218 | <ulink url="&openjdk-download-binary-x86;"/></para>
|
---|
[bc00982] | 219 | </listitem>
|
---|
| 220 | <listitem>
|
---|
[49b50d4] | 221 | <para>Download MD5 sum: &openjdk-bin-md5sum-x86;</para>
|
---|
[bc00982] | 222 | </listitem>
|
---|
| 223 | <listitem>
|
---|
[49b50d4] | 224 | <para>Download size (binary): &openjdk-bin-size-x86;</para>
|
---|
[bc00982] | 225 | </listitem>
|
---|
| 226 | <listitem>
|
---|
[49b50d4] | 227 | <para>Estimated disk space required: &openjdk-bin-buildsize-x86;</para>
|
---|
[bc00982] | 228 | </listitem>
|
---|
| 229 | </itemizedlist>
|
---|
| 230 | <itemizedlist spacing="compact">
|
---|
| 231 | <listitem>
|
---|
| 232 | <para>Binary download (x86_64):
|
---|
[49b50d4] | 233 | <ulink url="&openjdk-download-binary-x64;"/></para>
|
---|
[bc00982] | 234 | </listitem>
|
---|
| 235 | <listitem>
|
---|
[49b50d4] | 236 | <para>Download MD5 sum: &openjdk-bin-md5sum-x64;</para>
|
---|
[bc00982] | 237 | </listitem>
|
---|
| 238 | <listitem>
|
---|
[49b50d4] | 239 | <para>Download size (binary): &openjdk-bin-size-x64;</para>
|
---|
[bc00982] | 240 | </listitem>
|
---|
| 241 | <listitem>
|
---|
[49b50d4] | 242 | <para>Estimated disk space required: &openjdk-bin-buildsize-x64;</para>
|
---|
[bc00982] | 243 | </listitem>
|
---|
| 244 | </itemizedlist>
|
---|
| 245 |
|
---|
[2c25a56] | 246 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 247 |
|
---|
| 248 | <bridgehead renderas="sect4">Required Patches</bridgehead>
|
---|
| 249 | <itemizedlist spacing='compact'>
|
---|
| 250 | <listitem>
|
---|
| 251 | <para><ulink
|
---|
[23f4a9a] | 252 | url="&patch-root;/icedtea-&icedtea-version;-add_cacerts-1.patch"/></para>
|
---|
[2c25a56] | 253 | </listitem>
|
---|
| 254 | <listitem>
|
---|
| 255 | <para><ulink
|
---|
[49b50d4] | 256 | url="&patch-root;/icedtea-&icedtea-version;-fixed_paths-1.patch"/></para>
|
---|
[2c25a56] | 257 | </listitem>
|
---|
| 258 | <listitem>
|
---|
| 259 | <para><ulink
|
---|
[dc6bfc3b] | 260 | url="&patch-root;/icedtea-&icedtea-version;-fix_tests-1.patch"/></para>
|
---|
[2c25a56] | 261 | </listitem>
|
---|
| 262 | </itemizedlist>
|
---|
| 263 |
|
---|
[dc6bfc3b] | 264 | <bridgehead renderas="sect4">Required JAR</bridgehead>
|
---|
[2c25a56] | 265 | <itemizedlist spacing='compact'>
|
---|
| 266 | <listitem>
|
---|
| 267 | <para>Rhino Java Script
|
---|
| 268 | <simplelist>
|
---|
[49b50d4] | 269 | <member>Download: <ulink url="&rhino-download;"/></member>
|
---|
| 270 | <member>Download MD5 sum: &rhino-md5sum;</member>
|
---|
| 271 | <member>Download Size: &rhino-size;</member>
|
---|
[2c25a56] | 272 | </simplelist>
|
---|
| 273 | </para>
|
---|
| 274 | </listitem>
|
---|
| 275 | </itemizedlist>
|
---|
[49b50d4] | 276 | <bridgehead renderas="sect3">OpenJDK Dependencies</bridgehead>
|
---|
[bc00982] | 277 |
|
---|
[2c25a56] | 278 | <bridgehead renderas="sect4">Optional Runtime Dependencies (required for
|
---|
| 279 | source installation)</bridgehead>
|
---|
| 280 | <para role="optional">
|
---|
[49b50d4] | 281 | <xref linkend="cacerts"/>,
|
---|
[de930747] | 282 | <xref linkend="cups"/>,
|
---|
[49b50d4] | 283 | <xref linkend="gtk3"/>,
|
---|
| 284 | <xref linkend="giflib"/>,
|
---|
[f7fd26d] | 285 | <xref linkend="libXp"/>,
|
---|
[49b50d4] | 286 | <xref linkend="pulseaudio"/>,
|
---|
[de930747] | 287 | <xref linkend="xorg7-lib"/> and
|
---|
[49b50d4] | 288 | <xref linkend="xulrunner"/>.
|
---|
[de930747] | 289 | </para>
|
---|
[2c25a56] | 290 |
|
---|
| 291 | <bridgehead renderas="sect4">Additional Requirements
|
---|
| 292 | (for source build, including optional requirements)</bridgehead>
|
---|
| 293 | <para role="required">
|
---|
| 294 | <xref linkend="apache-ant"/>,
|
---|
[49b50d4] | 295 | <xref linkend="cpio"/>,
|
---|
[2c25a56] | 296 | <xref linkend="unzip"/>,
|
---|
| 297 | <xref linkend="which"/>, and
|
---|
| 298 | <xref linkend="zip"/></para>
|
---|
| 299 |
|
---|
| 300 | <para condition="html" role="usernotes">User Notes:
|
---|
[49b50d4] | 301 | <ulink url="&blfs-wiki;/openjdk"/></para>
|
---|
[2c25a56] | 302 |
|
---|
| 303 | </sect2>
|
---|
| 304 |
|
---|
| 305 | <sect2 role="installation">
|
---|
[49b50d4] | 306 | <title>Installation of OpenJDK</title>
|
---|
[2c25a56] | 307 |
|
---|
| 308 | <para>The instructions below install both the binary and source versions.
|
---|
| 309 | You may stop after installing the binary version or continue on installing
|
---|
| 310 | the source version. You can choose to keep either or both.</para>
|
---|
| 311 |
|
---|
[49b50d4] | 312 | <bridgehead renderas="sect3">OpenJDK Binary Installation</bridgehead>
|
---|
[bc00982] | 313 | <para>Begin by extracting the appropriate binary tarball and changing to
|
---|
[4d180035] | 314 | the extracted directory. Install the binary
|
---|
[49b50d4] | 315 | <application>OpenJDK</application> with the following commands as the
|
---|
[bc00982] | 316 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[2c25a56] | 317 |
|
---|
[49b50d4] | 318 | <screen role="root"><userinput>install -vdm755 /opt/OpenJDK-&openjdk-version;-bin &&
|
---|
[dc6bfc3b] | 319 | mv -v * /opt/OpenJDK-&openjdk-version;-bin &&
|
---|
[49b50d4] | 320 | chown -R root:root /opt/OpenJDK-&openjdk-version;-bin</userinput></screen>
|
---|
[2c25a56] | 321 |
|
---|
[49b50d4] | 322 | <para>Configure the temporary <application>OpenJDK</application>
|
---|
[2c25a56] | 323 | installation with the following commands:</para>
|
---|
| 324 |
|
---|
[efd03f7] | 325 | <screen><userinput>export PATH_HOLD="${PATH}" &&
|
---|
[49b50d4] | 326 | export JAVA_HOME="/opt/OpenJDK-&openjdk-version;-bin" &&
|
---|
[efd03f7] | 327 | export CLASSPATH=".:/usr/share/java" &&
|
---|
[2c25a56] | 328 | export PATH="${PATH}:${JAVA_HOME}/bin"</userinput></screen>
|
---|
| 329 |
|
---|
[bc00982] | 330 | <para>The binary version is now installed. If you don't want to compile the
|
---|
| 331 | sources, skip ahead to the configuration section.</para>
|
---|
[2c25a56] | 332 |
|
---|
[49b50d4] | 333 | <bridgehead renderas="sect3">OpenJDK Source Installation</bridgehead>
|
---|
| 334 | <note><para>The source build of OpenJDK requires
|
---|
[2c25a56] | 335 | <xref linkend="apache-ant"/>. You'll need to build that first to satisfy
|
---|
| 336 | the reciprocal dependency, and return to this section to continue building
|
---|
[49b50d4] | 337 | OpenJDK.</para></note>
|
---|
[2c25a56] | 338 |
|
---|
[49b50d4] | 339 | <para>Unlike other packages in BLFS, the <application>OpenJDK</application>
|
---|
| 340 | source packages are distributed in multiple downloads. Since the IcedTea
|
---|
[4d180035] | 341 | build harness will be used to build <application>OpenJDK</application>,
|
---|
[49b50d4] | 342 | begin by extracting the IcedTea package and changing into the
|
---|
[4d180035] | 343 | extracted directory.</para>
|
---|
[bc00982] | 344 |
|
---|
[4d180035] | 345 | <para>The IcedTea <application>OpenJDK</application> distribution requires
|
---|
[49b50d4] | 346 | that <filename>js.jar</filename> (from the Rhino package) be in place in
|
---|
| 347 | order to provide a java-script implementation for the free JDK. If you have
|
---|
| 348 | not installed the js.jar file in another way, do so with the following
|
---|
| 349 | commands as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[2c25a56] | 350 |
|
---|
[23f4a9a] | 351 | <screen role="root"><userinput>unzip ../rhino1_7R3.zip &&
|
---|
[2c25a56] | 352 | install -v -d -m755 /usr/share/java &&
|
---|
[49b50d4] | 353 | install -v -m755 rhino1_7R3/*.jar /usr/share/java</userinput></screen>
|
---|
| 354 |
|
---|
| 355 | <para>As mentioned previously, <application>OpenJDK</application> is
|
---|
| 356 | composed of several individual projects of the proprietary
|
---|
| 357 | <application>JDK</application> that have been relicensed under an open
|
---|
| 358 | source license. Put all of the individual components into the source tree
|
---|
| 359 | with the following commands:</para>
|
---|
| 360 |
|
---|
[efd03f7] | 361 | <screen><userinput>cp -v ../corba.tar.gz . &&
|
---|
| 362 | cp -v ../hotspot.tar.gz . &&
|
---|
| 363 | cp -v ../jaxp.tar.gz . &&
|
---|
| 364 | cp -v ../jaxws.tar.gz . &&
|
---|
| 365 | cp -v ../jdk.tar.gz . &&
|
---|
[49b50d4] | 366 | cp -v ../langtools.tar.gz . &&
|
---|
[efd03f7] | 367 | cp -v ../openjdk.tar.gz .</userinput></screen>
|
---|
[2c25a56] | 368 |
|
---|
| 369 | <para>Apply a patch to generate a valid cacerts file using the system CA
|
---|
| 370 | certificates:</para>
|
---|
| 371 |
|
---|
[23f4a9a] | 372 | <screen><userinput>patch -Np1 -i ../icedtea-&icedtea-version;-add_cacerts-1.patch</userinput></screen>
|
---|
[bc00982] | 373 |
|
---|
| 374 | <para>Apply a patch to replace fixed paths with ones appropriate for
|
---|
| 375 | BLFS:</para>
|
---|
| 376 |
|
---|
[49b50d4] | 377 | <screen><userinput>patch -Np1 -i ../icedtea-&icedtea-version;-fixed_paths-1.patch</userinput></screen>
|
---|
| 378 |
|
---|
| 379 | <para>Apply a patch to exclude known broken tests from the test suite:</para>
|
---|
| 380 |
|
---|
| 381 | <screen><userinput>patch -Np1 -i ../icedtea-&icedtea-version;-fix_tests-1.patch</userinput></screen>
|
---|
| 382 |
|
---|
[bc00982] | 383 |
|
---|
[2c25a56] | 384 | <para>Configure and build the package with the following commands:</para>
|
---|
| 385 |
|
---|
| 386 | <screen><userinput>unset JAVA_HOME &&
|
---|
| 387 | ./autogen.sh &&
|
---|
[49b50d4] | 388 | ./configure --with-jdk-home=/opt/OpenJDK-&openjdk-version;-bin \
|
---|
| 389 | --enable-nss \
|
---|
| 390 | --enable-pulse-java &&
|
---|
[2c25a56] | 391 | make</userinput></screen>
|
---|
| 392 |
|
---|
[49b50d4] | 393 | <para>To test the results, issue: <command>make jtregcheck</command>. The
|
---|
[bc00982] | 394 | included version of <application>jtreg</application> is old, and the test
|
---|
[49b50d4] | 395 | suite is also very dependent on the host system and the environment that it
|
---|
| 396 | is run in. You should expect to see anywhere between a clean set of tests
|
---|
| 397 | and up to 160 failures in jdk with up to 17 errors in the tests themselves.
|
---|
| 398 | The majority of the 6000+ tests should pass. The reason for the
|
---|
[4d180035] | 399 | greatly varying results is due to how stringent the testing environment
|
---|
| 400 | must be. Varying architectures, different versions of dependent
|
---|
[49b50d4] | 401 | libraries, unexpected X Window environment and window managers, the CA
|
---|
| 402 | certificates used to generate the <filename>cacerts</filename> file, and
|
---|
[4d180035] | 403 | even any user input or power management or screen saver interruptions during
|
---|
[49b50d4] | 404 | the testing can lead to various failures. While the known broken tests have
|
---|
[4d180035] | 405 | been removed, with the fix_tests patch above, the graphics tests failures
|
---|
[49b50d4] | 406 | cannot be pre-determined (short of removing them all). Best bet for a
|
---|
[4d180035] | 407 | completely clean result is to run the test suite in a framebuffer on a
|
---|
[49b50d4] | 408 | different screen (Xvfb). Even still, Disk I/O can cause failures.</para>
|
---|
[2c25a56] | 409 |
|
---|
| 410 | <para>Install the package with the following commands as the
|
---|
| 411 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 412 |
|
---|
[49b50d4] | 413 | <screen role="root"><userinput>cp -R openjdk.build/j2sdk-image /opt/OpenJDK-&openjdk-version; &&
|
---|
| 414 | chown -R root:root /opt/OpenJDK-&openjdk-version;</userinput></screen>
|
---|
[2c25a56] | 415 |
|
---|
| 416 | </sect2>
|
---|
| 417 |
|
---|
| 418 | <sect2 role="commands">
|
---|
| 419 | <title>Command Explanations</title>
|
---|
| 420 |
|
---|
| 421 | <para><command>./autogen.sh</command>: This command forces rebuilding of
|
---|
| 422 | auto-generated files to account for new options added to
|
---|
| 423 | <filename>configure</filename>.</para>
|
---|
| 424 |
|
---|
| 425 | <para><parameter>--with-jdk-home</parameter>: This switch provides the
|
---|
[d3d92c8] | 426 | location of the temporary <application>JDK</application>.</para>
|
---|
[2c25a56] | 427 |
|
---|
[49b50d4] | 428 | <para><parameter>--enable-nss</parameter>: This switch enables the
|
---|
[4d180035] | 429 | build to utilize additional cryptography supplied by the nss
|
---|
[49b50d4] | 430 | libraries.</para>
|
---|
[d3d92c8] | 431 |
|
---|
[23f4a9a] | 432 | <para><parameter>--enable-pulse-java</parameter>: This switch enables
|
---|
[49b50d4] | 433 | building of the pulseaudio libraries (needed to provide a complete
|
---|
| 434 | implementation that is reasonably compatible with the proprietary
|
---|
| 435 | JDK).</para>
|
---|
[d3d92c8] | 436 |
|
---|
[2c25a56] | 437 | </sect2>
|
---|
| 438 |
|
---|
| 439 | <sect2 role="configuration">
|
---|
[49b50d4] | 440 | <title>Configuring OpenJDK</title>
|
---|
[2c25a56] | 441 |
|
---|
| 442 | <sect3>
|
---|
| 443 | <title>Configuration Information</title>
|
---|
| 444 |
|
---|
[49b50d4] | 445 | <para>There are now two <application>OpenJDK</application> SDKs
|
---|
[2c25a56] | 446 | installed in <filename>/opt</filename>. You should decide on which one
|
---|
| 447 | you would like to use as the default. For example if you decide to use
|
---|
[49b50d4] | 448 | the precompiled <application>OpenJDK</application>, do the following as
|
---|
[2c25a56] | 449 | the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 450 |
|
---|
[49b50d4] | 451 | <screen role="root"><userinput>ln -v -nsf OpenJDK-&openjdk-version;-bin /opt/OpenJDK</userinput></screen>
|
---|
[2c25a56] | 452 |
|
---|
| 453 | <para>The information below assumes your system is set up using the
|
---|
| 454 | instructions found in
|
---|
| 455 | <quote><xref linkend="postlfs-config-profile"/></quote>. You may need to
|
---|
| 456 | extract the relevant information below and incorporate it into your
|
---|
| 457 | system's startup files if your system is set up differently.</para>
|
---|
| 458 |
|
---|
[49b50d4] | 459 | <para>Add the following <filename>openjdk.sh</filename> shell startup file
|
---|
[2c25a56] | 460 | to the <filename>/etc/profile.d</filename> directory with the following
|
---|
| 461 | commands as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 462 |
|
---|
[49b50d4] | 463 | <screen role="root"><userinput>cat > /etc/profile.d/openjdk.sh << "EOF"
|
---|
| 464 | <literal># Begin /etc/profile.d/openjdk.sh
|
---|
[2c25a56] | 465 |
|
---|
| 466 | # Set JAVA_HOME directory
|
---|
[49b50d4] | 467 | JAVA_HOME=/opt/OpenJDK
|
---|
[2c25a56] | 468 |
|
---|
| 469 | # Adjust PATH
|
---|
| 470 | pathappend ${JAVA_HOME}/bin PATH
|
---|
| 471 |
|
---|
| 472 | # Auto Java CLASSPATH
|
---|
| 473 | # Copy jar files to, or create symlinks in this directory
|
---|
| 474 | AUTO_CLASSPATH_DIR=/usr/share/java
|
---|
| 475 | pathprepend . CLASSPATH
|
---|
| 476 | for dir in `find ${AUTO_CLASSPATH_DIR} -type d 2>/dev/null`; do
|
---|
| 477 | pathappend $dir CLASSPATH
|
---|
| 478 | done
|
---|
[49b50d4] | 479 | for jar in `find ${AUTO_CLASSPATH_DIR} -name "*.jar" 2>/dev/null`; do
|
---|
| 480 | pathappend $jar CLASSPATH
|
---|
| 481 | done
|
---|
[2c25a56] | 482 |
|
---|
| 483 | export JAVA_HOME CLASSPATH
|
---|
| 484 | unset AUTO_CLASSPATH_DIR
|
---|
| 485 | unset dir
|
---|
[49b50d4] | 486 | unset jar
|
---|
[2c25a56] | 487 |
|
---|
[49b50d4] | 488 | # End /etc/profile.d/openjdk.sh</literal>
|
---|
[2c25a56] | 489 | EOF</userinput></screen>
|
---|
| 490 |
|
---|
[49b50d4] | 491 | <para>Finally, add the man pages to <application>man_db</application>'s
|
---|
| 492 | configuration. As the <systemitem class="username">root</systemitem>
|
---|
| 493 | user:</para>
|
---|
[2c25a56] | 494 |
|
---|
[49b50d4] | 495 | <screen><userinput>cat >> /etc/man_db.conf << "EOF" &&
|
---|
| 496 | <literal>MANDATORY_MANPATH /opt/OpenJDK/man
|
---|
| 497 | MANPATH_MAP /opt/OpenJDK/bin /opt/OpenJDK/man
|
---|
| 498 | MANDB_MAP /opt/OpenJDK/man /var/cache/man/OpenJDK</literal>
|
---|
| 499 | EOF
|
---|
| 500 | mandb -c /opt/OpenJDK/man</userinput></screen>
|
---|
[2c25a56] | 501 |
|
---|
| 502 | </sect3>
|
---|
| 503 |
|
---|
| 504 | </sect2>
|
---|
| 505 |
|
---|
| 506 | <sect2 role="content">
|
---|
| 507 | <title>Contents</title>
|
---|
| 508 |
|
---|
| 509 | <segmentedlist>
|
---|
| 510 | <segtitle>Installed Programs</segtitle>
|
---|
| 511 | <segtitle>Installed Libraries</segtitle>
|
---|
| 512 | <segtitle>Installed Directory</segtitle>
|
---|
| 513 |
|
---|
| 514 | <seglistitem>
|
---|
[49b50d4] | 515 | <seg>appletviewer, apt, extcheck, idlj, jar,
|
---|
[2c25a56] | 516 | jarsigner, java, javac, javadoc, javah, javap, java-rmi.cgi,
|
---|
[49b50d4] | 517 | jcmd, jconsole, jdb, jhat, jinfo, jmap, jps,
|
---|
[2c25a56] | 518 | jrunscript, jsadebugd, jstack, jstat, jstatd, keytool,
|
---|
| 519 | native2ascii, orbd, pack200, policytool, rmic, rmid, rmiregistry,
|
---|
| 520 | schemagen, serialver, servertool, tnameserv, unpack200,
|
---|
| 521 | wsgen, wsimport, and xjc</seg>
|
---|
[4d180035] | 522 | <seg>/opt/OpenJDK-&openjdk-version;/lib/*, and
|
---|
| 523 | /opt/OpenJDK-&openjdk-version;/jre/lib/*</seg>
|
---|
| 524 | <seg>/opt/OpenJDK-&openjdk-version;</seg>
|
---|
[2c25a56] | 525 | </seglistitem>
|
---|
| 526 | </segmentedlist>
|
---|
| 527 |
|
---|
| 528 | <variablelist>
|
---|
| 529 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 530 | <?dbfo list-presentation="list"?>
|
---|
| 531 | <?dbhtml list-presentation="table"?>
|
---|
| 532 |
|
---|
[49b50d4] | 533 | <varlistentry id="appletviewer">
|
---|
| 534 | <term><command>appletviewer</command></term>
|
---|
| 535 | <listitem>
|
---|
| 536 | <para>allows you to run applets outside of a web browser.</para>
|
---|
| 537 | <indexterm zone="openjdk appletviewer">
|
---|
| 538 | <primary sortas="b-appletviewer">appletviewer</primary>
|
---|
| 539 | </indexterm>
|
---|
| 540 | </listitem>
|
---|
| 541 | </varlistentry>
|
---|
| 542 |
|
---|
| 543 | <varlistentry id="apt">
|
---|
[2c25a56] | 544 | <term><command>apt</command></term>
|
---|
| 545 | <listitem>
|
---|
| 546 | <para>is an annotation processing tool.</para>
|
---|
[49b50d4] | 547 | <indexterm zone="openjdk apt">
|
---|
[2c25a56] | 548 | <primary sortas="b-apt">apt</primary>
|
---|
| 549 | </indexterm>
|
---|
| 550 | </listitem>
|
---|
| 551 | </varlistentry>
|
---|
| 552 |
|
---|
[49b50d4] | 553 | <varlistentry id="extcheck">
|
---|
[2c25a56] | 554 | <term><command>extcheck</command></term>
|
---|
| 555 | <listitem>
|
---|
| 556 | <para>checks a specified jar file for title and version conflicts
|
---|
[49b50d4] | 557 | with any extensions installed in the
|
---|
| 558 | <application>OpenJDK</application> software.</para>
|
---|
| 559 | <indexterm zone="openjdk extcheck">
|
---|
[2c25a56] | 560 | <primary sortas="b-extcheck">extcheck</primary>
|
---|
| 561 | </indexterm>
|
---|
| 562 | </listitem>
|
---|
| 563 | </varlistentry>
|
---|
| 564 |
|
---|
[49b50d4] | 565 | <varlistentry id="idlj">
|
---|
[2c25a56] | 566 | <term><command>idlj</command></term>
|
---|
| 567 | <listitem>
|
---|
| 568 | <para>generates Java bindings from a given IDL file.</para>
|
---|
[49b50d4] | 569 | <indexterm zone="openjdk idlj">
|
---|
[2c25a56] | 570 | <primary sortas="b-idlj">idlj</primary>
|
---|
| 571 | </indexterm>
|
---|
| 572 | </listitem>
|
---|
| 573 | </varlistentry>
|
---|
| 574 |
|
---|
[49b50d4] | 575 | <varlistentry id="jar">
|
---|
[2c25a56] | 576 | <term><command>jar</command></term>
|
---|
| 577 | <listitem>
|
---|
| 578 | <para>combines multiple files into a single jar archive.</para>
|
---|
[49b50d4] | 579 | <indexterm zone="openjdk jar">
|
---|
[2c25a56] | 580 | <primary sortas="b-jar">jar</primary>
|
---|
| 581 | </indexterm>
|
---|
| 582 | </listitem>
|
---|
| 583 | </varlistentry>
|
---|
| 584 |
|
---|
[49b50d4] | 585 | <varlistentry id="jarsigner">
|
---|
[2c25a56] | 586 | <term><command>jarsigner</command></term>
|
---|
| 587 | <listitem>
|
---|
| 588 | <para>signs jar files and verifies the signatures and integrity
|
---|
| 589 | of a signed jar file.</para>
|
---|
[49b50d4] | 590 | <indexterm zone="openjdk jarsigner">
|
---|
[2c25a56] | 591 | <primary sortas="b-jarsigner">jarsigner</primary>
|
---|
| 592 | </indexterm>
|
---|
| 593 | </listitem>
|
---|
| 594 | </varlistentry>
|
---|
| 595 |
|
---|
[49b50d4] | 596 | <varlistentry id="java">
|
---|
[2c25a56] | 597 | <term><command>java</command></term>
|
---|
| 598 | <listitem>
|
---|
| 599 | <para>launches a Java application by starting a Java runtime
|
---|
| 600 | environment, loading a specified class and invoking its main
|
---|
| 601 | method.</para>
|
---|
[49b50d4] | 602 | <indexterm zone="openjdk java">
|
---|
[2c25a56] | 603 | <primary sortas="b-java">java</primary>
|
---|
| 604 | </indexterm>
|
---|
| 605 | </listitem>
|
---|
| 606 | </varlistentry>
|
---|
| 607 |
|
---|
[49b50d4] | 608 | <varlistentry id="javac">
|
---|
[2c25a56] | 609 | <term><command>javac</command></term>
|
---|
| 610 | <listitem>
|
---|
| 611 | <para>reads class and interface definitions, written in the
|
---|
| 612 | Java programming language, and compiles them into bytecode
|
---|
| 613 | class files.</para>
|
---|
[49b50d4] | 614 | <indexterm zone="openjdk javac">
|
---|
[2c25a56] | 615 | <primary sortas="b-javac">javac</primary>
|
---|
| 616 | </indexterm>
|
---|
| 617 | </listitem>
|
---|
| 618 | </varlistentry>
|
---|
| 619 |
|
---|
[49b50d4] | 620 | <varlistentry id="javadoc">
|
---|
[2c25a56] | 621 | <term><command>javadoc</command></term>
|
---|
| 622 | <listitem>
|
---|
| 623 | <para>parses the declarations and documentation comments in a
|
---|
| 624 | set of Java source files and produces a corresponding set of
|
---|
| 625 | HTML pages describing the classes, interfaces,constructors,
|
---|
| 626 | methods, and fields.</para>
|
---|
[49b50d4] | 627 | <indexterm zone="openjdk javadoc">
|
---|
[2c25a56] | 628 | <primary sortas="b-javadoc">javadoc</primary>
|
---|
| 629 | </indexterm>
|
---|
| 630 | </listitem>
|
---|
| 631 | </varlistentry>
|
---|
| 632 |
|
---|
[49b50d4] | 633 | <varlistentry id="javah">
|
---|
[2c25a56] | 634 | <term><command>javah</command></term>
|
---|
| 635 | <listitem>
|
---|
| 636 | <para>generates C header and source files
|
---|
| 637 | that are needed to implement native methods.</para>
|
---|
[49b50d4] | 638 | <indexterm zone="openjdk javah">
|
---|
[2c25a56] | 639 | <primary sortas="b-javah">javah</primary>
|
---|
| 640 | </indexterm>
|
---|
| 641 | </listitem>
|
---|
| 642 | </varlistentry>
|
---|
| 643 |
|
---|
[49b50d4] | 644 | <varlistentry id="javap">
|
---|
[2c25a56] | 645 | <term><command>javap</command></term>
|
---|
| 646 | <listitem>
|
---|
| 647 | <para>disassembles a Java class file.</para>
|
---|
[49b50d4] | 648 | <indexterm zone="openjdk javap">
|
---|
[2c25a56] | 649 | <primary sortas="b-javap">javap</primary>
|
---|
| 650 | </indexterm>
|
---|
| 651 | </listitem>
|
---|
| 652 | </varlistentry>
|
---|
| 653 |
|
---|
[49b50d4] | 654 | <varlistentry id="java-rmi.cgi">
|
---|
[2c25a56] | 655 | <term><command>java-rmi.cgi</command></term>
|
---|
| 656 | <listitem>
|
---|
| 657 | <para>is the Java RMI client.</para>
|
---|
[49b50d4] | 658 | <indexterm zone="openjdk java-rmi.cgi">
|
---|
[2c25a56] | 659 | <primary sortas="b-java-rmi.cgi">java-rmi.cgi</primary>
|
---|
| 660 | </indexterm>
|
---|
| 661 | </listitem>
|
---|
| 662 | </varlistentry>
|
---|
| 663 |
|
---|
[49b50d4] | 664 | <varlistentry id="jcmd">
|
---|
| 665 | <term><command>jcmd</command></term>
|
---|
| 666 | <listitem>
|
---|
| 667 | <para>is a utility to send diagnostic command requests to a running
|
---|
| 668 | Java Virtual Machine.</para>
|
---|
| 669 | <indexterm zone="openjdk jcmd">
|
---|
| 670 | <primary sortas="b-jcmd">jcmd</primary>
|
---|
| 671 | </indexterm>
|
---|
| 672 | </listitem>
|
---|
| 673 | </varlistentry>
|
---|
| 674 |
|
---|
| 675 | <varlistentry id="jconsole">
|
---|
[2c25a56] | 676 | <term><command>jconsole</command></term>
|
---|
| 677 | <listitem>
|
---|
| 678 | <para>is a graphical console tool to monitor and manage both
|
---|
| 679 | local and remote Java applications and virtual machines.</para>
|
---|
[49b50d4] | 680 | <indexterm zone="openjdk jconsole">
|
---|
[2c25a56] | 681 | <primary sortas="b-jconsole">jconsole</primary>
|
---|
| 682 | </indexterm>
|
---|
| 683 | </listitem>
|
---|
| 684 | </varlistentry>
|
---|
| 685 |
|
---|
[49b50d4] | 686 | <varlistentry id="jdb">
|
---|
[2c25a56] | 687 | <term><command>jdb</command></term>
|
---|
| 688 | <listitem>
|
---|
| 689 | <para>is a simple command-line debugger for Java classes.</para>
|
---|
[49b50d4] | 690 | <indexterm zone="openjdk jdb">
|
---|
[2c25a56] | 691 | <primary sortas="b-jdb">jdb</primary>
|
---|
| 692 | </indexterm>
|
---|
| 693 | </listitem>
|
---|
| 694 | </varlistentry>
|
---|
| 695 |
|
---|
[49b50d4] | 696 | <varlistentry id="jhat">
|
---|
[2c25a56] | 697 | <term><command>jhat</command></term>
|
---|
| 698 | <listitem>
|
---|
| 699 | <para>parses a java heap dump file and allows viewing
|
---|
[4d180035] | 700 | in a web browser.</para>
|
---|
[49b50d4] | 701 | <indexterm zone="openjdk jhat">
|
---|
[2c25a56] | 702 | <primary sortas="b-jhat">jhat</primary>
|
---|
| 703 | </indexterm>
|
---|
| 704 | </listitem>
|
---|
| 705 | </varlistentry>
|
---|
| 706 |
|
---|
[49b50d4] | 707 | <varlistentry id="jinfo">
|
---|
[2c25a56] | 708 | <term><command>jinfo</command></term>
|
---|
| 709 | <listitem>
|
---|
| 710 | <para>prints Java configuration information for a given Java
|
---|
| 711 | process, core file, or a remote debug server.</para>
|
---|
[49b50d4] | 712 | <indexterm zone="openjdk jinfo">
|
---|
[2c25a56] | 713 | <primary sortas="b-jinfo">jinfo</primary>
|
---|
| 714 | </indexterm>
|
---|
| 715 | </listitem>
|
---|
| 716 | </varlistentry>
|
---|
| 717 |
|
---|
[49b50d4] | 718 | <varlistentry id="jmap">
|
---|
[2c25a56] | 719 | <term><command>jmap</command></term>
|
---|
| 720 | <listitem>
|
---|
| 721 | <para>prints shared object memory maps or heap memory details
|
---|
| 722 | of a given process, core file, or a remote debug server.</para>
|
---|
[49b50d4] | 723 | <indexterm zone="openjdk jmap">
|
---|
[2c25a56] | 724 | <primary sortas="b-jmap">jmap</primary>
|
---|
| 725 | </indexterm>
|
---|
| 726 | </listitem>
|
---|
| 727 | </varlistentry>
|
---|
| 728 |
|
---|
[49b50d4] | 729 | <varlistentry id="jps">
|
---|
[2c25a56] | 730 | <term><command>jps</command></term>
|
---|
| 731 | <listitem>
|
---|
| 732 | <para>lists the instrumented JVMs on the target system.</para>
|
---|
[49b50d4] | 733 | <indexterm zone="openjdk jps">
|
---|
[2c25a56] | 734 | <primary sortas="b-jps">jps</primary>
|
---|
| 735 | </indexterm>
|
---|
| 736 | </listitem>
|
---|
| 737 | </varlistentry>
|
---|
| 738 |
|
---|
[49b50d4] | 739 | <varlistentry id="jrunscript">
|
---|
[2c25a56] | 740 | <term><command>jrunscript</command></term>
|
---|
| 741 | <listitem>
|
---|
| 742 | <para>is a command line script shell.</para>
|
---|
[49b50d4] | 743 | <indexterm zone="openjdk jrunscript">
|
---|
[2c25a56] | 744 | <primary sortas="b-jrunscript">jrunscript</primary>
|
---|
| 745 | </indexterm>
|
---|
| 746 | </listitem>
|
---|
| 747 | </varlistentry>
|
---|
| 748 |
|
---|
[49b50d4] | 749 | <varlistentry id="jsadebugd">
|
---|
[2c25a56] | 750 | <term><command>jsadebugd</command></term>
|
---|
| 751 | <listitem>
|
---|
| 752 | <para>attaches to a Java process or core file and acts as a
|
---|
| 753 | debug server.</para>
|
---|
[49b50d4] | 754 | <indexterm zone="openjdk jsadebugd">
|
---|
[2c25a56] | 755 | <primary sortas="b-jsadebugd">jsadebugd</primary>
|
---|
| 756 | </indexterm>
|
---|
| 757 | </listitem>
|
---|
| 758 | </varlistentry>
|
---|
| 759 |
|
---|
[49b50d4] | 760 | <varlistentry id="jstack">
|
---|
[2c25a56] | 761 | <term><command>jstack</command></term>
|
---|
| 762 | <listitem>
|
---|
| 763 | <para>prints Java stack traces of Java threads for a given
|
---|
| 764 | Java process, core file, or a remote debug server.</para>
|
---|
[49b50d4] | 765 | <indexterm zone="openjdk jstack">
|
---|
[2c25a56] | 766 | <primary sortas="b-jstack">jstack</primary>
|
---|
| 767 | </indexterm>
|
---|
| 768 | </listitem>
|
---|
| 769 | </varlistentry>
|
---|
| 770 |
|
---|
[49b50d4] | 771 | <varlistentry id="jstat">
|
---|
[2c25a56] | 772 | <term><command>jstat</command></term>
|
---|
| 773 | <listitem>
|
---|
| 774 | <para>displays performance statistics for an instrumented JVM.</para>
|
---|
[49b50d4] | 775 | <indexterm zone="openjdk jstat">
|
---|
[2c25a56] | 776 | <primary sortas="b-jstat">jstat</primary>
|
---|
| 777 | </indexterm>
|
---|
| 778 | </listitem>
|
---|
| 779 | </varlistentry>
|
---|
| 780 |
|
---|
[49b50d4] | 781 | <varlistentry id="jstatd">
|
---|
[2c25a56] | 782 | <term><command>jstatd</command></term>
|
---|
| 783 | <listitem>
|
---|
| 784 | <para>is an RMI server application that monitors for the creation
|
---|
| 785 | and termination of instrumented JVMs.</para>
|
---|
[49b50d4] | 786 | <indexterm zone="openjdk jstatd">
|
---|
[2c25a56] | 787 | <primary sortas="b-jstatd">jstatd</primary>
|
---|
| 788 | </indexterm>
|
---|
| 789 | </listitem>
|
---|
| 790 | </varlistentry>
|
---|
| 791 |
|
---|
[49b50d4] | 792 | <varlistentry id="keytool">
|
---|
[2c25a56] | 793 | <term><command>keytool</command></term>
|
---|
| 794 | <listitem>
|
---|
| 795 | <para>is a key and certificate management utility.</para>
|
---|
[49b50d4] | 796 | <indexterm zone="openjdk keytool">
|
---|
[2c25a56] | 797 | <primary sortas="b-keytool">keytool</primary>
|
---|
| 798 | </indexterm>
|
---|
| 799 | </listitem>
|
---|
| 800 | </varlistentry>
|
---|
| 801 |
|
---|
[49b50d4] | 802 | <varlistentry id="native2ascii">
|
---|
[2c25a56] | 803 | <term><command>native2ascii</command></term>
|
---|
| 804 | <listitem>
|
---|
| 805 | <para> converts files that contain non-supported character encoding
|
---|
| 806 | into files containing Latin-1 or Unicode-encoded characters.</para>
|
---|
[49b50d4] | 807 | <indexterm zone="openjdk native2ascii">
|
---|
[2c25a56] | 808 | <primary sortas="b-native2ascii">native2ascii</primary>
|
---|
| 809 | </indexterm>
|
---|
| 810 | </listitem>
|
---|
| 811 | </varlistentry>
|
---|
| 812 |
|
---|
[49b50d4] | 813 | <varlistentry id="orbd">
|
---|
[2c25a56] | 814 | <term><command>orbd</command></term>
|
---|
| 815 | <listitem>
|
---|
| 816 | <para>is used to enable clients to transparently locate and invoke
|
---|
| 817 | persistent objects on servers in the CORBA environment.</para>
|
---|
[49b50d4] | 818 | <indexterm zone="openjdk orbd">
|
---|
[2c25a56] | 819 | <primary sortas="b-orbd">orbd</primary>
|
---|
| 820 | </indexterm>
|
---|
| 821 | </listitem>
|
---|
| 822 | </varlistentry>
|
---|
| 823 |
|
---|
[49b50d4] | 824 | <varlistentry id="pack200">
|
---|
[2c25a56] | 825 | <term><command>pack200</command></term>
|
---|
| 826 | <listitem>
|
---|
| 827 | <para>is a Java application that transforms a jar file into a
|
---|
| 828 | compressed pack200 file using the Java gzip compressor.</para>
|
---|
[49b50d4] | 829 | <indexterm zone="openjdk pack200">
|
---|
[2c25a56] | 830 | <primary sortas="b-pack200">pack200</primary>
|
---|
| 831 | </indexterm>
|
---|
| 832 | </listitem>
|
---|
| 833 | </varlistentry>
|
---|
| 834 |
|
---|
[49b50d4] | 835 | <varlistentry id="policytool">
|
---|
[2c25a56] | 836 | <term><command>policytool</command></term>
|
---|
| 837 | <listitem>
|
---|
| 838 | <para>creates and manages a policy file graphically.</para>
|
---|
[49b50d4] | 839 | <indexterm zone="openjdk policytool">
|
---|
[2c25a56] | 840 | <primary sortas="b-policytool">policytool</primary>
|
---|
| 841 | </indexterm>
|
---|
| 842 | </listitem>
|
---|
| 843 | </varlistentry>
|
---|
| 844 |
|
---|
[49b50d4] | 845 | <varlistentry id="rmic">
|
---|
[2c25a56] | 846 | <term><command>rmic</command></term>
|
---|
| 847 | <listitem>
|
---|
| 848 | <para>generates stub and skeleton class files for remote objects
|
---|
| 849 | from the names of compiled Java classes that contain remote
|
---|
| 850 | object implementations.</para>
|
---|
[49b50d4] | 851 | <indexterm zone="openjdk rmic">
|
---|
[2c25a56] | 852 | <primary sortas="b-rmic">rmic</primary>
|
---|
| 853 | </indexterm>
|
---|
| 854 | </listitem>
|
---|
| 855 | </varlistentry>
|
---|
| 856 |
|
---|
[49b50d4] | 857 | <varlistentry id="rmid">
|
---|
[2c25a56] | 858 | <term><command>rmid</command></term>
|
---|
| 859 | <listitem>
|
---|
| 860 | <para>starts the activation system daemon.</para>
|
---|
[49b50d4] | 861 | <indexterm zone="openjdk rmid">
|
---|
[2c25a56] | 862 | <primary sortas="b-rmid">rmid</primary>
|
---|
| 863 | </indexterm>
|
---|
| 864 | </listitem>
|
---|
| 865 | </varlistentry>
|
---|
| 866 |
|
---|
[49b50d4] | 867 | <varlistentry id="rmiregistry">
|
---|
[2c25a56] | 868 | <term><command>rmiregistry</command></term>
|
---|
| 869 | <listitem>
|
---|
| 870 | <para>creates and starts a remote object registry on the specified
|
---|
| 871 | port on the current host.</para>
|
---|
[49b50d4] | 872 | <indexterm zone="openjdk rmiregistry">
|
---|
[2c25a56] | 873 | <primary sortas="b-rmiregistry">rmiregistry</primary>
|
---|
| 874 | </indexterm>
|
---|
| 875 | </listitem>
|
---|
| 876 | </varlistentry>
|
---|
| 877 |
|
---|
[49b50d4] | 878 | <varlistentry id="schemagen">
|
---|
[2c25a56] | 879 | <term><command>schemagen</command></term>
|
---|
| 880 | <listitem>
|
---|
| 881 | <para>is a Java XML binding schema generator.</para>
|
---|
[49b50d4] | 882 | <indexterm zone="openjdk schemagen">
|
---|
[2c25a56] | 883 | <primary sortas="b-schemagen">schemagen</primary>
|
---|
| 884 | </indexterm>
|
---|
| 885 | </listitem>
|
---|
| 886 | </varlistentry>
|
---|
| 887 |
|
---|
[49b50d4] | 888 | <varlistentry id="serialver">
|
---|
[2c25a56] | 889 | <term><command>serialver</command></term>
|
---|
| 890 | <listitem>
|
---|
| 891 | <para>returns the serialVersionUID for one or more classes in a
|
---|
| 892 | form suitable for copying into an evolving class.</para>
|
---|
[49b50d4] | 893 | <indexterm zone="openjdk serialver">
|
---|
[2c25a56] | 894 | <primary sortas="b-serialver">serialver</primary>
|
---|
| 895 | </indexterm>
|
---|
| 896 | </listitem>
|
---|
| 897 | </varlistentry>
|
---|
| 898 |
|
---|
[49b50d4] | 899 | <varlistentry id="servertool">
|
---|
[2c25a56] | 900 | <term><command>servertool</command></term>
|
---|
| 901 | <listitem>
|
---|
| 902 | <para>provides an ease-of-use interface for application programmers
|
---|
| 903 | to register, unregister, startup and shutdown a server.</para>
|
---|
[49b50d4] | 904 | <indexterm zone="openjdk servertool">
|
---|
[2c25a56] | 905 | <primary sortas="b-servertool">servertool</primary>
|
---|
| 906 | </indexterm>
|
---|
| 907 | </listitem>
|
---|
| 908 | </varlistentry>
|
---|
| 909 |
|
---|
[49b50d4] | 910 | <varlistentry id="tnameserv">
|
---|
[2c25a56] | 911 | <term><command>tnameserv</command></term>
|
---|
| 912 | <listitem>
|
---|
| 913 | <para>starts the Java IDL name server.</para>
|
---|
[49b50d4] | 914 | <indexterm zone="openjdk tnameserv">
|
---|
[2c25a56] | 915 | <primary sortas="b-tnameserv">tnameserv</primary>
|
---|
| 916 | </indexterm>
|
---|
| 917 | </listitem>
|
---|
| 918 | </varlistentry>
|
---|
| 919 |
|
---|
[49b50d4] | 920 | <varlistentry id="unpack200">
|
---|
[2c25a56] | 921 | <term><command>unpack200</command></term>
|
---|
| 922 | <listitem>
|
---|
| 923 | <para>is a native implementation that transforms a packed file
|
---|
| 924 | produced by <application>pack200</application> into a jar
|
---|
| 925 | file.</para>
|
---|
[49b50d4] | 926 | <indexterm zone="openjdk unpack200">
|
---|
[2c25a56] | 927 | <primary sortas="b-unpack200">unpack200</primary>
|
---|
| 928 | </indexterm>
|
---|
| 929 | </listitem>
|
---|
| 930 | </varlistentry>
|
---|
| 931 |
|
---|
[49b50d4] | 932 | <varlistentry id="wsgen">
|
---|
[2c25a56] | 933 | <term><command>wsgen</command></term>
|
---|
| 934 | <listitem>
|
---|
| 935 | <para>generates JAX-WS portable artifacts used in JAX-WS
|
---|
| 936 | web services.</para>
|
---|
[49b50d4] | 937 | <indexterm zone="openjdk wsgen">
|
---|
[2c25a56] | 938 | <primary sortas="b-wsgen">wsgen</primary>
|
---|
| 939 | </indexterm>
|
---|
| 940 | </listitem>
|
---|
| 941 | </varlistentry>
|
---|
| 942 |
|
---|
[49b50d4] | 943 | <varlistentry id="wsimport">
|
---|
[2c25a56] | 944 | <term><command>wsimport</command></term>
|
---|
| 945 | <listitem>
|
---|
| 946 | <para>generates JAX-WS portable artifacts.</para>
|
---|
[49b50d4] | 947 | <indexterm zone="openjdk wsimport">
|
---|
[2c25a56] | 948 | <primary sortas="b-wsimport">wsimport</primary>
|
---|
| 949 | </indexterm>
|
---|
| 950 | </listitem>
|
---|
| 951 | </varlistentry>
|
---|
| 952 |
|
---|
[49b50d4] | 953 | <varlistentry id="xjc">
|
---|
[2c25a56] | 954 | <term><command>xjc</command></term>
|
---|
| 955 | <listitem>
|
---|
| 956 | <para>is a Java XML binding compiler.</para>
|
---|
[49b50d4] | 957 | <indexterm zone="openjdk xjc">
|
---|
[2c25a56] | 958 | <primary sortas="b-xjc">xjc</primary>
|
---|
| 959 | </indexterm>
|
---|
| 960 | </listitem>
|
---|
| 961 | </varlistentry>
|
---|
| 962 |
|
---|
| 963 | </variablelist>
|
---|
| 964 |
|
---|
| 965 | </sect2>
|
---|
| 966 |
|
---|
| 967 | </sect1>
|
---|