source: general/prog/openjdk.xml@ a790ec35

11.2 plabs/python-mods qt5new trunk xry111/soup3
Last change on this file since a790ec35 was a790ec35, checked in by Pierre Labastie <pierre.labastie@…>, 7 months ago

FInish updating to OpenJDK-18.0.1.1

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