source: general/prog/openjdk.xml@ 44a9ec5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 44a9ec5 was 44a9ec5, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Revert OpenJDK-1.7.0.45/IcedTea-2.4.3: Fix to build with Xorg not installed at /usr.

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

  • Property mode set to 100644
File size: 43.6 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;">
[c936adc6]8 <!ENTITY icedtea-download "http://icedtea.classpath.org/download/source/icedtea-&icedtea-version;.tar.xz">
[49b50d4]9
[c936adc6]10 <!ENTITY icedtea-md5sum "726271b41a90c00db3db93742d049b2b">
11 <!ENTITY icedtea-size "3,3 MB">
[49b50d4]12
13 <!ENTITY corba-download "&anduin-download;/corba.tar.gz">
[c936adc6]14 <!ENTITY corba-md5sum "90bc51f1137982901325ec040fdcd9db">
[49b50d4]15 <!ENTITY corba-size "1.4 MB">
16
17 <!ENTITY hotspot-download "&anduin-download;/hotspot.tar.gz">
[c936adc6]18 <!ENTITY hotspot-md5sum "de6548eb6664d3bb4d1b64a93fd258e0">
[5292423]19 <!ENTITY hotspot-size "9.2 MB">
[49b50d4]20
21 <!ENTITY jaxp-download "&anduin-download;/jaxp.tar.gz">
[c936adc6]22 <!ENTITY jaxp-md5sum "b43c0efffbcfccc348f4ee781f23ebcf">
23 <!ENTITY jaxp-size "3.8 MB">
[49b50d4]24
25 <!ENTITY jaxws-download "&anduin-download;/jaxws.tar.gz">
[c936adc6]26 <!ENTITY jaxws-md5sum "f70b570a0cb47052339139ba6e4e463e">
[49b50d4]27 <!ENTITY jaxws-size "2.7 MB">
28
29 <!ENTITY jdk-download "&anduin-download;/jdk.tar.gz">
[c936adc6]30 <!ENTITY jdk-md5sum "991c3f6c24478c6c4f83a53fe6407f7f">
[5292423]31 <!ENTITY jdk-size "44 MB">
[49b50d4]32
33 <!ENTITY langtools-download "&anduin-download;/langtools.tar.gz">
[c936adc6]34 <!ENTITY langtools-md5sum "ba3a2ab192c22e55184a63fb499d00f8">
[49b50d4]35 <!ENTITY langtools-size "2.3 MB">
36
37 <!ENTITY openjdk-download "&anduin-download;/openjdk.tar.gz">
[c936adc6]38 <!ENTITY openjdk-md5sum "8235706f907e9da528921af946d73c57">
[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
[7b8992b]45 <!ENTITY openjdk-buildsize "8.1-11 GB">
[c936adc6]46 <!ENTITY openjdk-time "36 SBU (an additional 96 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
[e1e9a2a]77 &lfs74_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
[dfff8213]135 part of the <command>make</command> process. For convenience
[92b1341]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
[e01f402]218 url="&patch-root;/icedtea-&icedtea-version;-add_cacerts-1.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
[e01f402]263 <bridgehead renderas="sect4">Optional</bridgehead>
264 <para role="optional">
265 <xref linkend="mitkrb"/>
266 </para>
267
[2c25a56]268 <para condition="html" role="usernotes">User Notes:
[49b50d4]269 <ulink url="&blfs-wiki;/openjdk"/></para>
[2c25a56]270
271 </sect2>
272
273 <sect2 role="installation">
[49b50d4]274 <title>Installation of OpenJDK</title>
[2c25a56]275
[92b1341]276 <note><para>The source build of OpenJDK requires <xref
277 linkend="apache-ant"/>. You'll need to build that first to satisfy the
278 circular dependency, and return to this section to continue building
[49b50d4]279 OpenJDK.</para></note>
[2c25a56]280
[49b50d4]281 <para>Unlike other packages in BLFS, the <application>OpenJDK</application>
282 source packages are distributed in multiple downloads. Since the IcedTea
[4d180035]283 build harness will be used to build <application>OpenJDK</application>,
[49b50d4]284 begin by extracting the IcedTea package and changing into the
[4d180035]285 extracted directory.</para>
[bc00982]286
[4d180035]287 <para>The IcedTea <application>OpenJDK</application> distribution requires
[49b50d4]288 that <filename>js.jar</filename> (from the Rhino package) be in place in
289 order to provide a java-script implementation for the free JDK. If you have
290 not installed the js.jar file in another way, do so with the following
291 commands as the <systemitem class="username">root</systemitem> user:</para>
[2c25a56]292
[23f4a9a]293<screen role="root"><userinput>unzip ../rhino1_7R3.zip &amp;&amp;
[2c25a56]294install -v -d -m755 /usr/share/java &amp;&amp;
[49b50d4]295install -v -m755 rhino1_7R3/*.jar /usr/share/java</userinput></screen>
296
297 <para>As mentioned previously, <application>OpenJDK</application> is
298 composed of several individual projects of the proprietary
299 <application>JDK</application> that have been relicensed under an open
[0d7900a]300 source license. If you have already downoaded all of the individual
[f533b0d]301 components, place them into the source tree with the following commands:</para>
[49b50d4]302
[efd03f7]303<screen><userinput>cp -v ../corba.tar.gz . &amp;&amp;
304cp -v ../hotspot.tar.gz . &amp;&amp;
305cp -v ../jaxp.tar.gz . &amp;&amp;
306cp -v ../jaxws.tar.gz . &amp;&amp;
307cp -v ../jdk.tar.gz . &amp;&amp;
[49b50d4]308cp -v ../langtools.tar.gz . &amp;&amp;
[efd03f7]309cp -v ../openjdk.tar.gz .</userinput></screen>
[2c25a56]310
311 <para>Apply a patch to generate a valid cacerts file using the system CA
312 certificates:</para>
313
[e01f402]314<screen><userinput>patch -Np1 -i ../icedtea-&icedtea-version;-add_cacerts-1.patch</userinput></screen>
[bc00982]315
316 <para>Apply a patch to replace fixed paths with ones appropriate for
317 BLFS:</para>
318
[49b50d4]319<screen><userinput>patch -Np1 -i ../icedtea-&icedtea-version;-fixed_paths-1.patch</userinput></screen>
320
321 <para>Apply a patch to exclude known broken tests from the test suite:</para>
322
323<screen><userinput>patch -Np1 -i ../icedtea-&icedtea-version;-fix_tests-1.patch</userinput></screen>
324
[5292423]325 <para>Configure and build the package with the following commands
[dc035e7]326 (--with-pkgversion and --with-version-suffix values can be modified to fit
327 user preferences):</para>
[2c25a56]328
[c770e18]329<screen><userinput>unset JAVA_HOME &amp;&amp;
330./autogen.sh &amp;&amp;
331./configure --with-jdk-home=/opt/OpenJDK-&openjdk-version;-bin \
332 --with-version-suffix=blfs \
333 --enable-nss \
334 --enable-pulse-java \
335 --disable-system-kerberos \
336 --with-parallel-jobs=$(getconf _NPROCESSORS_ONLN) &amp;&amp;
[2c25a56]337make</userinput></screen>
338
[0d7900a]339 <note><para>If you have not installed the tarballs specified above,
[f533b0d]340 they will be automatically downloaded here.</para></note>
341
[49b50d4]342 <para>To test the results, issue: <command>make jtregcheck</command>. The
[bc00982]343 included version of <application>jtreg</application> is old, and the test
[49b50d4]344 suite is also very dependent on the host system and the environment that it
[f533b0d]345 is run in. You should expect to see anywhere between 40 and 100 failures in
346 jdk with up to 10 errors in the tests themselves. The majority of the
347 6000+ tests should pass. The reason for the greatly varying results is due
348 to how stringent the testing environment must be. Varying architectures,
349 different versions of dependent libraries, unexpected X Window environment
350 and window managers, the CA certificates used to generate the
351 <filename>cacerts</filename> file, and even any user input or power
352 management or screen saver interruptions during the testing can lead to
353 various failures. While the known broken tests have been removed, with the
354 fix_tests patch above, the graphics tests failures cannot be pre-determined
355 (short of removing them all). The best bet for the minimal number of
356 failures is to run the test suite in a framebuffer on a different screen
[e6a3602]357 (Xvfb). Even still, disk I/O can cause failures.</para>
[2c25a56]358
[92b1341]359<screen><userinput>export DISPLAY=:20 &amp;&amp;
360Xvfb :20 -screen 0 1x1x24 -ac&amp;
361echo $!> Xvfb.pid &amp;&amp;
362make -k jtregcheck &amp;&amp;
363kill -9 `cat Xvfb.pid` &amp;&amp;
364unset DISPLAY &amp;&amp;
365rm -f Xvfb.pid</userinput></screen>
366
[2c25a56]367 <para>Install the package with the following commands as the
368 <systemitem class="username">root</systemitem> user:</para>
369
[c770e18]370<screen role="root"><userinput>chmod 0644 openjdk.build/j2sdk-image/lib/sa-jdi.jar &amp;&amp;
[f533b0d]371cp -R openjdk.build/j2sdk-image /opt/OpenJDK-&openjdk-version; &amp;&amp;
[49b50d4]372chown -R root:root /opt/OpenJDK-&openjdk-version;</userinput></screen>
[2c25a56]373
374 </sect2>
375
376 <sect2 role="commands">
377 <title>Command Explanations</title>
378
379 <para><command>./autogen.sh</command>: This command forces rebuilding of
380 auto-generated files to account for new options added to
381 <filename>configure</filename>.</para>
382
383 <para><parameter>--with-jdk-home</parameter>: This switch provides the
[d3d92c8]384 location of the temporary <application>JDK</application>.</para>
[2c25a56]385
[5292423]386 <para><parameter>--with-pkgversion</parameter>: This switch can be used
387 to modify the version string in addition to "IcedTea".</para>
388
389 <para><parameter>--with-version-suffix</parameter>: This switch appends
390 the given text to the JDK version string.</para>
391
[23f4a9a]392 <para><parameter>--enable-pulse-java</parameter>: This switch enables
[49b50d4]393 building of the pulseaudio libraries (needed to provide a complete
394 implementation that is reasonably compatible with the proprietary
395 JDK).</para>
[d3d92c8]396
[c770e18]397 <para><parameter>--disable-system-kerberos</parameter>: Remove this switch,
[e01f402]398 if <xref linkend="mitkrb"/> is installed.</para>
399
[c770e18]400 <para><parameter>--with-parallel-jobs=$(getconf _NPROCESSORS_ONLN)</parameter>:
401 This switch sets the compiler to use all your CPUs in parallel and speed
402 up the build.</para>
403
[f533b0d]404 <para><command>chmod -v 0644 ...sa-jdi.jar</command>: Fix permissions
405 in a generated file so all users can access it.</para>
406
[2c25a56]407 </sect2>
408
[784a1a7f]409 <sect2 role="configuration" id="openjdk-config" xreflabel="Configuring OpenJDK" >
[49b50d4]410 <title>Configuring OpenJDK</title>
[2c25a56]411
412 <sect3>
413 <title>Configuration Information</title>
414
[49b50d4]415 <para>There are now two <application>OpenJDK</application> SDKs
[2c25a56]416 installed in <filename>/opt</filename>. You should decide on which one
417 you would like to use as the default. For example if you decide to use
[49b50d4]418 the precompiled <application>OpenJDK</application>, do the following as
[2c25a56]419 the <systemitem class="username">root</systemitem> user:</para>
420
[f533b0d]421<screen role="root"><userinput>ln -v -nsf OpenJDK-&openjdk-version;-bin /opt/jdk</userinput></screen>
[2c25a56]422
[f533b0d]423 <para>The information below assumes your system is set up using the
424 instructions found in <quote><xref
425 linkend="postlfs-config-profile"/></quote>. You may need to extract the
426 relevant information below and incorporate it into your system's startup
427 files if your system is set up differently.</para>
[2c25a56]428
[f533b0d]429 <para>Add the following <filename>openjdk.sh</filename> shell startup
430 file to the <filename>/etc/profile.d</filename> directory with the
431 following commands as the <systemitem class="username">root</systemitem>
432 user:</para>
[2c25a56]433
[49b50d4]434<screen role="root"><userinput>cat &gt; /etc/profile.d/openjdk.sh &lt;&lt; "EOF"
435<literal># Begin /etc/profile.d/openjdk.sh
[2c25a56]436
437# Set JAVA_HOME directory
[f533b0d]438JAVA_HOME=/opt/jdk
[2c25a56]439
440# Adjust PATH
[f533b0d]441pathappend $JAVA_HOME/bin PATH
[2c25a56]442
443# Auto Java CLASSPATH
444# Copy jar files to, or create symlinks in this directory
[f533b0d]445
[2c25a56]446AUTO_CLASSPATH_DIR=/usr/share/java
[f533b0d]447
[2c25a56]448pathprepend . CLASSPATH
[f533b0d]449
[2c25a56]450for dir in `find ${AUTO_CLASSPATH_DIR} -type d 2>/dev/null`; do
451 pathappend $dir CLASSPATH
452done
[f533b0d]453
[49b50d4]454for jar in `find ${AUTO_CLASSPATH_DIR} -name "*.jar" 2>/dev/null`; do
455 pathappend $jar CLASSPATH
456done
[2c25a56]457
458export JAVA_HOME CLASSPATH
[f533b0d]459unset AUTO_CLASSPATH_DIR dir jar
[2c25a56]460
[49b50d4]461# End /etc/profile.d/openjdk.sh</literal>
[2c25a56]462EOF</userinput></screen>
463
[49b50d4]464 <para>Finally, add the man pages to <application>man_db</application>'s
465 configuration. As the <systemitem class="username">root</systemitem>
466 user:</para>
[2c25a56]467
[49b50d4]468<screen><userinput>cat &gt;&gt; /etc/man_db.conf &lt;&lt; "EOF" &amp;&amp;
[f533b0d]469<literal>MANDATORY_MANPATH /opt/jdk/man
470MANPATH_MAP /opt/jdk/bin /opt/jdk/man
471MANDB_MAP /opt/jdk/man /var/cache/man/jdk</literal>
[49b50d4]472EOF
[b4289bcc]473
474mandb -c /opt/jdk/man</userinput></screen>
[2c25a56]475
476 </sect3>
477
[8b9034a]478 <sect3 id='ojdk-certs'>
479 <title>Install or update the JRE Certificate Authority Certificates (cacerts) file</title>
480
[930d280b]481 <para>Use the following procedure to check if the
482 <filename>cacerts</filename> file was successfully installed during the
483 OpenJDK build. Also, if the <xref linkend="cacerts"/> have been updated,
484 the following instructions will generate a new JRE
485 <filename>cacerts</filename> file. First, check if the
[8b9034a]486 <filename>cacerts</filename> have been successfully installed: </para>
487
488<screen role="root"><userinput>cd /opt/jdk
489bin/keytool -list -keystore jre/lib/security/cacerts</userinput></screen>
490
491 <para>At the prompt "Enter keystore password:", press the "Enter" key if
492 there is no keystore password defined. If the
[930d280b]493 <filename>cacerts</filename> were installed correctly, you will see a
[8b9034a]494 list of the certificates with related information for each one. If not,
495 you need to manually install them. First, generate the
496 <command>mkcacerts</command> script as the
497 <systemitem class="username">root</systemitem> user:</para>
498
499<screen role="root"><userinput>cat &gt; /opt/jdk/bin/mkcacerts &lt;&lt; "EOF"
500<literal>#!/bin/sh
501# Simple script to extract x509 certificates and create a JRE cacerts file.
502
503function get_args()
504 {
505 if test -z "${1}" ; then
506 showhelp
507 exit 1
508 fi
509
510 while test -n "${1}" ; do
511 case "${1}" in
512 -f | --cafile)
513 check_arg $1 $2
514 CAFILE="${2}"
515 shift 2
516 ;;
517 -d | --cadir)
518 check_arg $1 $2
519 CADIR="${2}"
520 shift 2
521 ;;
522 -o | --outfile)
523 check_arg $1 $2
524 OUTFILE="${2}"
525 shift 2
526 ;;
527 -k | --keytool)
528 check_arg $1 $2
529 KEYTOOL="${2}"
530 shift 2
531 ;;
532 -s | --openssl)
533 check_arg $1 $2
534 OPENSSL="${2}"
535 shift 2
536 ;;
537 -h | --help)
538 showhelp
539 exit 0
540 ;;
541 *)
542 showhelp
543 exit 1
544 ;;
545 esac
546 done
547 }
548
549function check_arg()
550 {
551 echo "${2}" | grep -v "^-" > /dev/null
552 if [ -z "$?" -o ! -n "$2" ]; then
553 echo "Error: $1 requires a valid argument."
554 exit 1
555 fi
556 }
557
558# The date binary is not reliable on 32bit systems for dates after 2038
559function mydate()
560 {
561 local y=$( echo $1 | cut -d" " -f4 )
562 local M=$( echo $1 | cut -d" " -f1 )
563 local d=$( echo $1 | cut -d" " -f2 )
564 local m
565
566 if [ ${d} -lt 10 ]; then d="0${d}"; fi
567
568 case $M in
569 Jan) m="01";;
570 Feb) m="02";;
571 Mar) m="03";;
572 Apr) m="04";;
573 May) m="05";;
574 Jun) m="06";;
575 Jul) m="07";;
576 Aug) m="08";;
577 Sep) m="09";;
578 Oct) m="10";;
579 Nov) m="11";;
580 Dec) m="12";;
581 esac
582
583 certdate="${y}${m}${d}"
584 }
585
586function showhelp()
587 {
588 echo "`basename ${0}` creates a valid cacerts file for use with IcedTea."
589 echo ""
590 echo " -f --cafile The path to a file containing PEM formated CA"
591 echo " certificates. May not be used with -d/--cadir."
592 echo " -d --cadir The path to a diectory of PEM formatted CA"
593 echo " certificates. May not be used with -f/--cafile."
594 echo " -o --outfile The path to the output file."
595 echo ""
596 echo " -k --keytool The path to the java keytool utility."
597 echo ""
598 echo " -s --openssl The path to the openssl utility."
599 echo ""
600 echo " -h --help Show this help message and exit."
601 echo ""
602 echo ""
603 }
604
605# Initialize empty variables so that the shell does not polute the script
606CAFILE=""
607CADIR=""
608OUTFILE=""
609OPENSSL=""
610KEYTOOL=""
611certdate=""
612date=""
613today=$( date +%Y%m%d )
614
615# Process command line arguments
616get_args ${@}
617
618# Handle common errors
619if test "${CAFILE}x" == "x" -a "${CADIR}x" == "x" ; then
620 echo "ERROR! You must provide an x509 certificate store!"
621 echo "\'$(basename ${0}) --help\' for more info."
622 echo ""
623 exit 1
624fi
625
626if test "${CAFILE}x" != "x" -a "${CADIR}x" != "x" ; then
627 echo "ERROR! You cannot provide two x509 certificate stores!"
628 echo "\'$(basename ${0}) --help\' for more info."
629 echo ""
630 exit 1
631fi
632
633if test "${KEYTOOL}x" == "x" ; then
634 echo "ERROR! You must provide a valid keytool program!"
635 echo "\'$(basename ${0}) --help\' for more info."
636 echo ""
637 exit 1
638fi
639
640if test "${OPENSSL}x" == "x" ; then
641 echo "ERROR! You must provide a valid path to openssl!"
642 echo "\'$(basename ${0}) --help\' for more info."
643 echo ""
644 exit 1
645fi
646
647if test "${OUTFILE}x" == "x" ; then
648 echo "ERROR! You must provide a valid output file!"
649 echo "\'$(basename ${0}) --help\' for more info."
650 echo ""
651 exit 1
652fi
653
654# Get on with the work
655
656# If using a CAFILE, split it into individual files in a temp directory
657if test "${CAFILE}x" != "x" ; then
658 TEMPDIR=`mktemp -d`
659 CADIR="${TEMPDIR}"
660
661 # Get a list of staring lines for each cert
662 CERTLIST=`grep -n "^-----BEGIN" "${CAFILE}" | cut -d ":" -f 1`
663
664 # Get a list of ending lines for each cert
665 ENDCERTLIST=`grep -n "^-----END" "${CAFILE}" | cut -d ":" -f 1`
666
667 # Start a loop
668 for certbegin in `echo "${CERTLIST}"` ; do
669 for certend in `echo "${ENDCERTLIST}"` ; do
670 if test "${certend}" -gt "${certbegin}"; then
671 break
672 fi
673 done
674 sed -n "${certbegin},${certend}p" "${CAFILE}" > "${CADIR}/${certbegin}.pem"
675 keyhash=`${OPENSSL} x509 -noout -in "${CADIR}/${certbegin}.pem" -hash`
676 echo "Generated PEM file with hash: ${keyhash}."
677 done
678fi
679
680# Write the output file
681for cert in `find "${CADIR}" -type f -name "*.pem" -o -name "*.crt"`
682do
683
684 # Make sure the certificate date is valid...
685 date=$( ${OPENSSL} x509 -enddate -in "${cert}" -noout | sed 's/^notAfter=//' )
686 mydate "${date}"
687 if test "${certdate}" -lt "${today}" ; then
688 echo "${cert} expired on ${certdate}! Skipping..."
689 unset date certdate
690 continue
691 fi
692 unset date certdate
693 ls "${cert}"
694 tempfile=`mktemp`
695 certbegin=`grep -n "^-----BEGIN" "${cert}" | cut -d ":" -f 1`
696 certend=`grep -n "^-----END" "${cert}" | cut -d ":" -f 1`
697 sed -n "${certbegin},${certend}p" "${cert}" > "${tempfile}"
698 echo yes | env LC_ALL=C "${KEYTOOL}" -import -alias `basename "${cert}"` -keystore \
699 "${OUTFILE}" -storepass 'changeit' -file "${tempfile}"
700 rm "${tempfile}"
701done
702
703if test "${TEMPDIR}x" != "x" ; then
704 rm -rf "${TEMPDIR}"
705fi
706exit 0</literal>
707EOF
708
709chmod -c 0755 /opt/jdk/bin/mkcacerts</userinput></screen>
710
711 <note>
712 <para>
713 Doing a very large copy/paste directly to a terminal may result in a
714 corrupted file. Copying to an editor may overcome this issue.
715 </para>
716 </note>
717
[930d280b]718 <para>First, make a backup of the
[8b9034a]719 <filename>/opt/jdk/jre/lib/security/cacerts</filename> file, if there is
[930d280b]720 any. To create a new one, as the
[8b9034a]721 <systemitem class="username">root</systemitem> user:</para>
722
723<screen><userinput>/opt/jdk/bin/mkcacerts -d "/etc/ssl/certs/" -k "/opt/jdk/bin/keytool" \
724 -s "/usr/bin/openssl" -o "/opt/jdk/jre/lib/security/cacerts"</userinput></screen>
725
726 </sect3>
727
[2c25a56]728 </sect2>
729
730 <sect2 role="content">
731 <title>Contents</title>
732
733 <segmentedlist>
734 <segtitle>Installed Programs</segtitle>
735 <segtitle>Installed Libraries</segtitle>
736 <segtitle>Installed Directory</segtitle>
737
738 <seglistitem>
[49b50d4]739 <seg>appletviewer, apt, extcheck, idlj, jar,
[2c25a56]740 jarsigner, java, javac, javadoc, javah, javap, java-rmi.cgi,
[49b50d4]741 jcmd, jconsole, jdb, jhat, jinfo, jmap, jps,
[2c25a56]742 jrunscript, jsadebugd, jstack, jstat, jstatd, keytool,
743 native2ascii, orbd, pack200, policytool, rmic, rmid, rmiregistry,
744 schemagen, serialver, servertool, tnameserv, unpack200,
745 wsgen, wsimport, and xjc</seg>
[4d180035]746 <seg>/opt/OpenJDK-&openjdk-version;/lib/*, and
747 /opt/OpenJDK-&openjdk-version;/jre/lib/*</seg>
748 <seg>/opt/OpenJDK-&openjdk-version;</seg>
[2c25a56]749 </seglistitem>
750 </segmentedlist>
751
752 <variablelist>
753 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
754 <?dbfo list-presentation="list"?>
755 <?dbhtml list-presentation="table"?>
756
[49b50d4]757 <varlistentry id="appletviewer">
758 <term><command>appletviewer</command></term>
759 <listitem>
760 <para>allows you to run applets outside of a web browser.</para>
761 <indexterm zone="openjdk appletviewer">
762 <primary sortas="b-appletviewer">appletviewer</primary>
763 </indexterm>
764 </listitem>
765 </varlistentry>
766
767 <varlistentry id="apt">
[2c25a56]768 <term><command>apt</command></term>
769 <listitem>
770 <para>is an annotation processing tool.</para>
[49b50d4]771 <indexterm zone="openjdk apt">
[2c25a56]772 <primary sortas="b-apt">apt</primary>
773 </indexterm>
774 </listitem>
775 </varlistentry>
776
[49b50d4]777 <varlistentry id="extcheck">
[2c25a56]778 <term><command>extcheck</command></term>
779 <listitem>
780 <para>checks a specified jar file for title and version conflicts
[49b50d4]781 with any extensions installed in the
782 <application>OpenJDK</application> software.</para>
783 <indexterm zone="openjdk extcheck">
[2c25a56]784 <primary sortas="b-extcheck">extcheck</primary>
785 </indexterm>
786 </listitem>
787 </varlistentry>
788
[49b50d4]789 <varlistentry id="idlj">
[2c25a56]790 <term><command>idlj</command></term>
791 <listitem>
792 <para>generates Java bindings from a given IDL file.</para>
[49b50d4]793 <indexterm zone="openjdk idlj">
[2c25a56]794 <primary sortas="b-idlj">idlj</primary>
795 </indexterm>
796 </listitem>
797 </varlistentry>
798
[49b50d4]799 <varlistentry id="jar">
[2c25a56]800 <term><command>jar</command></term>
801 <listitem>
802 <para>combines multiple files into a single jar archive.</para>
[49b50d4]803 <indexterm zone="openjdk jar">
[2c25a56]804 <primary sortas="b-jar">jar</primary>
805 </indexterm>
806 </listitem>
807 </varlistentry>
808
[49b50d4]809 <varlistentry id="jarsigner">
[2c25a56]810 <term><command>jarsigner</command></term>
811 <listitem>
812 <para>signs jar files and verifies the signatures and integrity
813 of a signed jar file.</para>
[49b50d4]814 <indexterm zone="openjdk jarsigner">
[2c25a56]815 <primary sortas="b-jarsigner">jarsigner</primary>
816 </indexterm>
817 </listitem>
818 </varlistentry>
819
[784a1a7f]820 <varlistentry id="java-prog">
[2c25a56]821 <term><command>java</command></term>
822 <listitem>
823 <para>launches a Java application by starting a Java runtime
824 environment, loading a specified class and invoking its main
825 method.</para>
[784a1a7f]826 <indexterm zone="openjdk java-prog">
827 <primary sortas="b-java-prog">java</primary>
[2c25a56]828 </indexterm>
829 </listitem>
830 </varlistentry>
831
[49b50d4]832 <varlistentry id="javac">
[2c25a56]833 <term><command>javac</command></term>
834 <listitem>
835 <para>reads class and interface definitions, written in the
836 Java programming language, and compiles them into bytecode
837 class files.</para>
[49b50d4]838 <indexterm zone="openjdk javac">
[2c25a56]839 <primary sortas="b-javac">javac</primary>
840 </indexterm>
841 </listitem>
842 </varlistentry>
843
[49b50d4]844 <varlistentry id="javadoc">
[2c25a56]845 <term><command>javadoc</command></term>
846 <listitem>
847 <para>parses the declarations and documentation comments in a
848 set of Java source files and produces a corresponding set of
849 HTML pages describing the classes, interfaces,constructors,
850 methods, and fields.</para>
[49b50d4]851 <indexterm zone="openjdk javadoc">
[2c25a56]852 <primary sortas="b-javadoc">javadoc</primary>
853 </indexterm>
854 </listitem>
855 </varlistentry>
856
[49b50d4]857 <varlistentry id="javah">
[2c25a56]858 <term><command>javah</command></term>
859 <listitem>
860 <para>generates C header and source files
861 that are needed to implement native methods.</para>
[49b50d4]862 <indexterm zone="openjdk javah">
[2c25a56]863 <primary sortas="b-javah">javah</primary>
864 </indexterm>
865 </listitem>
866 </varlistentry>
867
[49b50d4]868 <varlistentry id="javap">
[2c25a56]869 <term><command>javap</command></term>
870 <listitem>
871 <para>disassembles a Java class file.</para>
[49b50d4]872 <indexterm zone="openjdk javap">
[2c25a56]873 <primary sortas="b-javap">javap</primary>
874 </indexterm>
875 </listitem>
876 </varlistentry>
877
[49b50d4]878 <varlistentry id="java-rmi.cgi">
[2c25a56]879 <term><command>java-rmi.cgi</command></term>
880 <listitem>
881 <para>is the Java RMI client.</para>
[49b50d4]882 <indexterm zone="openjdk java-rmi.cgi">
[2c25a56]883 <primary sortas="b-java-rmi.cgi">java-rmi.cgi</primary>
884 </indexterm>
885 </listitem>
886 </varlistentry>
887
[49b50d4]888 <varlistentry id="jcmd">
889 <term><command>jcmd</command></term>
890 <listitem>
891 <para>is a utility to send diagnostic command requests to a running
892 Java Virtual Machine.</para>
893 <indexterm zone="openjdk jcmd">
894 <primary sortas="b-jcmd">jcmd</primary>
895 </indexterm>
896 </listitem>
897 </varlistentry>
898
899 <varlistentry id="jconsole">
[2c25a56]900 <term><command>jconsole</command></term>
901 <listitem>
902 <para>is a graphical console tool to monitor and manage both
903 local and remote Java applications and virtual machines.</para>
[49b50d4]904 <indexterm zone="openjdk jconsole">
[2c25a56]905 <primary sortas="b-jconsole">jconsole</primary>
906 </indexterm>
907 </listitem>
908 </varlistentry>
909
[49b50d4]910 <varlistentry id="jdb">
[2c25a56]911 <term><command>jdb</command></term>
912 <listitem>
913 <para>is a simple command-line debugger for Java classes.</para>
[49b50d4]914 <indexterm zone="openjdk jdb">
[2c25a56]915 <primary sortas="b-jdb">jdb</primary>
916 </indexterm>
917 </listitem>
918 </varlistentry>
919
[49b50d4]920 <varlistentry id="jhat">
[2c25a56]921 <term><command>jhat</command></term>
922 <listitem>
923 <para>parses a java heap dump file and allows viewing
[4d180035]924 in a web browser.</para>
[49b50d4]925 <indexterm zone="openjdk jhat">
[2c25a56]926 <primary sortas="b-jhat">jhat</primary>
927 </indexterm>
928 </listitem>
929 </varlistentry>
930
[49b50d4]931 <varlistentry id="jinfo">
[2c25a56]932 <term><command>jinfo</command></term>
933 <listitem>
934 <para>prints Java configuration information for a given Java
935 process, core file, or a remote debug server.</para>
[49b50d4]936 <indexterm zone="openjdk jinfo">
[2c25a56]937 <primary sortas="b-jinfo">jinfo</primary>
938 </indexterm>
939 </listitem>
940 </varlistentry>
941
[49b50d4]942 <varlistentry id="jmap">
[2c25a56]943 <term><command>jmap</command></term>
944 <listitem>
945 <para>prints shared object memory maps or heap memory details
946 of a given process, core file, or a remote debug server.</para>
[49b50d4]947 <indexterm zone="openjdk jmap">
[2c25a56]948 <primary sortas="b-jmap">jmap</primary>
949 </indexterm>
950 </listitem>
951 </varlistentry>
952
[49b50d4]953 <varlistentry id="jps">
[2c25a56]954 <term><command>jps</command></term>
955 <listitem>
956 <para>lists the instrumented JVMs on the target system.</para>
[49b50d4]957 <indexterm zone="openjdk jps">
[2c25a56]958 <primary sortas="b-jps">jps</primary>
959 </indexterm>
960 </listitem>
961 </varlistentry>
962
[49b50d4]963 <varlistentry id="jrunscript">
[2c25a56]964 <term><command>jrunscript</command></term>
965 <listitem>
966 <para>is a command line script shell.</para>
[49b50d4]967 <indexterm zone="openjdk jrunscript">
[2c25a56]968 <primary sortas="b-jrunscript">jrunscript</primary>
969 </indexterm>
970 </listitem>
971 </varlistentry>
972
[49b50d4]973 <varlistentry id="jsadebugd">
[2c25a56]974 <term><command>jsadebugd</command></term>
975 <listitem>
976 <para>attaches to a Java process or core file and acts as a
977 debug server.</para>
[49b50d4]978 <indexterm zone="openjdk jsadebugd">
[2c25a56]979 <primary sortas="b-jsadebugd">jsadebugd</primary>
980 </indexterm>
981 </listitem>
982 </varlistentry>
983
[49b50d4]984 <varlistentry id="jstack">
[2c25a56]985 <term><command>jstack</command></term>
986 <listitem>
987 <para>prints Java stack traces of Java threads for a given
988 Java process, core file, or a remote debug server.</para>
[49b50d4]989 <indexterm zone="openjdk jstack">
[2c25a56]990 <primary sortas="b-jstack">jstack</primary>
991 </indexterm>
992 </listitem>
993 </varlistentry>
994
[49b50d4]995 <varlistentry id="jstat">
[2c25a56]996 <term><command>jstat</command></term>
997 <listitem>
998 <para>displays performance statistics for an instrumented JVM.</para>
[49b50d4]999 <indexterm zone="openjdk jstat">
[2c25a56]1000 <primary sortas="b-jstat">jstat</primary>
1001 </indexterm>
1002 </listitem>
1003 </varlistentry>
1004
[49b50d4]1005 <varlistentry id="jstatd">
[2c25a56]1006 <term><command>jstatd</command></term>
1007 <listitem>
1008 <para>is an RMI server application that monitors for the creation
1009 and termination of instrumented JVMs.</para>
[49b50d4]1010 <indexterm zone="openjdk jstatd">
[2c25a56]1011 <primary sortas="b-jstatd">jstatd</primary>
1012 </indexterm>
1013 </listitem>
1014 </varlistentry>
1015
[49b50d4]1016 <varlistentry id="keytool">
[2c25a56]1017 <term><command>keytool</command></term>
1018 <listitem>
1019 <para>is a key and certificate management utility.</para>
[49b50d4]1020 <indexterm zone="openjdk keytool">
[2c25a56]1021 <primary sortas="b-keytool">keytool</primary>
1022 </indexterm>
1023 </listitem>
1024 </varlistentry>
1025
[49b50d4]1026 <varlistentry id="native2ascii">
[2c25a56]1027 <term><command>native2ascii</command></term>
1028 <listitem>
1029 <para> converts files that contain non-supported character encoding
1030 into files containing Latin-1 or Unicode-encoded characters.</para>
[49b50d4]1031 <indexterm zone="openjdk native2ascii">
[2c25a56]1032 <primary sortas="b-native2ascii">native2ascii</primary>
1033 </indexterm>
1034 </listitem>
1035 </varlistentry>
1036
[49b50d4]1037 <varlistentry id="orbd">
[2c25a56]1038 <term><command>orbd</command></term>
1039 <listitem>
1040 <para>is used to enable clients to transparently locate and invoke
1041 persistent objects on servers in the CORBA environment.</para>
[49b50d4]1042 <indexterm zone="openjdk orbd">
[2c25a56]1043 <primary sortas="b-orbd">orbd</primary>
1044 </indexterm>
1045 </listitem>
1046 </varlistentry>
1047
[49b50d4]1048 <varlistentry id="pack200">
[2c25a56]1049 <term><command>pack200</command></term>
1050 <listitem>
1051 <para>is a Java application that transforms a jar file into a
1052 compressed pack200 file using the Java gzip compressor.</para>
[49b50d4]1053 <indexterm zone="openjdk pack200">
[2c25a56]1054 <primary sortas="b-pack200">pack200</primary>
1055 </indexterm>
1056 </listitem>
1057 </varlistentry>
1058
[49b50d4]1059 <varlistentry id="policytool">
[2c25a56]1060 <term><command>policytool</command></term>
1061 <listitem>
1062 <para>creates and manages a policy file graphically.</para>
[49b50d4]1063 <indexterm zone="openjdk policytool">
[2c25a56]1064 <primary sortas="b-policytool">policytool</primary>
1065 </indexterm>
1066 </listitem>
1067 </varlistentry>
1068
[49b50d4]1069 <varlistentry id="rmic">
[2c25a56]1070 <term><command>rmic</command></term>
1071 <listitem>
1072 <para>generates stub and skeleton class files for remote objects
1073 from the names of compiled Java classes that contain remote
1074 object implementations.</para>
[49b50d4]1075 <indexterm zone="openjdk rmic">
[2c25a56]1076 <primary sortas="b-rmic">rmic</primary>
1077 </indexterm>
1078 </listitem>
1079 </varlistentry>
1080
[49b50d4]1081 <varlistentry id="rmid">
[2c25a56]1082 <term><command>rmid</command></term>
1083 <listitem>
1084 <para>starts the activation system daemon.</para>
[49b50d4]1085 <indexterm zone="openjdk rmid">
[2c25a56]1086 <primary sortas="b-rmid">rmid</primary>
1087 </indexterm>
1088 </listitem>
1089 </varlistentry>
1090
[49b50d4]1091 <varlistentry id="rmiregistry">
[2c25a56]1092 <term><command>rmiregistry</command></term>
1093 <listitem>
1094 <para>creates and starts a remote object registry on the specified
1095 port on the current host.</para>
[49b50d4]1096 <indexterm zone="openjdk rmiregistry">
[2c25a56]1097 <primary sortas="b-rmiregistry">rmiregistry</primary>
1098 </indexterm>
1099 </listitem>
1100 </varlistentry>
1101
[49b50d4]1102 <varlistentry id="schemagen">
[2c25a56]1103 <term><command>schemagen</command></term>
1104 <listitem>
1105 <para>is a Java XML binding schema generator.</para>
[49b50d4]1106 <indexterm zone="openjdk schemagen">
[2c25a56]1107 <primary sortas="b-schemagen">schemagen</primary>
1108 </indexterm>
1109 </listitem>
1110 </varlistentry>
1111
[49b50d4]1112 <varlistentry id="serialver">
[2c25a56]1113 <term><command>serialver</command></term>
1114 <listitem>
1115 <para>returns the serialVersionUID for one or more classes in a
1116 form suitable for copying into an evolving class.</para>
[49b50d4]1117 <indexterm zone="openjdk serialver">
[2c25a56]1118 <primary sortas="b-serialver">serialver</primary>
1119 </indexterm>
1120 </listitem>
1121 </varlistentry>
1122
[49b50d4]1123 <varlistentry id="servertool">
[2c25a56]1124 <term><command>servertool</command></term>
1125 <listitem>
1126 <para>provides an ease-of-use interface for application programmers
1127 to register, unregister, startup and shutdown a server.</para>
[49b50d4]1128 <indexterm zone="openjdk servertool">
[2c25a56]1129 <primary sortas="b-servertool">servertool</primary>
1130 </indexterm>
1131 </listitem>
1132 </varlistentry>
1133
[49b50d4]1134 <varlistentry id="tnameserv">
[2c25a56]1135 <term><command>tnameserv</command></term>
1136 <listitem>
1137 <para>starts the Java IDL name server.</para>
[49b50d4]1138 <indexterm zone="openjdk tnameserv">
[2c25a56]1139 <primary sortas="b-tnameserv">tnameserv</primary>
1140 </indexterm>
1141 </listitem>
1142 </varlistentry>
1143
[49b50d4]1144 <varlistentry id="unpack200">
[2c25a56]1145 <term><command>unpack200</command></term>
1146 <listitem>
1147 <para>is a native implementation that transforms a packed file
1148 produced by <application>pack200</application> into a jar
1149 file.</para>
[49b50d4]1150 <indexterm zone="openjdk unpack200">
[2c25a56]1151 <primary sortas="b-unpack200">unpack200</primary>
1152 </indexterm>
1153 </listitem>
1154 </varlistentry>
1155
[49b50d4]1156 <varlistentry id="wsgen">
[2c25a56]1157 <term><command>wsgen</command></term>
1158 <listitem>
1159 <para>generates JAX-WS portable artifacts used in JAX-WS
1160 web services.</para>
[49b50d4]1161 <indexterm zone="openjdk wsgen">
[2c25a56]1162 <primary sortas="b-wsgen">wsgen</primary>
1163 </indexterm>
1164 </listitem>
1165 </varlistentry>
1166
[49b50d4]1167 <varlistentry id="wsimport">
[2c25a56]1168 <term><command>wsimport</command></term>
1169 <listitem>
1170 <para>generates JAX-WS portable artifacts.</para>
[49b50d4]1171 <indexterm zone="openjdk wsimport">
[2c25a56]1172 <primary sortas="b-wsimport">wsimport</primary>
1173 </indexterm>
1174 </listitem>
1175 </varlistentry>
1176
[49b50d4]1177 <varlistentry id="xjc">
[2c25a56]1178 <term><command>xjc</command></term>
1179 <listitem>
1180 <para>is a Java XML binding compiler.</para>
[49b50d4]1181 <indexterm zone="openjdk xjc">
[2c25a56]1182 <primary sortas="b-xjc">xjc</primary>
1183 </indexterm>
1184 </listitem>
1185 </varlistentry>
1186
1187 </variablelist>
1188
1189 </sect2>
1190
1191</sect1>
Note: See TracBrowser for help on using the repository browser.