source: general/prog/openjdk.xml@ 5a78947

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind 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 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5a78947 was 5a78947, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

OpenJDK-1.7.0.65/IcedTea-2.5.1: fix desktop file instructions, hopefully. Sorry for the mess.

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

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