source: general/prog/openjdk.xml@ e7d4e823

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 e7d4e823 was e7d4e823, checked in by Pierre Labastie <pieere@…>, 5 years ago

Some remap="test" added, one role="nodump", and one remap="doc". No change to
the rendered book, but helps jhalfs

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

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