[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 |
|
---|
[d61ead0a] | 7 | <!ENTITY ojdk-tarball "jdk-&openjdk-version;+&openjdk-build;.tar.bz2">
|
---|
[c7a230b] | 8 | <!ENTITY ojdk-repo "http://hg.openjdk.java.net/jdk-updates/jdk12u">
|
---|
[042f456] | 9 | <!ENTITY ojdk-download "&ojdk-repo;/archive/&ojdk-tarball;">
|
---|
[49b50d4] | 10 |
|
---|
[a29486e4] | 11 | <!ENTITY anduin-download "&sources-anduin-http;/OpenJDK/OpenJDK-&openjdk-version;">
|
---|
[49b50d4] | 12 |
|
---|
[c7a230b] | 13 | <!ENTITY ojdk-md5sum "29a2ca9d2c9a5c50b52d845f008ffa22">
|
---|
| 14 | <!ENTITY ojdk-size "80 MB">
|
---|
[d2cb534] | 15 |
|
---|
[fedac85] | 16 | <!ENTITY jtreg-version "4.2-b13-517">
|
---|
[55bcdd7] | 17 | <!ENTITY jtreg-download "&anduin-download;/jtreg-&jtreg-version;.tar.gz">
|
---|
[fedac85] | 18 | <!ENTITY jtreg-md5sum "ffcef8f1caa5c22f4d006fb82e074de4">
|
---|
[91a82cb] | 19 | <!ENTITY jtreg-size "6.8 MB">
|
---|
[d61ead0a] | 20 |
|
---|
[c7a230b] | 21 | <!ENTITY ojdk-bdsize "5.2 GB (an additional 363 MB for tests)">
|
---|
| 22 | <!ENTITY ojdk-time "5.9 SBU with 4 jobs (an additional 79 SBU for tests with 4 jobs)">
|
---|
[2c25a56] | 23 | ]>
|
---|
| 24 |
|
---|
[bf7a1821] | 25 | <sect1 id="openjdk" xreflabel="OpenJDK-&openjdk-version;">
|
---|
[49b50d4] | 26 | <?dbhtml filename="openjdk.html" ?>
|
---|
[2c25a56] | 27 |
|
---|
| 28 | <sect1info>
|
---|
| 29 | <othername>$LastChangedBy$</othername>
|
---|
| 30 | <date>$Date$</date>
|
---|
| 31 | </sect1info>
|
---|
| 32 |
|
---|
[042f456] | 33 | <title>OpenJDK-&openjdk-version;</title>
|
---|
[2c25a56] | 34 |
|
---|
[49b50d4] | 35 | <indexterm zone="openjdk">
|
---|
| 36 | <primary sortas="a-OpenJDK">OpenJDK</primary>
|
---|
[2c25a56] | 37 | </indexterm>
|
---|
| 38 |
|
---|
| 39 | <sect2 role="package">
|
---|
[042f456] | 40 | <title>Introduction to OpenJDK</title>
|
---|
| 41 |
|
---|
| 42 | <para>
|
---|
| 43 | <application>OpenJDK</application> is an open-source implementation
|
---|
| 44 | of Oracle's Java Standard Edition platform.
|
---|
| 45 | <application>OpenJDK</application> is useful for developing
|
---|
| 46 | <application>Java</application> programs, and provides a complete
|
---|
| 47 | runtime environment to run <application>Java</application> programs.
|
---|
| 48 | </para>
|
---|
[2c25a56] | 49 |
|
---|
[607d79e] | 50 | &lfs90_checked;
|
---|
[c599277] | 51 |
|
---|
[042f456] | 52 | <para>
|
---|
| 53 | OpenJDK is GPL'd code, with a special exception made for non-free
|
---|
| 54 | projects to use these classes in their proprietary products.
|
---|
| 55 | In similar fashion to the LGPL, which allows non-free programs to link
|
---|
| 56 | to libraries provided by free software, the
|
---|
| 57 | <ulink url="http://openjdk.java.net/legal/gplv2+ce.html">GNU
|
---|
| 58 | General Public License, version 2, with the Classpath Exception</ulink>
|
---|
| 59 | allows third party programs to use classes provided by free software
|
---|
| 60 | without the requirement that the third party software also be free. As
|
---|
| 61 | with the LGPL, any modifications made to the free software portions of a
|
---|
| 62 | third party application, must also be made freely available.
|
---|
| 63 | </para>
|
---|
[2c25a56] | 64 |
|
---|
| 65 | <note>
|
---|
[042f456] | 66 | <para>
|
---|
| 67 | The <application>OpenJDK</application> source includes a very
|
---|
| 68 | thorough, open source test suite using the
|
---|
| 69 | <application>JTreg</application> test harness. The testing instructions
|
---|
| 70 | below allow to test the just built JDK for reasonable compatibility
|
---|
| 71 | with the proprietary Oracle JDK. However, in order for an independent
|
---|
| 72 | implementation to claim compatibility, it must pass a proprietary
|
---|
| 73 | <application>JCK/TCK</application> test suite. No claims of
|
---|
| 74 | compatibility, even partial compatibility, may be made without passing
|
---|
| 75 | an approved test suite.
|
---|
| 76 | </para>
|
---|
| 77 |
|
---|
| 78 | <para>
|
---|
| 79 | Oracle does provide free community access, on a case by case basis, to
|
---|
| 80 | a closed toolkit to ensure 100% compatibility with its proprietary JDK.
|
---|
| 81 | Neither the binary version provided on the <xref linkend="java"/> page
|
---|
| 82 | nor the JVM built with the instructions below have been tested against
|
---|
| 83 | the <ulink
|
---|
| 84 | url="http://openjdk.java.net/groups/conformance/JckAccess/jck-access.html">
|
---|
| 85 | TCK</ulink>. Any version that is built using the instructions given,
|
---|
| 86 | cannot claim to be compatible with the proprietary JDK, without the
|
---|
| 87 | user applying for, and completing the compatibility tests themselves.
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <para>
|
---|
| 91 | With that in mind, the binaries produced using this build method are
|
---|
| 92 | regularly tested against the TCK by the members listed on the site
|
---|
| 93 | above. In addition to the community license above, an educational,
|
---|
| 94 | non-commercial license for the TCK can be obtained from <ulink
|
---|
| 95 | url="http://www.oracle.com/technetwork/java/index-137188.html">
|
---|
| 96 | here</ulink>.
|
---|
| 97 | </para>
|
---|
[2c25a56] | 98 | </note>
|
---|
| 99 |
|
---|
[d133d429] | 100 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
[2c25a56] | 101 | <itemizedlist spacing="compact">
|
---|
| 102 | <listitem>
|
---|
[d61ead0a] | 103 | <para>
|
---|
| 104 | Download (HTTP): <ulink url="&ojdk-download;"/>
|
---|
| 105 | </para>
|
---|
| 106 | </listitem>
|
---|
| 107 | <listitem>
|
---|
| 108 | <para>
|
---|
| 109 | Download (FTP): <ulink url=" "/>
|
---|
| 110 | </para>
|
---|
| 111 | </listitem>
|
---|
| 112 | <listitem>
|
---|
| 113 | <para>
|
---|
| 114 | Download MD5 sum: &ojdk-md5sum;
|
---|
| 115 | </para>
|
---|
| 116 | </listitem>
|
---|
| 117 | <listitem>
|
---|
| 118 | <para>
|
---|
| 119 | Download Size: &ojdk-size;
|
---|
[2c25a56] | 120 | </para>
|
---|
| 121 | </listitem>
|
---|
| 122 | <listitem>
|
---|
[d61ead0a] | 123 | <para>Estimated disk space required: &ojdk-bdsize;</para>
|
---|
[042f456] | 124 | </listitem>
|
---|
| 125 | <listitem>
|
---|
| 126 | <para>Estimated build time: &ojdk-time;</para>
|
---|
[2c25a56] | 127 | </listitem>
|
---|
| 128 | </itemizedlist>
|
---|
| 129 |
|
---|
| 130 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 131 |
|
---|
[d61ead0a] | 132 | <bridgehead renderas="sect4">Optional test harness</bridgehead>
|
---|
| 133 |
|
---|
[2c25a56] | 134 | <itemizedlist spacing='compact'>
|
---|
| 135 | <listitem>
|
---|
[d61ead0a] | 136 | <para>
|
---|
| 137 | <ulink url="&jtreg-download;"/>
|
---|
| 138 | </para>
|
---|
| 139 | </listitem>
|
---|
| 140 | <listitem>
|
---|
| 141 | <para>
|
---|
| 142 | Download MD5 sum: &jtreg-md5sum;
|
---|
[b1129a10] | 143 | </para>
|
---|
[870e4acf] | 144 | </listitem>
|
---|
[2c25a56] | 145 | <listitem>
|
---|
[b1129a10] | 146 | <para>
|
---|
[d61ead0a] | 147 | Download Size: &jtreg-size;
|
---|
[b1129a10] | 148 | </para>
|
---|
[2c25a56] | 149 | </listitem>
|
---|
| 150 | </itemizedlist>
|
---|
| 151 |
|
---|
[5409013] | 152 | <bridgehead renderas="sect4">Required patch</bridgehead>
|
---|
| 153 |
|
---|
| 154 | <itemizedlist spacing='compact'>
|
---|
| 155 | <listitem>
|
---|
| 156 | <para>
|
---|
[d96708a] | 157 | <ulink url="&patch-root;/openjdk-&openjdk-version;-make_4.3_fix-1.patch"/>
|
---|
[5409013] | 158 | </para>
|
---|
| 159 | </listitem>
|
---|
| 160 | </itemizedlist>
|
---|
| 161 |
|
---|
[49b50d4] | 162 | <bridgehead renderas="sect3">OpenJDK Dependencies</bridgehead>
|
---|
[bc00982] | 163 |
|
---|
[92b1341] | 164 | <bridgehead renderas="sect4">Required Dependencies</bridgehead>
|
---|
[2e41a4f] | 165 | <para role="required">
|
---|
[042f456] | 166 | An existing binary (<xref linkend="java"/> or an earlier built
|
---|
[ada4e5f5] | 167 | version of this package. The instructions below assume that
|
---|
| 168 | you are using <xref linkend="ojdk-conf"/>),
|
---|
[52a4df28] | 169 | <xref linkend="alsa-lib"/>,
|
---|
[92b1341] | 170 | <xref linkend="cpio"/>,
|
---|
[de930747] | 171 | <xref linkend="cups"/>,
|
---|
[2e41a4f] | 172 | <xref linkend="unzip"/>,
|
---|
[92b1341] | 173 | <xref linkend="which"/>,
|
---|
[042f456] | 174 | <xref linkend="xorg7-lib"/>, and
|
---|
[2e41a4f] | 175 | <xref linkend="zip"/>
|
---|
| 176 | </para>
|
---|
[2c25a56] | 177 |
|
---|
[52a4df28] | 178 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 179 | <para role="recommended">
|
---|
[2198a32] | 180 | <xref linkend="make-ca"/>,
|
---|
[d61ead0a] | 181 | <xref linkend="giflib"/>,
|
---|
| 182 | <xref linkend="lcms2"/>,
|
---|
| 183 | <xref linkend="libjpeg"/>,
|
---|
| 184 | <xref linkend="libpng"/>, and
|
---|
[5aa8088] | 185 | <xref linkend="wget"/>
|
---|
[52a4df28] | 186 | </para>
|
---|
| 187 |
|
---|
[e01f402] | 188 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 189 | <para role="optional">
|
---|
[c7a230b] | 190 | <xref linkend="git"/>,
|
---|
[91a82cb] | 191 | <xref linkend="graphviz"/>,
|
---|
| 192 | <xref linkend="mercurial"/>,
|
---|
| 193 | an X Window manager such as <xref linkend="twm"/> (for the tests), and
|
---|
| 194 | <ulink url="https://pandoc.org/">pandoc</ulink>
|
---|
[e01f402] | 195 | </para>
|
---|
| 196 |
|
---|
[2c25a56] | 197 | <para condition="html" role="usernotes">User Notes:
|
---|
[49b50d4] | 198 | <ulink url="&blfs-wiki;/openjdk"/></para>
|
---|
[2c25a56] | 199 |
|
---|
| 200 | </sect2>
|
---|
| 201 |
|
---|
| 202 | <sect2 role="installation">
|
---|
[49b50d4] | 203 | <title>Installation of OpenJDK</title>
|
---|
[2c25a56] | 204 |
|
---|
[042f456] | 205 | <para>
|
---|
[91a82cb] | 206 | If you have downloaded the optional test harness, unpack it now:
|
---|
[042f456] | 207 | </para>
|
---|
[6f01fd2e] | 208 |
|
---|
[5aa8088] | 209 | <screen><userinput>tar -xf ../jtreg-&jtreg-version;.tar.gz</userinput></screen>
|
---|
[bc00982] | 210 |
|
---|
[5409013] | 211 | <para>
|
---|
| 212 | Apply a patch to allow building with make-4.3:
|
---|
| 213 | </para>
|
---|
| 214 |
|
---|
| 215 | <screen><userinput>patch -p1 -i ../openjdk-&openjdk-version;-make_4.3_fix-1.patch</userinput></screen>
|
---|
| 216 |
|
---|
[042f456] | 217 | <note>
|
---|
| 218 | <para>
|
---|
| 219 | Before proceeding, you should ensure that your environment
|
---|
| 220 | <envar>PATH</envar> variable contains the location of the Java
|
---|
[bf7a1821] | 221 | compiler used for bootstrapping <application>OpenJDK</application>.
|
---|
[042f456] | 222 | This is the only requirement for the environment. Modern Java
|
---|
| 223 | installations do not need <envar>JAVA_HOME</envar> and
|
---|
| 224 | <envar>CLASSPATH</envar> is not used here. Furthermore, OpenJDK
|
---|
[b82dab5] | 225 | developers recommend to unset <envar>JAVA_HOME</envar>.
|
---|
[042f456] | 226 | </para>
|
---|
[49b50d4] | 227 |
|
---|
[042f456] | 228 | <para>
|
---|
| 229 | The build system does not support the <option>-j</option> switch in
|
---|
[8d759c7] | 230 | <envar>MAKEFLAGS</envar>. See the command explanation for
|
---|
| 231 | <option>--with-jobs=</option> and <option>--with-test-jobs=</option>
|
---|
| 232 | for more information on customizing parallelization.
|
---|
[042f456] | 233 | </para>
|
---|
| 234 | </note>
|
---|
[870e4acf] | 235 |
|
---|
[5aa8088] | 236 | <para>
|
---|
| 237 | Configure and build the package with the following commands
|
---|
| 238 | (--with-milestone value can be modified to fit user preferences):
|
---|
| 239 | </para>
|
---|
[042f456] | 240 |
|
---|
[d61ead0a] | 241 | <screen><userinput>unset JAVA_HOME &&
|
---|
| 242 | bash configure --enable-unlimited-crypto \
|
---|
| 243 | --disable-warnings-as-errors \
|
---|
| 244 | --with-stdc++lib=dynamic \
|
---|
| 245 | --with-giflib=system \
|
---|
| 246 | --with-jtreg=$PWD/jtreg \
|
---|
| 247 | --with-lcms=system \
|
---|
| 248 | --with-libjpeg=system \
|
---|
| 249 | --with-libpng=system \
|
---|
| 250 | --with-zlib=system \
|
---|
[91a82cb] | 251 | --with-version-build="&openjdk-build;" \
|
---|
[d61ead0a] | 252 | --with-version-pre="" \
|
---|
| 253 | --with-version-opt="" \
|
---|
[5c3f3856] | 254 | --with-cacerts-file=/etc/pki/tls/java/cacerts &&
|
---|
[d61ead0a] | 255 | make images</userinput></screen>
|
---|
[870e4acf] | 256 |
|
---|
[042f456] | 257 | <para>
|
---|
[d2cb534] | 258 | To test the results, you will need to execute the jtreg program.
|
---|
| 259 | You can set the number of concurrent tests by adding the
|
---|
| 260 | <parameter>-conc:<replaceable><X></replaceable></parameter>
|
---|
| 261 | value in the below command (tests will run sequentially otherwise):
|
---|
[042f456] | 262 | </para>
|
---|
| 263 |
|
---|
[e7d4e823] | 264 | <screen remap="test"><userinput>export JT_JAVA=$(echo $PWD/build/*/jdk) &&
|
---|
[d2cb534] | 265 | jtreg/bin/jtreg -jdk:$JT_JAVA -automatic -ignore:quiet -v1 \
|
---|
[e537773] | 266 | test/jdk:tier1 test/langtools:tier1 &&
|
---|
| 267 | unset JT_JAVA</userinput></screen>
|
---|
[d2cb534] | 268 |
|
---|
| 269 | <para>For more control over the test suite, review the documentation
|
---|
| 270 | available in <filename>jtreg/doc/jtreg/usage.txt</filename>. To review the
|
---|
| 271 | results, see the files
|
---|
| 272 | <filename>JTreport/test_{jdk,langtools}/text/stats.txt</filename> and
|
---|
| 273 | <filename>JTreport/test_{jdk,langtools}/text/summary.txt</filename>.
|
---|
[fedac85] | 274 | You should expect to see around 40 failures and a couple of errors.</para>
|
---|
[c7a230b] | 275 | <!-- 11.0.2+9:
|
---|
| 276 | for x86_64: 2 Errors, 28 Failures
|
---|
[c599277] | 277 | for i686: 13 Errors, 48 Failures
|
---|
[c7a230b] | 278 | 12.0.2+10:
|
---|
| 279 | for x86_64: 5828 Passed, 52 Errors, no failures
|
---|
| 280 | for i686: PENDING -->
|
---|
[d2cb534] | 281 |
|
---|
[2c25a56] | 282 | <para>Install the package with the following commands as the
|
---|
| 283 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 284 |
|
---|
[d61ead0a] | 285 | <screen role="root"><userinput>install -vdm755 /opt/jdk-&openjdk-version;+&openjdk-build; &&
|
---|
| 286 | cp -Rv build/*/images/jdk/* /opt/jdk-&openjdk-version;+&openjdk-build; &&
|
---|
| 287 | chown -R root:root /opt/jdk-&openjdk-version;+&openjdk-build; &&
|
---|
| 288 | for s in 16 24 32 48; do
|
---|
[d2cb534] | 289 | install -vDm644 src/java.desktop/unix/classes/sun/awt/X11/java-icon${s}.png \
|
---|
[91a82cb] | 290 | /usr/share/icons/hicolor/${s}x${s}/apps/java.png
|
---|
[e537773] | 291 | done</userinput></screen>
|
---|
[2c25a56] | 292 |
|
---|
[d61ead0a] | 293 | <note>
|
---|
| 294 | <para>
|
---|
| 295 | If you only wish to install the Java Runtime Environment, you can
|
---|
[55bcdd7] | 296 | substitute <filename>build/*/images/jre</filename> in the above
|
---|
[d61ead0a] | 297 | <command>cp</command> command.
|
---|
| 298 | </para>
|
---|
| 299 | </note>
|
---|
| 300 |
|
---|
[58cba7f0] | 301 | <para>
|
---|
| 302 | There are now two <application>OpenJDK</application> SDKs installed
|
---|
| 303 | in <filename class="directory">/opt</filename>. You should decide on
|
---|
| 304 | which one you would like to use as the default. Normally, you would opt
|
---|
| 305 | for the just installed <application>OpenJDK</application>. If so, do
|
---|
| 306 | the following as the <systemitem class="username">root</systemitem>
|
---|
| 307 | user:
|
---|
| 308 | </para>
|
---|
| 309 |
|
---|
[d61ead0a] | 310 | <screen role="root"><userinput>ln -v -nsf jdk-&openjdk-version;+&openjdk-build; /opt/jdk</userinput></screen>
|
---|
[58cba7f0] | 311 |
|
---|
[bf7a1821] | 312 | <para>
|
---|
[d61ead0a] | 313 | If desired, you may create .desktop files to add entries
|
---|
[5409013] | 314 | in the menu for <command>java</command>
|
---|
[d61ead0a] | 315 | and <command>jconsole</command>. The needed icons have already been
|
---|
| 316 | installed. As the <systemitem class="username">root</systemitem> user:
|
---|
[bf7a1821] | 317 | </para>
|
---|
[76df61c] | 318 |
|
---|
[b1129a10] | 319 | <screen role="root"><userinput>mkdir -pv /usr/share/applications &&
|
---|
| 320 |
|
---|
[89b38c1e] | 321 | cat > /usr/share/applications/openjdk-java.desktop << "EOF" &&
|
---|
[76df61c] | 322 | <literal>[Desktop Entry]
|
---|
[91a82cb] | 323 | Name=OpenJDK Java &openjdk-version; Runtime
|
---|
| 324 | Comment=OpenJDK Java &openjdk-version; Runtime
|
---|
[d61ead0a] | 325 | Exec=/opt/jdk/bin/java -jar
|
---|
| 326 | Terminal=false
|
---|
| 327 | Type=Application
|
---|
[91a82cb] | 328 | Icon=java
|
---|
[d61ead0a] | 329 | MimeType=application/x-java-archive;application/java-archive;application/x-jar;
|
---|
| 330 | NoDisplay=true</literal>
|
---|
| 331 | EOF
|
---|
[89b38c1e] | 332 | cat > /usr/share/applications/openjdk-jconsole.desktop << "EOF"
|
---|
[d61ead0a] | 333 | <literal>[Desktop Entry]
|
---|
[91a82cb] | 334 | Name=OpenJDK Java &openjdk-version; Console
|
---|
| 335 | Comment=OpenJDK Java &openjdk-version; Console
|
---|
[8d759c7] | 336 | Keywords=java;console;monitoring
|
---|
[d61ead0a] | 337 | Exec=/opt/jdk/bin/jconsole
|
---|
| 338 | Terminal=false
|
---|
| 339 | Type=Application
|
---|
[91a82cb] | 340 | Icon=java
|
---|
[d61ead0a] | 341 | Categories=Application;System;</literal>
|
---|
| 342 | EOF</userinput></screen>
|
---|
[d2cb534] | 343 |
|
---|
[2c25a56] | 344 | </sect2>
|
---|
| 345 |
|
---|
| 346 | <sect2 role="commands">
|
---|
| 347 | <title>Command Explanations</title>
|
---|
| 348 |
|
---|
[042f456] | 349 | <para>
|
---|
[d61ead0a] | 350 | <command>bash configure...</command>: the top level
|
---|
[042f456] | 351 | <filename>configure</filename> is a wrapper around the autotools one.
|
---|
[d61ead0a] | 352 | It is not executable and must be run through <command>bash</command>.
|
---|
[042f456] | 353 | </para>
|
---|
[2c25a56] | 354 |
|
---|
[042f456] | 355 | <para>
|
---|
[d61ead0a] | 356 | <parameter>--enable-unlimited-crypto</parameter>: Because of limitations
|
---|
| 357 | on the usage of cryptography in some countries, there is the possibility
|
---|
| 358 | to limit the size of encryption keys and the use of some algorithms in a
|
---|
| 359 | policy file. This switch allows to ship a policy file with no
|
---|
| 360 | restriction. It is the responsibility of the user to ensure proper
|
---|
| 361 | adherence to the law.
|
---|
[042f456] | 362 | </para>
|
---|
[2c25a56] | 363 |
|
---|
[042f456] | 364 | <para>
|
---|
[d61ead0a] | 365 | <parameter>--disable-warnings-as-errors</parameter>: This switch disables
|
---|
| 366 | use of <envar>-Werror</envar> in the build.
|
---|
[042f456] | 367 | </para>
|
---|
[5292423] | 368 |
|
---|
[042f456] | 369 | <para>
|
---|
[d61ead0a] | 370 | <parameter>--with-stdc++lib=dynamic</parameter>: This switch forces the
|
---|
| 371 | build system to link to <filename>libstdc++.so</filename> (dynamic)
|
---|
| 372 | instead of <filename>libstdc++.a</filename> (static).
|
---|
[042f456] | 373 | </para>
|
---|
[5292423] | 374 |
|
---|
[d2cb534] | 375 | <para>
|
---|
[aa41434] | 376 | <option>--with-jobs=<replaceable><X></replaceable></option>:
|
---|
[d2cb534] | 377 | The <parameter>-j</parameter> passed to make does not work with make as
|
---|
| 378 | invoked here. By default, the build system will use the number of
|
---|
| 379 | CPUs - 1.
|
---|
| 380 | </para>
|
---|
| 381 |
|
---|
[042f456] | 382 | <para>
|
---|
[d61ead0a] | 383 | <parameter>--with-jtreg=$PWD/jtreg</parameter>: This switch tells
|
---|
| 384 | configure where to find jtreg. Omit if you have not downloaded the
|
---|
| 385 | optional test suite.
|
---|
[042f456] | 386 | </para>
|
---|
[52a4df28] | 387 |
|
---|
[042f456] | 388 | <para>
|
---|
[d61ead0a] | 389 | <parameter>--with-{giflib,lcms,libjpeg,libpng,zlib}=system</parameter>:
|
---|
| 390 | These switches force the build system to use the system libraries instead
|
---|
| 391 | of the bundled versions.
|
---|
[042f456] | 392 | </para>
|
---|
[e01f402] | 393 |
|
---|
[042f456] | 394 | <para>
|
---|
[d61ead0a] | 395 | <parameter>--with-version-build</parameter>: Currently, the build
|
---|
| 396 | system does not include the build number in the version string. It has
|
---|
| 397 | to be specified here.
|
---|
[042f456] | 398 | </para>
|
---|
[c770e18] | 399 |
|
---|
[8eb9e848] | 400 | <para>
|
---|
[d61ead0a] | 401 | <parameter>--with-version-pre</parameter>: This switch allows you to
|
---|
| 402 | prefix the version string with a custom string.
|
---|
[8eb9e848] | 403 | </para>
|
---|
| 404 |
|
---|
[042f456] | 405 | <para>
|
---|
[d61ead0a] | 406 | <parameter>--with-version-opt</parameter>: This switch allows you to add
|
---|
| 407 | an optional build description to the version string.
|
---|
[042f456] | 408 | </para>
|
---|
| 409 |
|
---|
| 410 | <para>
|
---|
[5c3f3856] | 411 | <parameter>--with-cacerts-file=/etc/pki/tls/java/cacerts</parameter>:
|
---|
[d61ead0a] | 412 | Specifies where to find a <filename>cacerts</filename> file,
|
---|
[5c3f3856] | 413 | <filename>/etc/pki/tls/java/</filename> on a BLFS system. Otherwise, an
|
---|
| 414 | empty one is created. You can use the
|
---|
[120b315] | 415 | <command>/usr/sbin/make-ca --force</command> command to generate it, once
|
---|
| 416 | you have installed the Java binaries.
|
---|
[042f456] | 417 | </para>
|
---|
[df15e9f] | 418 |
|
---|
[042f456] | 419 | <para>
|
---|
[d61ead0a] | 420 | <option>--with-boot-jdk</option>: This switch provides the
|
---|
| 421 | location of the temporary <application>JDK</application>. It is normally
|
---|
| 422 | not needed if <command>java</command> is found in the <envar>PATH</envar>.
|
---|
[042f456] | 423 | </para>
|
---|
| 424 |
|
---|
| 425 | <para>
|
---|
[df15e9f] | 426 | <command>find ... -iname '*.diz' -delete</command>: This command
|
---|
| 427 | removes redundant files.
|
---|
[042f456] | 428 | </para>
|
---|
[5889b848] | 429 |
|
---|
[2c25a56] | 430 | </sect2>
|
---|
| 431 |
|
---|
[b1129a10] | 432 | <sect2 role="configuration"
|
---|
| 433 | id="openjdk-config"
|
---|
| 434 | xreflabel="Configuring OpenJDK">
|
---|
[49b50d4] | 435 | <title>Configuring OpenJDK</title>
|
---|
[2c25a56] | 436 |
|
---|
| 437 | <sect3>
|
---|
| 438 | <title>Configuration Information</title>
|
---|
| 439 |
|
---|
[5aa8088] | 440 | <para>
|
---|
| 441 | Normally, the JAVA environment has been configured after installing
|
---|
| 442 | the binary version, and can be used with the just built package as well.
|
---|
| 443 | Review <xref linkend="ojdk-conf"/> in case you want to modify
|
---|
| 444 | something.
|
---|
| 445 | </para>
|
---|
[2c25a56] | 446 |
|
---|
[5aa8088] | 447 | <para>
|
---|
| 448 | To test if the man pages are correctly installed, issue
|
---|
| 449 | <command>source /etc/profile</command> and <command>man java</command>
|
---|
| 450 | to display the respective man page.
|
---|
| 451 | </para>
|
---|
[76df61c] | 452 |
|
---|
[2c25a56] | 453 | </sect3>
|
---|
| 454 |
|
---|
[55bcdd7] | 455 | <sect3>
|
---|
| 456 | <title>
|
---|
| 457 | Settting up the JRE Certificate Authority Certificates (cacerts) file
|
---|
| 458 | </title>
|
---|
[8b9034a] | 459 |
|
---|
[042f456] | 460 | <para>
|
---|
[c1cd435e] | 461 | If you have run the instructions on the <xref linkend="make-ca"/> page,
|
---|
| 462 | you only need to create a symlink in the default location for the
|
---|
| 463 | <filename>cacerts</filename> file. As user <systemitem
|
---|
[55bcdd7] | 464 | class="username">root</systemitem>:
|
---|
[042f456] | 465 | </para>
|
---|
[8b9034a] | 466 |
|
---|
[5c3f3856] | 467 | <screen role="root"><userinput>ln -sfv /etc/pki/tls/java/cacerts /opt/jdk/lib/security/cacerts</userinput></screen>
|
---|
[8b9034a] | 468 |
|
---|
[bf7a1821] | 469 | <para>
|
---|
[2838a645] | 470 | To check the installation, issue:
|
---|
[bf7a1821] | 471 | </para>
|
---|
[a727127f] | 472 |
|
---|
| 473 | <screen role="root"><userinput>cd /opt/jdk
|
---|
[55bcdd7] | 474 | bin/keytool -list -cacerts</userinput></screen>
|
---|
[5941d6e1] | 475 |
|
---|
[2838a645] | 476 | <para>
|
---|
| 477 | At the prompt <computeroutput>Enter keystore password:</computeroutput>,
|
---|
| 478 | enter <userinput>changeit</userinput> (the default) or just press the
|
---|
| 479 | <quote>Enter</quote> key. If the <filename>cacerts</filename> file was
|
---|
| 480 | installed correctly, you will see a list of the certificates with
|
---|
| 481 | related information for each one. If not, you need to reinstall them.
|
---|
| 482 | </para>
|
---|
| 483 |
|
---|
[8b9034a] | 484 | </sect3>
|
---|
| 485 |
|
---|
[2c25a56] | 486 | </sect2>
|
---|
| 487 |
|
---|
| 488 | <sect2 role="content">
|
---|
| 489 | <title>Contents</title>
|
---|
| 490 |
|
---|
| 491 | <segmentedlist>
|
---|
| 492 | <segtitle>Installed Programs</segtitle>
|
---|
| 493 | <segtitle>Installed Libraries</segtitle>
|
---|
| 494 | <segtitle>Installed Directory</segtitle>
|
---|
| 495 |
|
---|
| 496 | <seglistitem>
|
---|
[fedac85] | 497 | <seg>jaotc, jar,
|
---|
[91a82cb] | 498 | jarsigner, java, javac, javadoc, javap, jcmd, jconsole, jdb,
|
---|
| 499 | jdeprscan, jdeps, jhsdb, jimage, jinfo, jjs, jlink, jmap, jmod, jps,
|
---|
| 500 | jrunscript, jshell, jstack, jstat, jstatd, keytool,
|
---|
[fedac85] | 501 | pack200, rmic, rmid, rmiregistry,
|
---|
| 502 | serialver, and unpack200</seg>
|
---|
[91a82cb] | 503 | <seg>/opt/jdk-&openjdk-version;/lib/*</seg>
|
---|
| 504 | <seg>/opt/jdk-&openjdk-version;</seg>
|
---|
[2c25a56] | 505 | </seglistitem>
|
---|
| 506 | </segmentedlist>
|
---|
| 507 |
|
---|
| 508 | <variablelist>
|
---|
| 509 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 510 | <?dbfo list-presentation="list"?>
|
---|
| 511 | <?dbhtml list-presentation="table"?>
|
---|
[fedac85] | 512 | <!--
|
---|
[49b50d4] | 513 | <varlistentry id="appletviewer">
|
---|
| 514 | <term><command>appletviewer</command></term>
|
---|
| 515 | <listitem>
|
---|
[042f456] | 516 | <para>allows to run applets outside of a web browser.</para>
|
---|
[49b50d4] | 517 | <indexterm zone="openjdk appletviewer">
|
---|
| 518 | <primary sortas="b-appletviewer">appletviewer</primary>
|
---|
| 519 | </indexterm>
|
---|
| 520 | </listitem>
|
---|
| 521 | </varlistentry>
|
---|
[fedac85] | 522 |
|
---|
[49b50d4] | 523 | <varlistentry id="idlj">
|
---|
[2c25a56] | 524 | <term><command>idlj</command></term>
|
---|
| 525 | <listitem>
|
---|
| 526 | <para>generates Java bindings from a given IDL file.</para>
|
---|
[49b50d4] | 527 | <indexterm zone="openjdk idlj">
|
---|
[2c25a56] | 528 | <primary sortas="b-idlj">idlj</primary>
|
---|
| 529 | </indexterm>
|
---|
| 530 | </listitem>
|
---|
| 531 | </varlistentry>
|
---|
[fedac85] | 532 | -->
|
---|
[91a82cb] | 533 | <varlistentry id="jaotc">
|
---|
| 534 | <term><command>jaotc</command></term>
|
---|
| 535 | <listitem>
|
---|
| 536 | <para>is an <quote>ahead-of-time</quote> java class compiler.</para>
|
---|
| 537 | <indexterm zone="openjdk jaotc">
|
---|
| 538 | <primary sortas="b-jaotc">jaotc</primary>
|
---|
| 539 | </indexterm>
|
---|
| 540 | </listitem>
|
---|
| 541 | </varlistentry>
|
---|
| 542 |
|
---|
[49b50d4] | 543 | <varlistentry id="jar">
|
---|
[2c25a56] | 544 | <term><command>jar</command></term>
|
---|
| 545 | <listitem>
|
---|
| 546 | <para>combines multiple files into a single jar archive.</para>
|
---|
[49b50d4] | 547 | <indexterm zone="openjdk jar">
|
---|
[2c25a56] | 548 | <primary sortas="b-jar">jar</primary>
|
---|
| 549 | </indexterm>
|
---|
| 550 | </listitem>
|
---|
| 551 | </varlistentry>
|
---|
| 552 |
|
---|
[49b50d4] | 553 | <varlistentry id="jarsigner">
|
---|
[2c25a56] | 554 | <term><command>jarsigner</command></term>
|
---|
| 555 | <listitem>
|
---|
| 556 | <para>signs jar files and verifies the signatures and integrity
|
---|
| 557 | of a signed jar file.</para>
|
---|
[49b50d4] | 558 | <indexterm zone="openjdk jarsigner">
|
---|
[2c25a56] | 559 | <primary sortas="b-jarsigner">jarsigner</primary>
|
---|
| 560 | </indexterm>
|
---|
| 561 | </listitem>
|
---|
| 562 | </varlistentry>
|
---|
| 563 |
|
---|
[784a1a7f] | 564 | <varlistentry id="java-prog">
|
---|
[2c25a56] | 565 | <term><command>java</command></term>
|
---|
| 566 | <listitem>
|
---|
| 567 | <para>launches a Java application by starting a Java runtime
|
---|
| 568 | environment, loading a specified class and invoking its main
|
---|
| 569 | method.</para>
|
---|
[784a1a7f] | 570 | <indexterm zone="openjdk java-prog">
|
---|
| 571 | <primary sortas="b-java-prog">java</primary>
|
---|
[2c25a56] | 572 | </indexterm>
|
---|
| 573 | </listitem>
|
---|
| 574 | </varlistentry>
|
---|
| 575 |
|
---|
[49b50d4] | 576 | <varlistentry id="javac">
|
---|
[2c25a56] | 577 | <term><command>javac</command></term>
|
---|
| 578 | <listitem>
|
---|
| 579 | <para>reads class and interface definitions, written in the
|
---|
| 580 | Java programming language, and compiles them into bytecode
|
---|
| 581 | class files.</para>
|
---|
[49b50d4] | 582 | <indexterm zone="openjdk javac">
|
---|
[2c25a56] | 583 | <primary sortas="b-javac">javac</primary>
|
---|
| 584 | </indexterm>
|
---|
| 585 | </listitem>
|
---|
| 586 | </varlistentry>
|
---|
| 587 |
|
---|
[49b50d4] | 588 | <varlistentry id="javadoc">
|
---|
[2c25a56] | 589 | <term><command>javadoc</command></term>
|
---|
| 590 | <listitem>
|
---|
| 591 | <para>parses the declarations and documentation comments in a
|
---|
| 592 | set of Java source files and produces a corresponding set of
|
---|
[042f456] | 593 | HTML pages describing the classes, interfaces, constructors,
|
---|
[2c25a56] | 594 | methods, and fields.</para>
|
---|
[49b50d4] | 595 | <indexterm zone="openjdk javadoc">
|
---|
[2c25a56] | 596 | <primary sortas="b-javadoc">javadoc</primary>
|
---|
| 597 | </indexterm>
|
---|
| 598 | </listitem>
|
---|
| 599 | </varlistentry>
|
---|
| 600 |
|
---|
[49b50d4] | 601 | <varlistentry id="javap">
|
---|
[2c25a56] | 602 | <term><command>javap</command></term>
|
---|
| 603 | <listitem>
|
---|
| 604 | <para>disassembles a Java class file.</para>
|
---|
[49b50d4] | 605 | <indexterm zone="openjdk javap">
|
---|
[2c25a56] | 606 | <primary sortas="b-javap">javap</primary>
|
---|
| 607 | </indexterm>
|
---|
| 608 | </listitem>
|
---|
| 609 | </varlistentry>
|
---|
[fedac85] | 610 |
|
---|
[49b50d4] | 611 | <varlistentry id="jcmd">
|
---|
| 612 | <term><command>jcmd</command></term>
|
---|
| 613 | <listitem>
|
---|
| 614 | <para>is a utility to send diagnostic command requests to a running
|
---|
| 615 | Java Virtual Machine.</para>
|
---|
| 616 | <indexterm zone="openjdk jcmd">
|
---|
| 617 | <primary sortas="b-jcmd">jcmd</primary>
|
---|
| 618 | </indexterm>
|
---|
| 619 | </listitem>
|
---|
| 620 | </varlistentry>
|
---|
| 621 |
|
---|
| 622 | <varlistentry id="jconsole">
|
---|
[2c25a56] | 623 | <term><command>jconsole</command></term>
|
---|
| 624 | <listitem>
|
---|
| 625 | <para>is a graphical console tool to monitor and manage both
|
---|
| 626 | local and remote Java applications and virtual machines.</para>
|
---|
[49b50d4] | 627 | <indexterm zone="openjdk jconsole">
|
---|
[2c25a56] | 628 | <primary sortas="b-jconsole">jconsole</primary>
|
---|
| 629 | </indexterm>
|
---|
| 630 | </listitem>
|
---|
| 631 | </varlistentry>
|
---|
| 632 |
|
---|
[49b50d4] | 633 | <varlistentry id="jdb">
|
---|
[2c25a56] | 634 | <term><command>jdb</command></term>
|
---|
| 635 | <listitem>
|
---|
| 636 | <para>is a simple command-line debugger for Java classes.</para>
|
---|
[49b50d4] | 637 | <indexterm zone="openjdk jdb">
|
---|
[2c25a56] | 638 | <primary sortas="b-jdb">jdb</primary>
|
---|
| 639 | </indexterm>
|
---|
| 640 | </listitem>
|
---|
| 641 | </varlistentry>
|
---|
| 642 |
|
---|
[91a82cb] | 643 | <varlistentry id="jdeprscan">
|
---|
| 644 | <term><command>jdeprscan</command></term>
|
---|
| 645 | <listitem>
|
---|
| 646 | <para>scans class or jar files for uses of deprecated API
|
---|
| 647 | elements.</para>
|
---|
| 648 | <indexterm zone="openjdk jdeprscan">
|
---|
| 649 | <primary sortas="b-jdeprscan">jdeprscan</primary>
|
---|
| 650 | </indexterm>
|
---|
| 651 | </listitem>
|
---|
| 652 | </varlistentry>
|
---|
| 653 |
|
---|
[042f456] | 654 | <varlistentry id="jdeps">
|
---|
| 655 | <term><command>jdeps</command></term>
|
---|
| 656 | <listitem>
|
---|
| 657 | <para>shows the package-level or class-level dependencies of
|
---|
| 658 | Java class files.</para>
|
---|
| 659 | <indexterm zone="openjdk jdeps">
|
---|
| 660 | <primary sortas="b-jdeps">jdeps</primary>
|
---|
| 661 | </indexterm>
|
---|
| 662 | </listitem>
|
---|
| 663 | </varlistentry>
|
---|
| 664 |
|
---|
[91a82cb] | 665 | <varlistentry id="jhsdb">
|
---|
| 666 | <term><command>jhsdb</command></term>
|
---|
| 667 | <listitem>
|
---|
| 668 | <para>is a tool to analyze the content of a core dump from a
|
---|
| 669 | crashed Java Virtual Machine (JVM).</para>
|
---|
| 670 | <indexterm zone="openjdk jhsdb">
|
---|
| 671 | <primary sortas="b-jhsdb">jhsdb</primary>
|
---|
| 672 | </indexterm>
|
---|
| 673 | </listitem>
|
---|
| 674 | </varlistentry>
|
---|
[fedac85] | 675 |
|
---|
[91a82cb] | 676 | <varlistentry id="jimage">
|
---|
| 677 | <term><command>jimage</command></term>
|
---|
| 678 | <listitem>
|
---|
| 679 | <para>is used to list, extract, verify, or get information about
|
---|
| 680 | modules in <emphasis>jimage</emphasis> format.</para>
|
---|
| 681 | <indexterm zone="openjdk jimage">
|
---|
| 682 | <primary sortas="b-jimage">jimage</primary>
|
---|
| 683 | </indexterm>
|
---|
| 684 | </listitem>
|
---|
| 685 | </varlistentry>
|
---|
[2c25a56] | 686 |
|
---|
[49b50d4] | 687 | <varlistentry id="jinfo">
|
---|
[2c25a56] | 688 | <term><command>jinfo</command></term>
|
---|
| 689 | <listitem>
|
---|
| 690 | <para>prints Java configuration information for a given Java
|
---|
| 691 | process, core file, or a remote debug server.</para>
|
---|
[49b50d4] | 692 | <indexterm zone="openjdk jinfo">
|
---|
[2c25a56] | 693 | <primary sortas="b-jinfo">jinfo</primary>
|
---|
| 694 | </indexterm>
|
---|
[042f456] | 695 | </listitem>
|
---|
| 696 | </varlistentry>
|
---|
| 697 |
|
---|
| 698 | <varlistentry id="jjs">
|
---|
| 699 | <term><command>jjs</command></term>
|
---|
| 700 | <listitem>
|
---|
| 701 | <para>is a command-line tool used to invoke the Nashorn engine. It
|
---|
| 702 | can be used to interpret one or several script files, or to run
|
---|
| 703 | an interactive shell.</para>
|
---|
| 704 | <indexterm zone="openjdk jjs">
|
---|
| 705 | <primary sortas="b-jjs">jjs</primary>
|
---|
| 706 | </indexterm>
|
---|
[2c25a56] | 707 | </listitem>
|
---|
| 708 | </varlistentry>
|
---|
| 709 |
|
---|
[91a82cb] | 710 | <varlistentry id="jlink">
|
---|
| 711 | <term><command>jlink</command></term>
|
---|
| 712 | <listitem>
|
---|
| 713 | <para>is used to assemble and optimize a set of modules and their
|
---|
| 714 | dependencies into a custom runtime image.</para>
|
---|
| 715 | <indexterm zone="openjdk jlink">
|
---|
| 716 | <primary sortas="b-jlink">jlink</primary>
|
---|
| 717 | </indexterm>
|
---|
| 718 | </listitem>
|
---|
| 719 | </varlistentry>
|
---|
| 720 |
|
---|
[49b50d4] | 721 | <varlistentry id="jmap">
|
---|
[2c25a56] | 722 | <term><command>jmap</command></term>
|
---|
| 723 | <listitem>
|
---|
| 724 | <para>prints shared object memory maps or heap memory details
|
---|
| 725 | of a given process, core file, or a remote debug server.</para>
|
---|
[49b50d4] | 726 | <indexterm zone="openjdk jmap">
|
---|
[2c25a56] | 727 | <primary sortas="b-jmap">jmap</primary>
|
---|
| 728 | </indexterm>
|
---|
| 729 | </listitem>
|
---|
| 730 | </varlistentry>
|
---|
| 731 |
|
---|
[91a82cb] | 732 | <varlistentry id="jmod">
|
---|
| 733 | <term><command>jmod</command></term>
|
---|
| 734 | <listitem>
|
---|
| 735 | <para>creates JMOD files and lists the content of existing JMOD
|
---|
| 736 | files.</para>
|
---|
| 737 | <indexterm zone="openjdk jmod">
|
---|
| 738 | <primary sortas="b-jmod">jmod</primary>
|
---|
| 739 | </indexterm>
|
---|
| 740 | </listitem>
|
---|
| 741 | </varlistentry>
|
---|
| 742 |
|
---|
[49b50d4] | 743 | <varlistentry id="jps">
|
---|
[2c25a56] | 744 | <term><command>jps</command></term>
|
---|
| 745 | <listitem>
|
---|
| 746 | <para>lists the instrumented JVMs on the target system.</para>
|
---|
[49b50d4] | 747 | <indexterm zone="openjdk jps">
|
---|
[2c25a56] | 748 | <primary sortas="b-jps">jps</primary>
|
---|
| 749 | </indexterm>
|
---|
| 750 | </listitem>
|
---|
| 751 | </varlistentry>
|
---|
| 752 |
|
---|
[49b50d4] | 753 | <varlistentry id="jrunscript">
|
---|
[2c25a56] | 754 | <term><command>jrunscript</command></term>
|
---|
| 755 | <listitem>
|
---|
| 756 | <para>is a command line script shell.</para>
|
---|
[49b50d4] | 757 | <indexterm zone="openjdk jrunscript">
|
---|
[2c25a56] | 758 | <primary sortas="b-jrunscript">jrunscript</primary>
|
---|
| 759 | </indexterm>
|
---|
| 760 | </listitem>
|
---|
| 761 | </varlistentry>
|
---|
| 762 |
|
---|
[91a82cb] | 763 | <varlistentry id="jshell">
|
---|
| 764 | <term><command>jshell</command></term>
|
---|
| 765 | <listitem>
|
---|
| 766 | <para>is an interactive tool for learning the Java programming
|
---|
| 767 | language and prototyping Java code.</para>
|
---|
| 768 | <indexterm zone="openjdk jshell">
|
---|
| 769 | <primary sortas="b-jshell">jshell</primary>
|
---|
| 770 | </indexterm>
|
---|
| 771 | </listitem>
|
---|
| 772 | </varlistentry>
|
---|
[fedac85] | 773 |
|
---|
[49b50d4] | 774 | <varlistentry id="jstack">
|
---|
[2c25a56] | 775 | <term><command>jstack</command></term>
|
---|
| 776 | <listitem>
|
---|
| 777 | <para>prints Java stack traces of Java threads for a given
|
---|
| 778 | Java process, core file, or a remote debug server.</para>
|
---|
[49b50d4] | 779 | <indexterm zone="openjdk jstack">
|
---|
[2c25a56] | 780 | <primary sortas="b-jstack">jstack</primary>
|
---|
| 781 | </indexterm>
|
---|
| 782 | </listitem>
|
---|
| 783 | </varlistentry>
|
---|
| 784 |
|
---|
[49b50d4] | 785 | <varlistentry id="jstat">
|
---|
[2c25a56] | 786 | <term><command>jstat</command></term>
|
---|
| 787 | <listitem>
|
---|
| 788 | <para>displays performance statistics for an instrumented JVM.</para>
|
---|
[49b50d4] | 789 | <indexterm zone="openjdk jstat">
|
---|
[2c25a56] | 790 | <primary sortas="b-jstat">jstat</primary>
|
---|
| 791 | </indexterm>
|
---|
| 792 | </listitem>
|
---|
| 793 | </varlistentry>
|
---|
| 794 |
|
---|
[49b50d4] | 795 | <varlistentry id="jstatd">
|
---|
[2c25a56] | 796 | <term><command>jstatd</command></term>
|
---|
| 797 | <listitem>
|
---|
| 798 | <para>is an RMI server application that monitors for the creation
|
---|
| 799 | and termination of instrumented JVMs.</para>
|
---|
[49b50d4] | 800 | <indexterm zone="openjdk jstatd">
|
---|
[2c25a56] | 801 | <primary sortas="b-jstatd">jstatd</primary>
|
---|
| 802 | </indexterm>
|
---|
| 803 | </listitem>
|
---|
| 804 | </varlistentry>
|
---|
| 805 |
|
---|
[49b50d4] | 806 | <varlistentry id="keytool">
|
---|
[2c25a56] | 807 | <term><command>keytool</command></term>
|
---|
| 808 | <listitem>
|
---|
| 809 | <para>is a key and certificate management utility.</para>
|
---|
[49b50d4] | 810 | <indexterm zone="openjdk keytool">
|
---|
[2c25a56] | 811 | <primary sortas="b-keytool">keytool</primary>
|
---|
| 812 | </indexterm>
|
---|
| 813 | </listitem>
|
---|
| 814 | </varlistentry>
|
---|
[91a82cb] | 815 | <!--
|
---|
[49b50d4] | 816 | <varlistentry id="orbd">
|
---|
[2c25a56] | 817 | <term><command>orbd</command></term>
|
---|
| 818 | <listitem>
|
---|
| 819 | <para>is used to enable clients to transparently locate and invoke
|
---|
| 820 | persistent objects on servers in the CORBA environment.</para>
|
---|
[49b50d4] | 821 | <indexterm zone="openjdk orbd">
|
---|
[2c25a56] | 822 | <primary sortas="b-orbd">orbd</primary>
|
---|
| 823 | </indexterm>
|
---|
| 824 | </listitem>
|
---|
| 825 | </varlistentry>
|
---|
[fedac85] | 826 | -->
|
---|
[49b50d4] | 827 | <varlistentry id="pack200">
|
---|
[2c25a56] | 828 | <term><command>pack200</command></term>
|
---|
| 829 | <listitem>
|
---|
| 830 | <para>is a Java application that transforms a jar file into a
|
---|
| 831 | compressed pack200 file using the Java gzip compressor.</para>
|
---|
[49b50d4] | 832 | <indexterm zone="openjdk pack200">
|
---|
[2c25a56] | 833 | <primary sortas="b-pack200">pack200</primary>
|
---|
| 834 | </indexterm>
|
---|
| 835 | </listitem>
|
---|
| 836 | </varlistentry>
|
---|
[fedac85] | 837 |
|
---|
[49b50d4] | 838 | <varlistentry id="rmic">
|
---|
[2c25a56] | 839 | <term><command>rmic</command></term>
|
---|
| 840 | <listitem>
|
---|
| 841 | <para>generates stub and skeleton class files for remote objects
|
---|
| 842 | from the names of compiled Java classes that contain remote
|
---|
| 843 | object implementations.</para>
|
---|
[49b50d4] | 844 | <indexterm zone="openjdk rmic">
|
---|
[2c25a56] | 845 | <primary sortas="b-rmic">rmic</primary>
|
---|
| 846 | </indexterm>
|
---|
| 847 | </listitem>
|
---|
| 848 | </varlistentry>
|
---|
| 849 |
|
---|
[49b50d4] | 850 | <varlistentry id="rmid">
|
---|
[2c25a56] | 851 | <term><command>rmid</command></term>
|
---|
| 852 | <listitem>
|
---|
| 853 | <para>starts the activation system daemon.</para>
|
---|
[49b50d4] | 854 | <indexterm zone="openjdk rmid">
|
---|
[2c25a56] | 855 | <primary sortas="b-rmid">rmid</primary>
|
---|
| 856 | </indexterm>
|
---|
| 857 | </listitem>
|
---|
| 858 | </varlistentry>
|
---|
| 859 |
|
---|
[49b50d4] | 860 | <varlistentry id="rmiregistry">
|
---|
[2c25a56] | 861 | <term><command>rmiregistry</command></term>
|
---|
| 862 | <listitem>
|
---|
| 863 | <para>creates and starts a remote object registry on the specified
|
---|
| 864 | port on the current host.</para>
|
---|
[49b50d4] | 865 | <indexterm zone="openjdk rmiregistry">
|
---|
[2c25a56] | 866 | <primary sortas="b-rmiregistry">rmiregistry</primary>
|
---|
| 867 | </indexterm>
|
---|
| 868 | </listitem>
|
---|
| 869 | </varlistentry>
|
---|
[fedac85] | 870 | <!--
|
---|
[49b50d4] | 871 | <varlistentry id="schemagen">
|
---|
[2c25a56] | 872 | <term><command>schemagen</command></term>
|
---|
| 873 | <listitem>
|
---|
| 874 | <para>is a Java XML binding schema generator.</para>
|
---|
[49b50d4] | 875 | <indexterm zone="openjdk schemagen">
|
---|
[2c25a56] | 876 | <primary sortas="b-schemagen">schemagen</primary>
|
---|
| 877 | </indexterm>
|
---|
| 878 | </listitem>
|
---|
| 879 | </varlistentry>
|
---|
[fedac85] | 880 | -->
|
---|
[49b50d4] | 881 | <varlistentry id="serialver">
|
---|
[2c25a56] | 882 | <term><command>serialver</command></term>
|
---|
| 883 | <listitem>
|
---|
| 884 | <para>returns the serialVersionUID for one or more classes in a
|
---|
| 885 | form suitable for copying into an evolving class.</para>
|
---|
[49b50d4] | 886 | <indexterm zone="openjdk serialver">
|
---|
[2c25a56] | 887 | <primary sortas="b-serialver">serialver</primary>
|
---|
| 888 | </indexterm>
|
---|
| 889 | </listitem>
|
---|
| 890 | </varlistentry>
|
---|
[fedac85] | 891 | <!--
|
---|
[49b50d4] | 892 | <varlistentry id="servertool">
|
---|
[2c25a56] | 893 | <term><command>servertool</command></term>
|
---|
| 894 | <listitem>
|
---|
| 895 | <para>provides an ease-of-use interface for application programmers
|
---|
| 896 | to register, unregister, startup and shutdown a server.</para>
|
---|
[49b50d4] | 897 | <indexterm zone="openjdk servertool">
|
---|
[2c25a56] | 898 | <primary sortas="b-servertool">servertool</primary>
|
---|
| 899 | </indexterm>
|
---|
| 900 | </listitem>
|
---|
| 901 | </varlistentry>
|
---|
| 902 |
|
---|
[49b50d4] | 903 | <varlistentry id="tnameserv">
|
---|
[2c25a56] | 904 | <term><command>tnameserv</command></term>
|
---|
| 905 | <listitem>
|
---|
| 906 | <para>starts the Java IDL name server.</para>
|
---|
[49b50d4] | 907 | <indexterm zone="openjdk tnameserv">
|
---|
[2c25a56] | 908 | <primary sortas="b-tnameserv">tnameserv</primary>
|
---|
| 909 | </indexterm>
|
---|
| 910 | </listitem>
|
---|
| 911 | </varlistentry>
|
---|
[fedac85] | 912 | -->
|
---|
[49b50d4] | 913 | <varlistentry id="unpack200">
|
---|
[2c25a56] | 914 | <term><command>unpack200</command></term>
|
---|
| 915 | <listitem>
|
---|
| 916 | <para>is a native implementation that transforms a packed file
|
---|
| 917 | produced by <application>pack200</application> into a jar
|
---|
| 918 | file.</para>
|
---|
[49b50d4] | 919 | <indexterm zone="openjdk unpack200">
|
---|
[2c25a56] | 920 | <primary sortas="b-unpack200">unpack200</primary>
|
---|
| 921 | </indexterm>
|
---|
| 922 | </listitem>
|
---|
| 923 | </varlistentry>
|
---|
[fedac85] | 924 | <!--
|
---|
[49b50d4] | 925 | <varlistentry id="wsgen">
|
---|
[2c25a56] | 926 | <term><command>wsgen</command></term>
|
---|
| 927 | <listitem>
|
---|
| 928 | <para>generates JAX-WS portable artifacts used in JAX-WS
|
---|
| 929 | web services.</para>
|
---|
[49b50d4] | 930 | <indexterm zone="openjdk wsgen">
|
---|
[2c25a56] | 931 | <primary sortas="b-wsgen">wsgen</primary>
|
---|
| 932 | </indexterm>
|
---|
| 933 | </listitem>
|
---|
| 934 | </varlistentry>
|
---|
| 935 |
|
---|
[49b50d4] | 936 | <varlistentry id="wsimport">
|
---|
[2c25a56] | 937 | <term><command>wsimport</command></term>
|
---|
| 938 | <listitem>
|
---|
| 939 | <para>generates JAX-WS portable artifacts.</para>
|
---|
[49b50d4] | 940 | <indexterm zone="openjdk wsimport">
|
---|
[2c25a56] | 941 | <primary sortas="b-wsimport">wsimport</primary>
|
---|
| 942 | </indexterm>
|
---|
| 943 | </listitem>
|
---|
| 944 | </varlistentry>
|
---|
| 945 |
|
---|
[49b50d4] | 946 | <varlistentry id="xjc">
|
---|
[2c25a56] | 947 | <term><command>xjc</command></term>
|
---|
| 948 | <listitem>
|
---|
| 949 | <para>is a Java XML binding compiler.</para>
|
---|
[49b50d4] | 950 | <indexterm zone="openjdk xjc">
|
---|
[2c25a56] | 951 | <primary sortas="b-xjc">xjc</primary>
|
---|
| 952 | </indexterm>
|
---|
| 953 | </listitem>
|
---|
| 954 | </varlistentry>
|
---|
[fedac85] | 955 | -->
|
---|
[2c25a56] | 956 | </variablelist>
|
---|
| 957 |
|
---|
| 958 | </sect2>
|
---|
| 959 |
|
---|
| 960 | </sect1>
|
---|