source: general/prog/openjdk.xml@ 64135787

kde5-14269
Last change on this file since 64135787 was 64135787, checked in by Xi Ruoyao <xry111@…>, 18 months ago

Begin manually (while modifying stuff) merging trunk and systemd branches since revision 14087.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/kde5@14270 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 48.6 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;-&icedtea-version;">
8 <!ENTITY icedtea-download "http://icedtea.classpath.org/download/source/icedtea-&icedtea-version;.tar.xz">
9
10 <!ENTITY icedtea-md5sum "6c57b54ab8b7916425d567dbb478ad73">
11 <!ENTITY icedtea-size "1.9 MB">
12
13 <!ENTITY corba-download "&anduin-download;/corba.tar.bz2">
14 <!ENTITY corba-md5sum "86cf23060d726aa55d77bffedb8b6a99">
15 <!ENTITY corba-size "1.0 MB">
16
17 <!ENTITY hotspot-download "&anduin-download;/hotspot.tar.bz2">
18 <!ENTITY hotspot-md5sum "026bb8ca9e764fe53b8a19f1ddad1479">
19 <!ENTITY hotspot-size "7.4 MB">
20
21 <!ENTITY jaxp-download "&anduin-download;/jaxp.tar.bz2">
22 <!ENTITY jaxp-md5sum "cbd3226b916fe9e6c7e9f1cd15e54d55">
23 <!ENTITY jaxp-size "2.6 MB">
24
25 <!ENTITY jaxws-download "&anduin-download;/jaxws.tar.bz2">
26 <!ENTITY jaxws-md5sum "84b921fc3e328eea770dc1a092e240dc">
27 <!ENTITY jaxws-size "1.9 MB">
28
29 <!ENTITY jdk-download "&anduin-download;/jdk.tar.bz2">
30 <!ENTITY jdk-md5sum "b5a4703501bf4a6adeaa614e6d2345b3">
31 <!ENTITY jdk-size "30.2 MB">
32
33 <!ENTITY langtools-download "&anduin-download;/langtools.tar.bz2">
34 <!ENTITY langtools-md5sum "e104e60e44aba0a8bc60c48df1d859b9">
35 <!ENTITY langtools-size "1.6 MB">
36
37 <!ENTITY openjdk-download "&anduin-download;/openjdk.tar.bz2">
38 <!ENTITY openjdk-md5sum "f48d6f8b748f869a5624d2c44998d54c">
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 "28-36 SBU (an additional 100 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
541pathappend $JAVA_HOME/include C_INCLUDE_PATH
542pathappend $JAVA_HOME/include/linux C_INCLUDE_PATH
543pathappend $JAVA_HOME/include CPLUS_INCLUDE_PATH
544pathappend $JAVA_HOME/include/linux CPLUS_INCLUDE_PATH
545
546# Auto Java CLASSPATH
547# Copy jar files to, or create symlinks in this directory
548
549AUTO_CLASSPATH_DIR=/usr/share/java
550
551pathprepend . CLASSPATH
552
553for dir in `find ${AUTO_CLASSPATH_DIR} -type d 2>/dev/null`; do
554 pathappend $dir CLASSPATH
555done
556
557for jar in `find ${AUTO_CLASSPATH_DIR} -name "*.jar" 2>/dev/null`; do
558 pathappend $jar CLASSPATH
559done
560
561export JAVA_HOME CLASSPATH C_INCLUDE_PATH CPLUS_INCLUDE_PATH
562unset AUTO_CLASSPATH_DIR dir jar
563
564# End /etc/profile.d/openjdk.sh</literal>
565EOF</userinput></screen>
566
567 <para>Finally, add the man pages to <application>man_db</application>'s
568 configuration. As the <systemitem class="username">root</systemitem>
569 user:</para>
570
571<screen role="root"><userinput>cat >> /etc/profile.d/extrapaths.sh &lt;&lt; "EOF" &amp;&amp;
572# Begin Java addition
573<literal>pathappend /opt/jdk/man MANPATH
574# End Java addition</literal>
575EOF
576
577
578cat &gt;&gt; /etc/man_db.conf &lt;&lt; "EOF" &amp;&amp;
579<literal># Begin Java addition
580MANDATORY_MANPATH /opt/jdk/man
581MANPATH_MAP /opt/jdk/bin /opt/jdk/man
582MANDB_MAP /opt/jdk/man /var/cache/man/jdk
583# End Java addition</literal>
584EOF
585
586mandb -c /opt/jdk/man</userinput></screen>
587
588 <para>To test if the man pages are correctly installed, issue
589 <command>source /etc/profile</command> and <command>man java</command> to
590 display the respective man page.</para>
591
592 </sect3>
593
594 <sect3 id='ojdk-certs'>
595 <title>Install or update the JRE Certificate Authority Certificates
596 (cacerts) file</title>
597
598 <para>Use the following procedure to check if the
599 <filename>cacerts</filename> file was successfully installed during the
600 OpenJDK build. Also, if the <xref linkend="cacerts"/> have been updated,
601 the following instructions will generate a new JRE
602 <filename>cacerts</filename> file. First, check if the
603 <filename>cacerts</filename> have been successfully installed: </para>
604
605<screen role="root"><userinput>cd /opt/jdk
606bin/keytool -list -keystore jre/lib/security/cacerts</userinput></screen>
607
608 <para>At the prompt "Enter keystore password:", press the "Enter" key if
609 there is no keystore password defined. If the
610 <filename>cacerts</filename> were installed correctly, you will see a
611 list of the certificates with related information for each one. If not,
612 you need to manually install them. First, generate the
613 <command>mkcacerts</command> script as the
614 <systemitem class="username">root</systemitem> user:</para>
615
616<screen role="root"><userinput>cat &gt; /opt/jdk/bin/mkcacerts &lt;&lt; "EOF"
617<literal>#!/bin/sh
618# Simple script to extract x509 certificates and create a JRE cacerts file.
619
620function get_args()
621 {
622 if test -z "${1}" ; then
623 showhelp
624 exit 1
625 fi
626
627 while test -n "${1}" ; do
628 case "${1}" in
629 -f | --cafile)
630 check_arg $1 $2
631 CAFILE="${2}"
632 shift 2
633 ;;
634 -d | --cadir)
635 check_arg $1 $2
636 CADIR="${2}"
637 shift 2
638 ;;
639 -o | --outfile)
640 check_arg $1 $2
641 OUTFILE="${2}"
642 shift 2
643 ;;
644 -k | --keytool)
645 check_arg $1 $2
646 KEYTOOL="${2}"
647 shift 2
648 ;;
649 -s | --openssl)
650 check_arg $1 $2
651 OPENSSL="${2}"
652 shift 2
653 ;;
654 -h | --help)
655 showhelp
656 exit 0
657 ;;
658 *)
659 showhelp
660 exit 1
661 ;;
662 esac
663 done
664 }
665
666function check_arg()
667 {
668 echo "${2}" | grep -v "^-" > /dev/null
669 if [ -z "$?" -o ! -n "$2" ]; then
670 echo "Error: $1 requires a valid argument."
671 exit 1
672 fi
673 }
674
675# The date binary is not reliable on 32bit systems for dates after 2038
676function mydate()
677 {
678 local y=$( echo $1 | cut -d" " -f4 )
679 local M=$( echo $1 | cut -d" " -f1 )
680 local d=$( echo $1 | cut -d" " -f2 )
681 local m
682
683 if [ ${d} -lt 10 ]; then d="0${d}"; fi
684
685 case $M in
686 Jan) m="01";;
687 Feb) m="02";;
688 Mar) m="03";;
689 Apr) m="04";;
690 May) m="05";;
691 Jun) m="06";;
692 Jul) m="07";;
693 Aug) m="08";;
694 Sep) m="09";;
695 Oct) m="10";;
696 Nov) m="11";;
697 Dec) m="12";;
698 esac
699
700 certdate="${y}${m}${d}"
701 }
702
703function showhelp()
704 {
705 echo "`basename ${0}` creates a valid cacerts file for use with IcedTea."
706 echo ""
707 echo " -f --cafile The path to a file containing PEM"
708 echo " formated CA certificates. May not be"
709 echo " used with -d/--cadir."
710 echo ""
711 echo " -d --cadir The path to a directory of PEM formatted"
712 echo " CA certificates. May not be used with"
713 echo " -f/--cafile."
714 echo ""
715 echo " -o --outfile The path to the output file."
716 echo ""
717 echo " -k --keytool The path to the java keytool utility."
718 echo ""
719 echo " -s --openssl The path to the openssl utility."
720 echo ""
721 echo " -h --help Show this help message and exit."
722 echo ""
723 echo ""
724 }
725
726# Initialize empty variables so that the shell does not pollute the script
727CAFILE=""
728CADIR=""
729OUTFILE=""
730OPENSSL=""
731KEYTOOL=""
732certdate=""
733date=""
734today=$( date +%Y%m%d )
735
736# Process command line arguments
737get_args ${@}
738
739# Handle common errors
740if test "${CAFILE}x" == "x" -a "${CADIR}x" == "x" ; then
741 echo "ERROR! You must provide an x509 certificate store!"
742 echo "\'$(basename ${0}) --help\' for more info."
743 echo ""
744 exit 1
745fi
746
747if test "${CAFILE}x" != "x" -a "${CADIR}x" != "x" ; then
748 echo "ERROR! You cannot provide two x509 certificate stores!"
749 echo "\'$(basename ${0}) --help\' for more info."
750 echo ""
751 exit 1
752fi
753
754if test "${KEYTOOL}x" == "x" ; then
755 echo "ERROR! You must provide a valid keytool program!"
756 echo "\'$(basename ${0}) --help\' for more info."
757 echo ""
758 exit 1
759fi
760
761if test "${OPENSSL}x" == "x" ; then
762 echo "ERROR! You must provide a valid path to openssl!"
763 echo "\'$(basename ${0}) --help\' for more info."
764 echo ""
765 exit 1
766fi
767
768if test "${OUTFILE}x" == "x" ; then
769 echo "ERROR! You must provide a valid output file!"
770 echo "\'$(basename ${0}) --help\' for more info."
771 echo ""
772 exit 1
773fi
774
775# Get on with the work
776
777# If using a CAFILE, split it into individual files in a temp directory
778if test "${CAFILE}x" != "x" ; then
779 TEMPDIR=`mktemp -d`
780 CADIR="${TEMPDIR}"
781
782 # Get a list of staring lines for each cert
783 CERTLIST=`grep -n "^-----BEGIN" "${CAFILE}" | cut -d ":" -f 1`
784
785 # Get a list of ending lines for each cert
786 ENDCERTLIST=`grep -n "^-----END" "${CAFILE}" | cut -d ":" -f 1`
787
788 # Start a loop
789 for certbegin in `echo "${CERTLIST}"` ; do
790 for certend in `echo "${ENDCERTLIST}"` ; do
791 if test "${certend}" -gt "${certbegin}"; then
792 break
793 fi
794 done
795 sed -n "${certbegin},${certend}p" "${CAFILE}" > "${CADIR}/${certbegin}.pem"
796 keyhash=`${OPENSSL} x509 -noout -in "${CADIR}/${certbegin}.pem" -hash`
797 echo "Generated PEM file with hash: ${keyhash}."
798 done
799fi
800
801# Write the output file
802for cert in `find "${CADIR}" -type f -name "*.pem" -o -name "*.crt"`
803do
804
805 # Make sure the certificate date is valid...
806 date=$( ${OPENSSL} x509 -enddate -in "${cert}" -noout | sed 's/^notAfter=//' )
807 mydate "${date}"
808 if test "${certdate}" -lt "${today}" ; then
809 echo "${cert} expired on ${certdate}! Skipping..."
810 unset date certdate
811 continue
812 fi
813 unset date certdate
814 ls "${cert}"
815 tempfile=`mktemp`
816 certbegin=`grep -n "^-----BEGIN" "${cert}" | cut -d ":" -f 1`
817 certend=`grep -n "^-----END" "${cert}" | cut -d ":" -f 1`
818 sed -n "${certbegin},${certend}p" "${cert}" > "${tempfile}"
819 echo yes | env LC_ALL=C "${KEYTOOL}" -import \
820 -alias `basename "${cert}"` \
821 -keystore "${OUTFILE}" \
822 -storepass 'changeit' \
823 -file "${tempfile}"
824 rm "${tempfile}"
825done
826
827if test "${TEMPDIR}x" != "x" ; then
828 rm -rf "${TEMPDIR}"
829fi
830exit 0</literal>
831EOF
832
833chmod -c 0755 /opt/jdk/bin/mkcacerts</userinput></screen>
834
835 <note>
836 <para>
837 Doing a very large copy/paste directly to a terminal may result in a
838 corrupted file. Copying to an editor may overcome this issue.
839 </para>
840 </note>
841
842 <para>If you need to generate a <filename>cacerts</filename> file,
843 and there is already one in
844 <filename class="directory">/opt/jdk/jre/lib/security</filename>, it
845 is better to make a backup. Then, you can create a new one, as the
846 <systemitem class="username">root</systemitem> user:</para>
847
848<screen role="root"><userinput>/opt/jdk/bin/mkcacerts \
849 -d "/etc/ssl/certs/" \
850 -k "/opt/jdk/bin/keytool" \
851 -s "/usr/bin/openssl" \
852 -o "/opt/jdk/jre/lib/security/cacerts"</userinput></screen>
853
854 </sect3>
855
856 </sect2>
857
858 <sect2 role="content">
859 <title>Contents</title>
860
861 <segmentedlist>
862 <segtitle>Installed Programs</segtitle>
863 <segtitle>Installed Libraries</segtitle>
864 <segtitle>Installed Directory</segtitle>
865
866 <seglistitem>
867 <seg>appletviewer, apt, extcheck, idlj, jar,
868 jarsigner, java, javac, javadoc, javah, javap, java-rmi.cgi,
869 jcmd, jconsole, jdb, jhat, jinfo, jmap, jps,
870 jrunscript, jsadebugd, jstack, jstat, jstatd, keytool, mkcacerts,
871 native2ascii, orbd, pack200, policytool, rmic, rmid, rmiregistry,
872 schemagen, serialver, servertool, tnameserv, unpack200,
873 wsgen, wsimport, and xjc</seg>
874 <seg>/opt/OpenJDK-&openjdk-version;/lib/*, and
875 /opt/OpenJDK-&openjdk-version;/jre/lib/*</seg>
876 <seg>/opt/OpenJDK-&openjdk-version;</seg>
877 </seglistitem>
878 </segmentedlist>
879
880 <variablelist>
881 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
882 <?dbfo list-presentation="list"?>
883 <?dbhtml list-presentation="table"?>
884
885 <varlistentry id="appletviewer">
886 <term><command>appletviewer</command></term>
887 <listitem>
888 <para>allows you to run applets outside of a web browser.</para>
889 <indexterm zone="openjdk appletviewer">
890 <primary sortas="b-appletviewer">appletviewer</primary>
891 </indexterm>
892 </listitem>
893 </varlistentry>
894
895 <varlistentry id="apt">
896 <term><command>apt</command></term>
897 <listitem>
898 <para>is an annotation processing tool.</para>
899 <indexterm zone="openjdk apt">
900 <primary sortas="b-apt">apt</primary>
901 </indexterm>
902 </listitem>
903 </varlistentry>
904
905 <varlistentry id="extcheck">
906 <term><command>extcheck</command></term>
907 <listitem>
908 <para>checks a specified jar file for title and version conflicts
909 with any extensions installed in the
910 <application>OpenJDK</application> software.</para>
911 <indexterm zone="openjdk extcheck">
912 <primary sortas="b-extcheck">extcheck</primary>
913 </indexterm>
914 </listitem>
915 </varlistentry>
916
917 <varlistentry id="idlj">
918 <term><command>idlj</command></term>
919 <listitem>
920 <para>generates Java bindings from a given IDL file.</para>
921 <indexterm zone="openjdk idlj">
922 <primary sortas="b-idlj">idlj</primary>
923 </indexterm>
924 </listitem>
925 </varlistentry>
926
927 <varlistentry id="jar">
928 <term><command>jar</command></term>
929 <listitem>
930 <para>combines multiple files into a single jar archive.</para>
931 <indexterm zone="openjdk jar">
932 <primary sortas="b-jar">jar</primary>
933 </indexterm>
934 </listitem>
935 </varlistentry>
936
937 <varlistentry id="jarsigner">
938 <term><command>jarsigner</command></term>
939 <listitem>
940 <para>signs jar files and verifies the signatures and integrity
941 of a signed jar file.</para>
942 <indexterm zone="openjdk jarsigner">
943 <primary sortas="b-jarsigner">jarsigner</primary>
944 </indexterm>
945 </listitem>
946 </varlistentry>
947
948 <varlistentry id="java-prog">
949 <term><command>java</command></term>
950 <listitem>
951 <para>launches a Java application by starting a Java runtime
952 environment, loading a specified class and invoking its main
953 method.</para>
954 <indexterm zone="openjdk java-prog">
955 <primary sortas="b-java-prog">java</primary>
956 </indexterm>
957 </listitem>
958 </varlistentry>
959
960 <varlistentry id="javac">
961 <term><command>javac</command></term>
962 <listitem>
963 <para>reads class and interface definitions, written in the
964 Java programming language, and compiles them into bytecode
965 class files.</para>
966 <indexterm zone="openjdk javac">
967 <primary sortas="b-javac">javac</primary>
968 </indexterm>
969 </listitem>
970 </varlistentry>
971
972 <varlistentry id="javadoc">
973 <term><command>javadoc</command></term>
974 <listitem>
975 <para>parses the declarations and documentation comments in a
976 set of Java source files and produces a corresponding set of
977 HTML pages describing the classes, interfaces,constructors,
978 methods, and fields.</para>
979 <indexterm zone="openjdk javadoc">
980 <primary sortas="b-javadoc">javadoc</primary>
981 </indexterm>
982 </listitem>
983 </varlistentry>
984
985 <varlistentry id="javah">
986 <term><command>javah</command></term>
987 <listitem>
988 <para>generates C header and source files
989 that are needed to implement native methods.</para>
990 <indexterm zone="openjdk javah">
991 <primary sortas="b-javah">javah</primary>
992 </indexterm>
993 </listitem>
994 </varlistentry>
995
996 <varlistentry id="javap">
997 <term><command>javap</command></term>
998 <listitem>
999 <para>disassembles a Java class file.</para>
1000 <indexterm zone="openjdk javap">
1001 <primary sortas="b-javap">javap</primary>
1002 </indexterm>
1003 </listitem>
1004 </varlistentry>
1005
1006 <varlistentry id="java-rmi.cgi">
1007 <term><command>java-rmi.cgi</command></term>
1008 <listitem>
1009 <para>is the Java RMI client.</para>
1010 <indexterm zone="openjdk java-rmi.cgi">
1011 <primary sortas="b-java-rmi.cgi">java-rmi.cgi</primary>
1012 </indexterm>
1013 </listitem>
1014 </varlistentry>
1015
1016 <varlistentry id="jcmd">
1017 <term><command>jcmd</command></term>
1018 <listitem>
1019 <para>is a utility to send diagnostic command requests to a running
1020 Java Virtual Machine.</para>
1021 <indexterm zone="openjdk jcmd">
1022 <primary sortas="b-jcmd">jcmd</primary>
1023 </indexterm>
1024 </listitem>
1025 </varlistentry>
1026
1027 <varlistentry id="jconsole">
1028 <term><command>jconsole</command></term>
1029 <listitem>
1030 <para>is a graphical console tool to monitor and manage both
1031 local and remote Java applications and virtual machines.</para>
1032 <indexterm zone="openjdk jconsole">
1033 <primary sortas="b-jconsole">jconsole</primary>
1034 </indexterm>
1035 </listitem>
1036 </varlistentry>
1037
1038 <varlistentry id="jdb">
1039 <term><command>jdb</command></term>
1040 <listitem>
1041 <para>is a simple command-line debugger for Java classes.</para>
1042 <indexterm zone="openjdk jdb">
1043 <primary sortas="b-jdb">jdb</primary>
1044 </indexterm>
1045 </listitem>
1046 </varlistentry>
1047
1048 <varlistentry id="jhat">
1049 <term><command>jhat</command></term>
1050 <listitem>
1051 <para>parses a java heap dump file and allows viewing
1052 in a web browser.</para>
1053 <indexterm zone="openjdk jhat">
1054 <primary sortas="b-jhat">jhat</primary>
1055 </indexterm>
1056 </listitem>
1057 </varlistentry>
1058
1059 <varlistentry id="jinfo">
1060 <term><command>jinfo</command></term>
1061 <listitem>
1062 <para>prints Java configuration information for a given Java
1063 process, core file, or a remote debug server.</para>
1064 <indexterm zone="openjdk jinfo">
1065 <primary sortas="b-jinfo">jinfo</primary>
1066 </indexterm>
1067 </listitem>
1068 </varlistentry>
1069
1070 <varlistentry id="jmap">
1071 <term><command>jmap</command></term>
1072 <listitem>
1073 <para>prints shared object memory maps or heap memory details
1074 of a given process, core file, or a remote debug server.</para>
1075 <indexterm zone="openjdk jmap">
1076 <primary sortas="b-jmap">jmap</primary>
1077 </indexterm>
1078 </listitem>
1079 </varlistentry>
1080
1081 <varlistentry id="jps">
1082 <term><command>jps</command></term>
1083 <listitem>
1084 <para>lists the instrumented JVMs on the target system.</para>
1085 <indexterm zone="openjdk jps">
1086 <primary sortas="b-jps">jps</primary>
1087 </indexterm>
1088 </listitem>
1089 </varlistentry>
1090
1091 <varlistentry id="jrunscript">
1092 <term><command>jrunscript</command></term>
1093 <listitem>
1094 <para>is a command line script shell.</para>
1095 <indexterm zone="openjdk jrunscript">
1096 <primary sortas="b-jrunscript">jrunscript</primary>
1097 </indexterm>
1098 </listitem>
1099 </varlistentry>
1100
1101 <varlistentry id="jsadebugd">
1102 <term><command>jsadebugd</command></term>
1103 <listitem>
1104 <para>attaches to a Java process or core file and acts as a
1105 debug server.</para>
1106 <indexterm zone="openjdk jsadebugd">
1107 <primary sortas="b-jsadebugd">jsadebugd</primary>
1108 </indexterm>
1109 </listitem>
1110 </varlistentry>
1111
1112 <varlistentry id="jstack">
1113 <term><command>jstack</command></term>
1114 <listitem>
1115 <para>prints Java stack traces of Java threads for a given
1116 Java process, core file, or a remote debug server.</para>
1117 <indexterm zone="openjdk jstack">
1118 <primary sortas="b-jstack">jstack</primary>
1119 </indexterm>
1120 </listitem>
1121 </varlistentry>
1122
1123 <varlistentry id="jstat">
1124 <term><command>jstat</command></term>
1125 <listitem>
1126 <para>displays performance statistics for an instrumented JVM.</para>
1127 <indexterm zone="openjdk jstat">
1128 <primary sortas="b-jstat">jstat</primary>
1129 </indexterm>
1130 </listitem>
1131 </varlistentry>
1132
1133 <varlistentry id="jstatd">
1134 <term><command>jstatd</command></term>
1135 <listitem>
1136 <para>is an RMI server application that monitors for the creation
1137 and termination of instrumented JVMs.</para>
1138 <indexterm zone="openjdk jstatd">
1139 <primary sortas="b-jstatd">jstatd</primary>
1140 </indexterm>
1141 </listitem>
1142 </varlistentry>
1143
1144 <varlistentry id="keytool">
1145 <term><command>keytool</command></term>
1146 <listitem>
1147 <para>is a key and certificate management utility.</para>
1148 <indexterm zone="openjdk keytool">
1149 <primary sortas="b-keytool">keytool</primary>
1150 </indexterm>
1151 </listitem>
1152 </varlistentry>
1153
1154 <varlistentry id="mkcacerts">
1155 <term><command>mkcacerts</command></term>
1156 <listitem>
1157 <para> is a simple script to extract x509 certificates and create
1158 a JRE cacerts file using <command>keytool</command>.</para>
1159 <indexterm zone="openjdk mkcacerts">
1160 <primary sortas="b-mkcacerts">mkcacerts</primary>
1161 </indexterm>
1162 </listitem>
1163 </varlistentry>
1164
1165 <varlistentry id="native2ascii">
1166 <term><command>native2ascii</command></term>
1167 <listitem>
1168 <para> converts files that contain non-supported character encoding
1169 into files containing Latin-1 or Unicode-encoded characters.</para>
1170 <indexterm zone="openjdk native2ascii">
1171 <primary sortas="b-native2ascii">native2ascii</primary>
1172 </indexterm>
1173 </listitem>
1174 </varlistentry>
1175
1176 <varlistentry id="orbd">
1177 <term><command>orbd</command></term>
1178 <listitem>
1179 <para>is used to enable clients to transparently locate and invoke
1180 persistent objects on servers in the CORBA environment.</para>
1181 <indexterm zone="openjdk orbd">
1182 <primary sortas="b-orbd">orbd</primary>
1183 </indexterm>
1184 </listitem>
1185 </varlistentry>
1186
1187 <varlistentry id="pack200">
1188 <term><command>pack200</command></term>
1189 <listitem>
1190 <para>is a Java application that transforms a jar file into a
1191 compressed pack200 file using the Java gzip compressor.</para>
1192 <indexterm zone="openjdk pack200">
1193 <primary sortas="b-pack200">pack200</primary>
1194 </indexterm>
1195 </listitem>
1196 </varlistentry>
1197
1198 <varlistentry id="policytool">
1199 <term><command>policytool</command></term>
1200 <listitem>
1201 <para>creates and manages a policy file graphically.</para>
1202 <indexterm zone="openjdk policytool">
1203 <primary sortas="b-policytool">policytool</primary>
1204 </indexterm>
1205 </listitem>
1206 </varlistentry>
1207
1208 <varlistentry id="rmic">
1209 <term><command>rmic</command></term>
1210 <listitem>
1211 <para>generates stub and skeleton class files for remote objects
1212 from the names of compiled Java classes that contain remote
1213 object implementations.</para>
1214 <indexterm zone="openjdk rmic">
1215 <primary sortas="b-rmic">rmic</primary>
1216 </indexterm>
1217 </listitem>
1218 </varlistentry>
1219
1220 <varlistentry id="rmid">
1221 <term><command>rmid</command></term>
1222 <listitem>
1223 <para>starts the activation system daemon.</para>
1224 <indexterm zone="openjdk rmid">
1225 <primary sortas="b-rmid">rmid</primary>
1226 </indexterm>
1227 </listitem>
1228 </varlistentry>
1229
1230 <varlistentry id="rmiregistry">
1231 <term><command>rmiregistry</command></term>
1232 <listitem>
1233 <para>creates and starts a remote object registry on the specified
1234 port on the current host.</para>
1235 <indexterm zone="openjdk rmiregistry">
1236 <primary sortas="b-rmiregistry">rmiregistry</primary>
1237 </indexterm>
1238 </listitem>
1239 </varlistentry>
1240
1241 <varlistentry id="schemagen">
1242 <term><command>schemagen</command></term>
1243 <listitem>
1244 <para>is a Java XML binding schema generator.</para>
1245 <indexterm zone="openjdk schemagen">
1246 <primary sortas="b-schemagen">schemagen</primary>
1247 </indexterm>
1248 </listitem>
1249 </varlistentry>
1250
1251 <varlistentry id="serialver">
1252 <term><command>serialver</command></term>
1253 <listitem>
1254 <para>returns the serialVersionUID for one or more classes in a
1255 form suitable for copying into an evolving class.</para>
1256 <indexterm zone="openjdk serialver">
1257 <primary sortas="b-serialver">serialver</primary>
1258 </indexterm>
1259 </listitem>
1260 </varlistentry>
1261
1262 <varlistentry id="servertool">
1263 <term><command>servertool</command></term>
1264 <listitem>
1265 <para>provides an ease-of-use interface for application programmers
1266 to register, unregister, startup and shutdown a server.</para>
1267 <indexterm zone="openjdk servertool">
1268 <primary sortas="b-servertool">servertool</primary>
1269 </indexterm>
1270 </listitem>
1271 </varlistentry>
1272
1273 <varlistentry id="tnameserv">
1274 <term><command>tnameserv</command></term>
1275 <listitem>
1276 <para>starts the Java IDL name server.</para>
1277 <indexterm zone="openjdk tnameserv">
1278 <primary sortas="b-tnameserv">tnameserv</primary>
1279 </indexterm>
1280 </listitem>
1281 </varlistentry>
1282
1283 <varlistentry id="unpack200">
1284 <term><command>unpack200</command></term>
1285 <listitem>
1286 <para>is a native implementation that transforms a packed file
1287 produced by <application>pack200</application> into a jar
1288 file.</para>
1289 <indexterm zone="openjdk unpack200">
1290 <primary sortas="b-unpack200">unpack200</primary>
1291 </indexterm>
1292 </listitem>
1293 </varlistentry>
1294
1295 <varlistentry id="wsgen">
1296 <term><command>wsgen</command></term>
1297 <listitem>
1298 <para>generates JAX-WS portable artifacts used in JAX-WS
1299 web services.</para>
1300 <indexterm zone="openjdk wsgen">
1301 <primary sortas="b-wsgen">wsgen</primary>
1302 </indexterm>
1303 </listitem>
1304 </varlistentry>
1305
1306 <varlistentry id="wsimport">
1307 <term><command>wsimport</command></term>
1308 <listitem>
1309 <para>generates JAX-WS portable artifacts.</para>
1310 <indexterm zone="openjdk wsimport">
1311 <primary sortas="b-wsimport">wsimport</primary>
1312 </indexterm>
1313 </listitem>
1314 </varlistentry>
1315
1316 <varlistentry id="xjc">
1317 <term><command>xjc</command></term>
1318 <listitem>
1319 <para>is a Java XML binding compiler.</para>
1320 <indexterm zone="openjdk xjc">
1321 <primary sortas="b-xjc">xjc</primary>
1322 </indexterm>
1323 </listitem>
1324 </varlistentry>
1325
1326 </variablelist>
1327
1328 </sect2>
1329
1330</sect1>
Note: See TracBrowser for help on using the repository browser.