source: general/prog/openjdk.xml@ 93a0cbf

perl-modules
Last change on this file since 93a0cbf was c1cd435e, checked in by DJ Lucas <dj@…>, 6 years ago

Update to make-ca-0.9. Fixes #11114.

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

  • Property mode set to 100644
File size: 35.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 ojdk-tarball "jdk-&openjdk-version;+&openjdk-build;.tar.bz2">
8 <!ENTITY ojdk-repo "http://hg.openjdk.java.net/jdk-updates/jdk10u">
9 <!ENTITY ojdk-download "&ojdk-repo;/archive/&ojdk-tarball;">
10
11 <!ENTITY anduin-download "&sources-anduin-http;/OpenJDK/OpenJDK-&openjdk-version;">
12
13 <!ENTITY ojdk-md5sum "d216524203251f1378e660e6fda0b2ec">
14 <!ENTITY ojdk-size "84 MB">
15
16 <!ENTITY jtreg-version "4.2-b13-433">
17 <!ENTITY jtreg-download "&anduin-download;/jtreg-&jtreg-version;.tar.gz">
18 <!ENTITY jtreg-md5sum "a2f25470e005cb7135f61f3bd9c4962e">
19 <!ENTITY jtreg-size "6.8 MB">
20
21 <!ENTITY ojdk-bdsize "5.8 GB (an additional 346 MB for tests)">
22 <!ENTITY ojdk-time "3.9 SBU with 4 jobs (an additonal 4.7 SBU for tests with 4 jobs)">
23]>
24
25<sect1 id="openjdk" xreflabel="OpenJDK-&openjdk-version;">
26 <?dbhtml filename="openjdk.html" ?>
27
28 <sect1info>
29 <othername>$LastChangedBy$</othername>
30 <date>$Date$</date>
31 </sect1info>
32
33 <title>OpenJDK-&openjdk-version;</title>
34
35 <indexterm zone="openjdk">
36 <primary sortas="a-OpenJDK">OpenJDK</primary>
37 </indexterm>
38
39 <sect2 role="package">
40 <title>Introduction to OpenJDK</title>
41
42 <para>
43 <application>OpenJDK</application> is an open-source implementation
44 of Oracle's Java Standard Edition platform.
45 <application>OpenJDK</application> is useful for developing
46 <application>Java</application> programs, and provides a complete
47 runtime environment to run <application>Java</application> programs.
48 </para>
49
50 &lfs83_checked;
51<!--
52 <note>
53 <para>
54 A browser plugin and webstart implementation is provided by the
55 Icedtea project. To provide a complete implementation, you will
56 need to later install <xref linkend="icedtea-web"/>.
57 </para>
58 </note>
59-->
60 <para>
61 OpenJDK is GPL'd code, with a special exception made for non-free
62 projects to use these classes in their proprietary products.
63 In similar fashion to the LGPL, which allows non-free programs to link
64 to libraries provided by free software, the
65 <ulink url="http://openjdk.java.net/legal/gplv2+ce.html">GNU
66 General Public License, version 2, with the Classpath Exception</ulink>
67 allows third party programs to use classes provided by free software
68 without the requirement that the third party software also be free. As
69 with the LGPL, any modifications made to the free software portions of a
70 third party application, must also be made freely available.
71 </para>
72
73 <note>
74 <para>
75 The <application>OpenJDK</application> source includes a very
76 thorough, open source test suite using the
77 <application>JTreg</application> test harness. The testing instructions
78 below allow to test the just built JDK for reasonable compatibility
79 with the proprietary Oracle JDK. However, in order for an independent
80 implementation to claim compatibility, it must pass a proprietary
81 <application>JCK/TCK</application> test suite. No claims of
82 compatibility, even partial compatibility, may be made without passing
83 an approved test suite.
84 </para>
85
86 <para>
87 Oracle does provide free community access, on a case by case basis, to
88 a closed toolkit to ensure 100% compatibility with its proprietary JDK.
89 Neither the binary version provided on the <xref linkend="java"/> page
90 nor the JVM built with the instructions below have been tested against
91 the <ulink
92 url="http://openjdk.java.net/groups/conformance/JckAccess/jck-access.html">
93 TCK</ulink>. Any version that is built using the instructions given,
94 cannot claim to be compatible with the proprietary JDK, without the
95 user applying for, and completing the compatibility tests themselves.
96 </para>
97
98 <para>
99 With that in mind, the binaries produced using this build method are
100 regularly tested against the TCK by the members listed on the site
101 above. In addition to the community license above, an educational,
102 non-commercial license for the TCK can be obtained from <ulink
103 url="http://www.oracle.com/technetwork/java/index-137188.html">
104 here</ulink>.
105 </para>
106 </note>
107
108 <bridgehead renderas="sect3">Package Information</bridgehead>
109 <itemizedlist spacing="compact">
110 <listitem>
111 <para>
112 Download (HTTP): <ulink url="&ojdk-download;"/>
113 </para>
114 </listitem>
115 <listitem>
116 <para>
117 Download (FTP): <ulink url=" "/>
118 </para>
119 </listitem>
120 <listitem>
121 <para>
122 Download MD5 sum: &ojdk-md5sum;
123 </para>
124 </listitem>
125 <listitem>
126 <para>
127 Download Size: &ojdk-size;
128 </para>
129 </listitem>
130 <listitem>
131 <para>Estimated disk space required: &ojdk-bdsize;</para>
132 </listitem>
133 <listitem>
134 <para>Estimated build time: &ojdk-time;</para>
135 </listitem>
136 </itemizedlist>
137
138 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
139
140 <bridgehead renderas="sect4">Optional test harness</bridgehead>
141
142 <itemizedlist spacing='compact'>
143 <listitem>
144 <para>
145 <ulink url="&jtreg-download;"/>
146 </para>
147 </listitem>
148 <listitem>
149 <para>
150 Download MD5 sum: &jtreg-md5sum;
151 </para>
152 </listitem>
153 <listitem>
154 <para>
155 Download Size: &jtreg-size;
156 </para>
157 </listitem>
158 </itemizedlist>
159
160 <bridgehead renderas="sect3">OpenJDK Dependencies</bridgehead>
161
162 <bridgehead renderas="sect4">Required Dependencies</bridgehead>
163 <para role="required">
164 An existing binary (<xref linkend="java"/> or an earlier built
165 version of this package. The instructions below assume that
166 you are using <xref linkend="ojdk-conf"/>),
167 <xref linkend="alsa-lib"/>,
168 <xref linkend="cpio"/>,
169 <xref linkend="cups"/>,
170 <xref linkend="unzip"/>,
171 <xref linkend="which"/>,
172 <xref linkend="xorg7-lib"/>, and
173 <xref linkend="zip"/>
174 </para>
175
176 <bridgehead renderas="sect4">Recommended</bridgehead>
177 <para role="recommended">
178 <xref linkend="make-ca"/>,
179 <xref linkend="giflib"/>,
180 <xref linkend="lcms2"/>,
181 <xref linkend="libjpeg"/>,
182 <xref linkend="libpng"/>, and
183 <xref linkend="wget"/>
184 </para>
185
186 <bridgehead renderas="sect4">Optional</bridgehead>
187 <para role="optional">
188 <xref linkend="graphviz"/>,
189 <xref linkend="mercurial"/>,
190 an X Window manager such as <xref linkend="twm"/> (for the tests), and
191 <ulink url="https://pandoc.org/">pandoc</ulink>
192 </para>
193
194 <para condition="html" role="usernotes">User Notes:
195 <ulink url="&blfs-wiki;/openjdk"/></para>
196
197 </sect2>
198
199 <sect2 role="installation">
200 <title>Installation of OpenJDK</title>
201
202 <para>
203 If you have downloaded the optional test harness, unpack it now:
204 </para>
205
206<screen><userinput>tar -xf ../jtreg-&jtreg-version;.tar.gz</userinput></screen>
207
208 <note>
209 <para>
210 Before proceeding, you should ensure that your environment
211 <envar>PATH</envar> variable contains the location of the Java
212 compiler used for bootstrapping <application>OpenJDK</application>.
213 This is the only requirement for the environment. Modern Java
214 installations do not need <envar>JAVA_HOME</envar> and
215 <envar>CLASSPATH</envar> is not used here. Furthermore, OpenJDK
216 developers recommend to unset <envar>JAVA_HOME</envar>.
217 </para>
218
219 <para>
220 The build system does not support the <option>-j</option> switch in
221 <envar>MAKEFLAGS</envar>.
222 </para>
223 </note>
224
225 <para>
226 Configure and build the package with the following commands
227 (--with-milestone value can be modified to fit user preferences):
228 </para>
229
230<screen><userinput>unset JAVA_HOME &amp;&amp;
231bash configure --enable-unlimited-crypto \
232 --disable-warnings-as-errors \
233 --with-stdc++lib=dynamic \
234 --with-giflib=system \
235 --with-jtreg=$PWD/jtreg \
236 --with-lcms=system \
237 --with-libjpeg=system \
238 --with-libpng=system \
239 --with-zlib=system \
240 --with-version-build="&openjdk-build;" \
241 --with-version-pre="" \
242 --with-version-opt="" \
243 --with-cacerts-file=/etc/ssl/java/cacerts &amp;&amp;
244make images</userinput></screen>
245
246 <para>
247 To test the results, you will need to execute the jtreg program.
248 You can set the number of concurrent tests by adding the
249 <parameter>-conc:<replaceable>&lt;X&gt;</replaceable></parameter>
250 value in the below command (tests will run sequentially otherwise):
251 </para>
252
253<screen><userinput>export JT_JAVA=$(echo $PWD/build/*/jdk) &amp;&amp;
254jtreg/bin/jtreg -jdk:$JT_JAVA -automatic -ignore:quiet -v1 \
255 test/jdk:tier1 test/langtools:tier1</userinput></screen>
256
257 <para>For more control over the test suite, review the documentation
258 available in <filename>jtreg/doc/jtreg/usage.txt</filename>. To review the
259 results, see the files
260 <filename>JTreport/test_{jdk,langtools}/text/stats.txt</filename> and
261 <filename>JTreport/test_{jdk,langtools}/text/summary.txt</filename>.
262 You should expect to see 21 failures and 2 errors in the jdk
263 test suite, and 7 failures in langtools.</para>
264
265 <para>Install the package with the following commands as the
266 <systemitem class="username">root</systemitem> user:</para>
267
268<screen role="root"><userinput>install -vdm755 /opt/jdk-&openjdk-version;+&openjdk-build; &amp;&amp;
269cp -Rv build/*/images/jdk/* /opt/jdk-&openjdk-version;+&openjdk-build; &amp;&amp;
270chown -R root:root /opt/jdk-&openjdk-version;+&openjdk-build; &amp;&amp;
271for s in 16 24 32 48; do
272 install -vDm644 src/java.desktop/unix/classes/sun/awt/X11/java-icon${s}.png \
273 /usr/share/icons/hicolor/${s}x${s}/apps/java.png
274done &amp;&amp;
275unset JT_JAVA
276</userinput></screen>
277
278 <note>
279 <para>
280 If you only wish to install the Java Runtime Environment, you can
281 substitute <filename>build/*/images/jre</filename> in the above
282 <command>cp</command> command.
283 </para>
284 </note>
285
286 <para>
287 There are now two <application>OpenJDK</application> SDKs installed
288 in <filename class="directory">/opt</filename>. You should decide on
289 which one you would like to use as the default. Normally, you would opt
290 for the just installed <application>OpenJDK</application>. If so, do
291 the following as the <systemitem class="username">root</systemitem>
292 user:
293 </para>
294
295<screen role="root"><userinput>ln -v -nsf jdk-&openjdk-version;+&openjdk-build; /opt/jdk</userinput></screen>
296
297 <para>
298 If desired, you may create .desktop files to add entries
299 in the menu for <command>java</command>, <command>policytool</command>,
300 and <command>jconsole</command>. The needed icons have already been
301 installed. As the <systemitem class="username">root</systemitem> user:
302 </para>
303
304<screen role="root"><userinput>mkdir -pv /usr/share/applications &amp;&amp;
305
306cat &gt; /usr/share/applications/openjdk-java.desktop &lt;&lt; "EOF" &amp;&amp;
307<literal>[Desktop Entry]
308Name=OpenJDK Java &openjdk-version; Runtime
309Comment=OpenJDK Java &openjdk-version; Runtime
310Exec=/opt/jdk/bin/java -jar
311Terminal=false
312Type=Application
313Icon=java
314MimeType=application/x-java-archive;application/java-archive;application/x-jar;
315NoDisplay=true</literal>
316EOF
317cat &gt; /usr/share/applications/openjdk-jconsole.desktop &lt;&lt; "EOF"
318<literal>[Desktop Entry]
319Name=OpenJDK Java &openjdk-version; Console
320Comment=OpenJDK Java &openjdk-version; Console
321Keywords=java;console;monotoring
322Exec=/opt/jdk/bin/jconsole
323Terminal=false
324Type=Application
325Icon=java
326Categories=Application;System;</literal>
327EOF</userinput></screen>
328
329 </sect2>
330
331 <sect2 role="commands">
332 <title>Command Explanations</title>
333
334 <para>
335 <command>bash configure...</command>: the top level
336 <filename>configure</filename> is a wrapper around the autotools one.
337 It is not executable and must be run through <command>bash</command>.
338 </para>
339
340 <para>
341 <parameter>--enable-unlimited-crypto</parameter>: Because of limitations
342 on the usage of cryptography in some countries, there is the possibility
343 to limit the size of encryption keys and the use of some algorithms in a
344 policy file. This switch allows to ship a policy file with no
345 restriction. It is the responsibility of the user to ensure proper
346 adherence to the law.
347 </para>
348
349 <para>
350 <parameter>--disable-warnings-as-errors</parameter>: This switch disables
351 use of <envar>-Werror</envar> in the build.
352 </para>
353
354 <para>
355 <parameter>--with-stdc++lib=dynamic</parameter>: This switch forces the
356 build system to link to <filename>libstdc++.so</filename> (dynamic)
357 instead of <filename>libstdc++.a</filename> (static).
358 </para>
359
360 <para>
361 <parameter>--with-jobs=<replaceable>&lt;X&gt;</replaceable></parameter>:
362 The <parameter>-j</parameter> passed to make does not work with make as
363 invoked here. By default, the build system will use the number of
364 CPUs - 1.
365 </para>
366
367 <para>
368 <parameter>--with-jtreg=$PWD/jtreg</parameter>: This switch tells
369 configure where to find jtreg. Omit if you have not downloaded the
370 optional test suite.
371 </para>
372
373 <para>
374 <parameter>--with-{giflib,lcms,libjpeg,libpng,zlib}=system</parameter>:
375 These switches force the build system to use the system libraries instead
376 of the bundled versions.
377 </para>
378
379 <para>
380 <parameter>--with-version-build</parameter>: Currently, the build
381 system does not include the build number in the version string. It has
382 to be specified here.
383 </para>
384
385 <para>
386 <parameter>--with-version-pre</parameter>: This switch allows you to
387 prefix the version string with a custom string.
388 </para>
389
390 <para>
391 <parameter>--with-version-opt</parameter>: This switch allows you to add
392 an optional build description to the version string.
393 </para>
394
395 <para>
396 <parameter>--with-cacerts-file=/etc/ssl/java/cacerts</parameter>:
397 Specifies where to find a <filename>cacerts</filename> file,
398 <filename>/etc/ssl/java/</filename> on a BLFS system. Otherwise, an empty
399 one is created. You can use the
400 <command>/usr/sbin/make-ca --force</command> command to generate it, once
401 you have installed the Java binaries.
402 </para>
403
404 <para>
405 <option>--with-boot-jdk</option>: This switch provides the
406 location of the temporary <application>JDK</application>. It is normally
407 not needed if <command>java</command> is found in the <envar>PATH</envar>.
408 </para>
409
410 <para>
411 <command>find ... -iname '*.diz' -delete</command>: This command
412 removes redundant files.
413 </para>
414
415 </sect2>
416
417 <sect2 role="configuration"
418 id="openjdk-config"
419 xreflabel="Configuring OpenJDK">
420 <title>Configuring OpenJDK</title>
421
422 <sect3>
423 <title>Configuration Information</title>
424
425 <para>
426 Normally, the JAVA environment has been configured after installing
427 the binary version, and can be used with the just built package as well.
428 Review <xref linkend="ojdk-conf"/> in case you want to modify
429 something.
430 </para>
431
432 <para>
433 To test if the man pages are correctly installed, issue
434 <command>source /etc/profile</command> and <command>man java</command>
435 to display the respective man page.
436 </para>
437
438 </sect3>
439
440 <sect3>
441 <title>
442 Settting up the JRE Certificate Authority Certificates (cacerts) file
443 </title>
444
445 <para>
446 If you have run the instructions on the <xref linkend="make-ca"/> page,
447 you only need to create a symlink in the default location for the
448 <filename>cacerts</filename> file. As user <systemitem
449 class="username">root</systemitem>:
450 </para>
451
452<screen role="root"><userinput>ln -sfv /etc/ssl/java/cacerts /opt/jdk/lib/security/cacerts</userinput></screen>
453
454 <para>
455 To check the installatiion, issue:
456 </para>
457
458<screen role="root"><userinput>cd /opt/jdk
459bin/keytool -list -cacerts</userinput></screen>
460
461 </sect3>
462
463 </sect2>
464
465 <sect2 role="content">
466 <title>Contents</title>
467
468 <segmentedlist>
469 <segtitle>Installed Programs</segtitle>
470 <segtitle>Installed Libraries</segtitle>
471 <segtitle>Installed Directory</segtitle>
472
473 <seglistitem>
474 <seg>appletviewer, idlj, jaotc, jar,
475 jarsigner, java, javac, javadoc, javap, jcmd, jconsole, jdb,
476 jdeprscan, jdeps, jhsdb, jimage, jinfo, jjs, jlink, jmap, jmod, jps,
477 jrunscript, jshell, jstack, jstat, jstatd, keytool,
478 orbd, pack200, rmic, rmid, rmiregistry,
479 schemagen, serialver, servertool, tnameserv, unpack200,
480 wsgen, wsimport, and xjc</seg>
481 <seg>/opt/jdk-&openjdk-version;/lib/*</seg>
482 <seg>/opt/jdk-&openjdk-version;</seg>
483 </seglistitem>
484 </segmentedlist>
485
486 <variablelist>
487 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
488 <?dbfo list-presentation="list"?>
489 <?dbhtml list-presentation="table"?>
490
491 <varlistentry id="appletviewer">
492 <term><command>appletviewer</command></term>
493 <listitem>
494 <para>allows to run applets outside of a web browser.</para>
495 <indexterm zone="openjdk appletviewer">
496 <primary sortas="b-appletviewer">appletviewer</primary>
497 </indexterm>
498 </listitem>
499 </varlistentry>
500<!--
501 <varlistentry id="extcheck">
502 <term><command>extcheck</command></term>
503 <listitem>
504 <para>checks a specified jar file for title and version conflicts
505 with any extensions installed in the
506 <application>OpenJDK</application> software.</para>
507 <indexterm zone="openjdk extcheck">
508 <primary sortas="b-extcheck">extcheck</primary>
509 </indexterm>
510 </listitem>
511 </varlistentry>
512-->
513 <varlistentry id="idlj">
514 <term><command>idlj</command></term>
515 <listitem>
516 <para>generates Java bindings from a given IDL file.</para>
517 <indexterm zone="openjdk idlj">
518 <primary sortas="b-idlj">idlj</primary>
519 </indexterm>
520 </listitem>
521 </varlistentry>
522
523 <varlistentry id="jaotc">
524 <term><command>jaotc</command></term>
525 <listitem>
526 <para>is an <quote>ahead-of-time</quote> java class compiler.</para>
527 <indexterm zone="openjdk jaotc">
528 <primary sortas="b-jaotc">jaotc</primary>
529 </indexterm>
530 </listitem>
531 </varlistentry>
532
533 <varlistentry id="jar">
534 <term><command>jar</command></term>
535 <listitem>
536 <para>combines multiple files into a single jar archive.</para>
537 <indexterm zone="openjdk jar">
538 <primary sortas="b-jar">jar</primary>
539 </indexterm>
540 </listitem>
541 </varlistentry>
542
543 <varlistentry id="jarsigner">
544 <term><command>jarsigner</command></term>
545 <listitem>
546 <para>signs jar files and verifies the signatures and integrity
547 of a signed jar file.</para>
548 <indexterm zone="openjdk jarsigner">
549 <primary sortas="b-jarsigner">jarsigner</primary>
550 </indexterm>
551 </listitem>
552 </varlistentry>
553
554 <varlistentry id="java-prog">
555 <term><command>java</command></term>
556 <listitem>
557 <para>launches a Java application by starting a Java runtime
558 environment, loading a specified class and invoking its main
559 method.</para>
560 <indexterm zone="openjdk java-prog">
561 <primary sortas="b-java-prog">java</primary>
562 </indexterm>
563 </listitem>
564 </varlistentry>
565
566 <varlistentry id="javac">
567 <term><command>javac</command></term>
568 <listitem>
569 <para>reads class and interface definitions, written in the
570 Java programming language, and compiles them into bytecode
571 class files.</para>
572 <indexterm zone="openjdk javac">
573 <primary sortas="b-javac">javac</primary>
574 </indexterm>
575 </listitem>
576 </varlistentry>
577
578 <varlistentry id="javadoc">
579 <term><command>javadoc</command></term>
580 <listitem>
581 <para>parses the declarations and documentation comments in a
582 set of Java source files and produces a corresponding set of
583 HTML pages describing the classes, interfaces, constructors,
584 methods, and fields.</para>
585 <indexterm zone="openjdk javadoc">
586 <primary sortas="b-javadoc">javadoc</primary>
587 </indexterm>
588 </listitem>
589 </varlistentry>
590
591<!--
592 <varlistentry id="javah">
593 <term><command>javah</command></term>
594 <listitem>
595 <para>generates C header and source files
596 that are needed to implement native methods.</para>
597 <indexterm zone="openjdk javah">
598 <primary sortas="b-javah">javah</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602-->
603 <varlistentry id="javap">
604 <term><command>javap</command></term>
605 <listitem>
606 <para>disassembles a Java class file.</para>
607 <indexterm zone="openjdk javap">
608 <primary sortas="b-javap">javap</primary>
609 </indexterm>
610 </listitem>
611 </varlistentry>
612<!--
613 <varlistentry id="java-rmi.cgi">
614 <term><command>java-rmi.cgi</command></term>
615 <listitem>
616 <para>is the Java RMI client.</para>
617 <indexterm zone="openjdk java-rmi.cgi">
618 <primary sortas="b-java-rmi.cgi">java-rmi.cgi</primary>
619 </indexterm>
620 </listitem>
621 </varlistentry>
622-->
623 <varlistentry id="jcmd">
624 <term><command>jcmd</command></term>
625 <listitem>
626 <para>is a utility to send diagnostic command requests to a running
627 Java Virtual Machine.</para>
628 <indexterm zone="openjdk jcmd">
629 <primary sortas="b-jcmd">jcmd</primary>
630 </indexterm>
631 </listitem>
632 </varlistentry>
633
634 <varlistentry id="jconsole">
635 <term><command>jconsole</command></term>
636 <listitem>
637 <para>is a graphical console tool to monitor and manage both
638 local and remote Java applications and virtual machines.</para>
639 <indexterm zone="openjdk jconsole">
640 <primary sortas="b-jconsole">jconsole</primary>
641 </indexterm>
642 </listitem>
643 </varlistentry>
644
645 <varlistentry id="jdb">
646 <term><command>jdb</command></term>
647 <listitem>
648 <para>is a simple command-line debugger for Java classes.</para>
649 <indexterm zone="openjdk jdb">
650 <primary sortas="b-jdb">jdb</primary>
651 </indexterm>
652 </listitem>
653 </varlistentry>
654
655 <varlistentry id="jdeprscan">
656 <term><command>jdeprscan</command></term>
657 <listitem>
658 <para>scans class or jar files for uses of deprecated API
659 elements.</para>
660 <indexterm zone="openjdk jdeprscan">
661 <primary sortas="b-jdeprscan">jdeprscan</primary>
662 </indexterm>
663 </listitem>
664 </varlistentry>
665
666 <varlistentry id="jdeps">
667 <term><command>jdeps</command></term>
668 <listitem>
669 <para>shows the package-level or class-level dependencies of
670 Java class files.</para>
671 <indexterm zone="openjdk jdeps">
672 <primary sortas="b-jdeps">jdeps</primary>
673 </indexterm>
674 </listitem>
675 </varlistentry>
676
677 <varlistentry id="jhsdb">
678 <term><command>jhsdb</command></term>
679 <listitem>
680 <para>is a tool to analyze the content of a core dump from a
681 crashed Java Virtual Machine (JVM).</para>
682 <indexterm zone="openjdk jhsdb">
683 <primary sortas="b-jhsdb">jhsdb</primary>
684 </indexterm>
685 </listitem>
686 </varlistentry>
687<!--
688 <varlistentry id="jhat">
689 <term><command>jhat</command></term>
690 <listitem>
691 <para>parses a java heap dump file and allows viewing it
692 in a web browser.</para>
693 <indexterm zone="openjdk jhat">
694 <primary sortas="b-jhat">jhat</primary>
695 </indexterm>
696 </listitem>
697 </varlistentry>
698-->
699 <varlistentry id="jimage">
700 <term><command>jimage</command></term>
701 <listitem>
702 <para>is used to list, extract, verify, or get information about
703 modules in <emphasis>jimage</emphasis> format.</para>
704 <indexterm zone="openjdk jimage">
705 <primary sortas="b-jimage">jimage</primary>
706 </indexterm>
707 </listitem>
708 </varlistentry>
709
710 <varlistentry id="jinfo">
711 <term><command>jinfo</command></term>
712 <listitem>
713 <para>prints Java configuration information for a given Java
714 process, core file, or a remote debug server.</para>
715 <indexterm zone="openjdk jinfo">
716 <primary sortas="b-jinfo">jinfo</primary>
717 </indexterm>
718 </listitem>
719 </varlistentry>
720
721 <varlistentry id="jjs">
722 <term><command>jjs</command></term>
723 <listitem>
724 <para>is a command-line tool used to invoke the Nashorn engine. It
725 can be used to interpret one or several script files, or to run
726 an interactive shell.</para>
727 <indexterm zone="openjdk jjs">
728 <primary sortas="b-jjs">jjs</primary>
729 </indexterm>
730 </listitem>
731 </varlistentry>
732
733 <varlistentry id="jlink">
734 <term><command>jlink</command></term>
735 <listitem>
736 <para>is used to assemble and optimize a set of modules and their
737 dependencies into a custom runtime image.</para>
738 <indexterm zone="openjdk jlink">
739 <primary sortas="b-jlink">jlink</primary>
740 </indexterm>
741 </listitem>
742 </varlistentry>
743
744 <varlistentry id="jmap">
745 <term><command>jmap</command></term>
746 <listitem>
747 <para>prints shared object memory maps or heap memory details
748 of a given process, core file, or a remote debug server.</para>
749 <indexterm zone="openjdk jmap">
750 <primary sortas="b-jmap">jmap</primary>
751 </indexterm>
752 </listitem>
753 </varlistentry>
754
755 <varlistentry id="jmod">
756 <term><command>jmod</command></term>
757 <listitem>
758 <para>creates JMOD files and lists the content of existing JMOD
759 files.</para>
760 <indexterm zone="openjdk jmod">
761 <primary sortas="b-jmod">jmod</primary>
762 </indexterm>
763 </listitem>
764 </varlistentry>
765
766
767 <varlistentry id="jps">
768 <term><command>jps</command></term>
769 <listitem>
770 <para>lists the instrumented JVMs on the target system.</para>
771 <indexterm zone="openjdk jps">
772 <primary sortas="b-jps">jps</primary>
773 </indexterm>
774 </listitem>
775 </varlistentry>
776
777 <varlistentry id="jrunscript">
778 <term><command>jrunscript</command></term>
779 <listitem>
780 <para>is a command line script shell.</para>
781 <indexterm zone="openjdk jrunscript">
782 <primary sortas="b-jrunscript">jrunscript</primary>
783 </indexterm>
784 </listitem>
785 </varlistentry>
786
787 <varlistentry id="jshell">
788 <term><command>jshell</command></term>
789 <listitem>
790 <para>is an interactive tool for learning the Java programming
791 language and prototyping Java code.</para>
792 <indexterm zone="openjdk jshell">
793 <primary sortas="b-jshell">jshell</primary>
794 </indexterm>
795 </listitem>
796 </varlistentry>
797<!--
798 <varlistentry id="jsadebugd">
799 <term><command>jsadebugd</command></term>
800 <listitem>
801 <para>attaches to a Java process or core file and acts as a
802 debug server.</para>
803 <indexterm zone="openjdk jsadebugd">
804 <primary sortas="b-jsadebugd">jsadebugd</primary>
805 </indexterm>
806 </listitem>
807 </varlistentry>
808-->
809 <varlistentry id="jstack">
810 <term><command>jstack</command></term>
811 <listitem>
812 <para>prints Java stack traces of Java threads for a given
813 Java process, core file, or a remote debug server.</para>
814 <indexterm zone="openjdk jstack">
815 <primary sortas="b-jstack">jstack</primary>
816 </indexterm>
817 </listitem>
818 </varlistentry>
819
820 <varlistentry id="jstat">
821 <term><command>jstat</command></term>
822 <listitem>
823 <para>displays performance statistics for an instrumented JVM.</para>
824 <indexterm zone="openjdk jstat">
825 <primary sortas="b-jstat">jstat</primary>
826 </indexterm>
827 </listitem>
828 </varlistentry>
829
830 <varlistentry id="jstatd">
831 <term><command>jstatd</command></term>
832 <listitem>
833 <para>is an RMI server application that monitors for the creation
834 and termination of instrumented JVMs.</para>
835 <indexterm zone="openjdk jstatd">
836 <primary sortas="b-jstatd">jstatd</primary>
837 </indexterm>
838 </listitem>
839 </varlistentry>
840
841 <varlistentry id="keytool">
842 <term><command>keytool</command></term>
843 <listitem>
844 <para>is a key and certificate management utility.</para>
845 <indexterm zone="openjdk keytool">
846 <primary sortas="b-keytool">keytool</primary>
847 </indexterm>
848 </listitem>
849 </varlistentry>
850<!--
851 <varlistentry id="native2ascii">
852 <term><command>native2ascii</command></term>
853 <listitem>
854 <para> converts files that contain non-supported character encoding
855 into files containing Latin-1 or Unicode-encoded characters.</para>
856 <indexterm zone="openjdk native2ascii">
857 <primary sortas="b-native2ascii">native2ascii</primary>
858 </indexterm>
859 </listitem>
860 </varlistentry>
861-->
862 <varlistentry id="orbd">
863 <term><command>orbd</command></term>
864 <listitem>
865 <para>is used to enable clients to transparently locate and invoke
866 persistent objects on servers in the CORBA environment.</para>
867 <indexterm zone="openjdk orbd">
868 <primary sortas="b-orbd">orbd</primary>
869 </indexterm>
870 </listitem>
871 </varlistentry>
872
873 <varlistentry id="pack200">
874 <term><command>pack200</command></term>
875 <listitem>
876 <para>is a Java application that transforms a jar file into a
877 compressed pack200 file using the Java gzip compressor.</para>
878 <indexterm zone="openjdk pack200">
879 <primary sortas="b-pack200">pack200</primary>
880 </indexterm>
881 </listitem>
882 </varlistentry>
883<!--
884 <varlistentry id="policytool">
885 <term><command>policytool</command></term>
886 <listitem>
887 <para>creates and manages a policy file graphically.</para>
888 <indexterm zone="openjdk policytool">
889 <primary sortas="b-policytool">policytool</primary>
890 </indexterm>
891 </listitem>
892 </varlistentry>
893-->
894 <varlistentry id="rmic">
895 <term><command>rmic</command></term>
896 <listitem>
897 <para>generates stub and skeleton class files for remote objects
898 from the names of compiled Java classes that contain remote
899 object implementations.</para>
900 <indexterm zone="openjdk rmic">
901 <primary sortas="b-rmic">rmic</primary>
902 </indexterm>
903 </listitem>
904 </varlistentry>
905
906 <varlistentry id="rmid">
907 <term><command>rmid</command></term>
908 <listitem>
909 <para>starts the activation system daemon.</para>
910 <indexterm zone="openjdk rmid">
911 <primary sortas="b-rmid">rmid</primary>
912 </indexterm>
913 </listitem>
914 </varlistentry>
915
916 <varlistentry id="rmiregistry">
917 <term><command>rmiregistry</command></term>
918 <listitem>
919 <para>creates and starts a remote object registry on the specified
920 port on the current host.</para>
921 <indexterm zone="openjdk rmiregistry">
922 <primary sortas="b-rmiregistry">rmiregistry</primary>
923 </indexterm>
924 </listitem>
925 </varlistentry>
926
927 <varlistentry id="schemagen">
928 <term><command>schemagen</command></term>
929 <listitem>
930 <para>is a Java XML binding schema generator.</para>
931 <indexterm zone="openjdk schemagen">
932 <primary sortas="b-schemagen">schemagen</primary>
933 </indexterm>
934 </listitem>
935 </varlistentry>
936
937 <varlistentry id="serialver">
938 <term><command>serialver</command></term>
939 <listitem>
940 <para>returns the serialVersionUID for one or more classes in a
941 form suitable for copying into an evolving class.</para>
942 <indexterm zone="openjdk serialver">
943 <primary sortas="b-serialver">serialver</primary>
944 </indexterm>
945 </listitem>
946 </varlistentry>
947
948 <varlistentry id="servertool">
949 <term><command>servertool</command></term>
950 <listitem>
951 <para>provides an ease-of-use interface for application programmers
952 to register, unregister, startup and shutdown a server.</para>
953 <indexterm zone="openjdk servertool">
954 <primary sortas="b-servertool">servertool</primary>
955 </indexterm>
956 </listitem>
957 </varlistentry>
958
959 <varlistentry id="tnameserv">
960 <term><command>tnameserv</command></term>
961 <listitem>
962 <para>starts the Java IDL name server.</para>
963 <indexterm zone="openjdk tnameserv">
964 <primary sortas="b-tnameserv">tnameserv</primary>
965 </indexterm>
966 </listitem>
967 </varlistentry>
968
969 <varlistentry id="unpack200">
970 <term><command>unpack200</command></term>
971 <listitem>
972 <para>is a native implementation that transforms a packed file
973 produced by <application>pack200</application> into a jar
974 file.</para>
975 <indexterm zone="openjdk unpack200">
976 <primary sortas="b-unpack200">unpack200</primary>
977 </indexterm>
978 </listitem>
979 </varlistentry>
980
981 <varlistentry id="wsgen">
982 <term><command>wsgen</command></term>
983 <listitem>
984 <para>generates JAX-WS portable artifacts used in JAX-WS
985 web services.</para>
986 <indexterm zone="openjdk wsgen">
987 <primary sortas="b-wsgen">wsgen</primary>
988 </indexterm>
989 </listitem>
990 </varlistentry>
991
992 <varlistentry id="wsimport">
993 <term><command>wsimport</command></term>
994 <listitem>
995 <para>generates JAX-WS portable artifacts.</para>
996 <indexterm zone="openjdk wsimport">
997 <primary sortas="b-wsimport">wsimport</primary>
998 </indexterm>
999 </listitem>
1000 </varlistentry>
1001
1002 <varlistentry id="xjc">
1003 <term><command>xjc</command></term>
1004 <listitem>
1005 <para>is a Java XML binding compiler.</para>
1006 <indexterm zone="openjdk xjc">
1007 <primary sortas="b-xjc">xjc</primary>
1008 </indexterm>
1009 </listitem>
1010 </varlistentry>
1011
1012 </variablelist>
1013
1014 </sect2>
1015
1016</sect1>
Note: See TracBrowser for help on using the repository browser.