source: general/prog/openjdk.xml@ 1b35ce63

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1b35ce63 was b4289bcc, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Typo

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

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