source: general/prog/openjdk.xml@ 88b2f2ef

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 88b2f2ef was 88b2f2ef, checked in by Pierre Labastie <pieere@…>, 10 years ago

Try to clarify the environment requirements for building Icedtea/OpenJDK

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

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