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