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