source: general/prog/openjdk.xml@ ca8bcae9

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 ca8bcae9 was ca8bcae9, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

OpenJDK-1.8.0.45 typo: s/test/&s/.
Berkeley DB-6.1.23: java bindings broken.
Emacs-24.5: bootstrap needed only for development versions.
Some gcc5 tags.

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

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