source: general/prog/openjdk.xml@ 990233f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 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 990233f was 990233f, checked in by Pierre Labastie <pieere@…>, 9 years ago

Update jtreg link

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

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