source: general/prog/openjdk.xml@ 35ea4f04

11.3 12.0 12.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 xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 35ea4f04 was 35ea4f04, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Update to OpenJDK-19.0.1

  • Property mode set to 100644
File size: 33.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;-ga.tar.gz">
8 <!ENTITY ojdk-repo "https://github.com/openjdk/jdk19u">
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 "e1067bc90894e5377b61dca68a22f07c">
14 <!ENTITY ojdk-size "103 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 "5.1 GB (add 596 MB for tests)">
22 <!ENTITY ojdk-time "5.0 SBU with 4 jobs (add 48 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 &lfs112_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="https://openjdk.org/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="https://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="https://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 <!--
289 14.0.1+7:
290 for x86_64: passed: 5,836; failed: 42; error: 50
291 17.0.2+8:
292 for x86_64: passed: 6,238; failed: 48; error: 13
293 for i686: passed: 6,208; failed: 29; error: 6
294 18.0.1+10:
295 for x86_64: passed: 6,323; failed: 53; error: 14
296 for i686: passed: 6,290; failed: 29; error: 11
297 18.0.1.1+2:
298 for x86_64: passed: 6,323; failed: 53; error: 14
299 for i686: passed: 6,290; failed: 29; error: 11
300 18.0.2+8:
301 for x86_64: passed: 6,329; failed: 50; error: 14
302 for i686: passed: 6,289; failed: 31; error: 13
303 19.0.1+10:
304 for x86_64: passed: 6,423; failed: 58; error: 15
305 for i686: passed: 6,376; failed: 31; error: 12
306 -->
307
308 <para>
309 Install the package with the following commands as the
310 <systemitem class="username">root</systemitem> user:
311 </para>
312
313<screen role="root"><userinput>install -vdm755 /opt/jdk-&openjdk-version;+&openjdk-build; &amp;&amp;
314cp -Rv build/*/images/jdk/* /opt/jdk-&openjdk-version;+&openjdk-build; &amp;&amp;
315chown -R root:root /opt/jdk-&openjdk-version;+&openjdk-build; &amp;&amp;
316for s in 16 24 32 48; do
317 install -vDm644 src/java.desktop/unix/classes/sun/awt/X11/java-icon${s}.png \
318 /usr/share/icons/hicolor/${s}x${s}/apps/java.png
319done</userinput></screen>
320
321 <note>
322 <para>
323 If you only wish to install the Java Runtime Environment, you can
324 substitute <filename>build/*/images/jre</filename> in the above
325 <command>cp</command> command.
326 </para>
327 </note>
328
329 <para>
330 There are now two <application>OpenJDK</application> SDKs installed
331 in <filename class="directory">/opt</filename>. You should decide on
332 which one you would like to use as the default. Normally, you would opt
333 for the just installed <application>OpenJDK</application>. If so, do
334 the following as the <systemitem class="username">root</systemitem>
335 user:
336 </para>
337
338<screen role="root"><userinput>ln -v -nsf jdk-&openjdk-version;+&openjdk-build; /opt/jdk</userinput></screen>
339
340 <para>
341 If desired, you can create .desktop files to add entries
342 in the menu for <command>java</command>
343 and <command>jconsole</command>. The needed icons have already been
344 installed. As the <systemitem class="username">root</systemitem> user:
345 </para>
346
347<screen role="root"><userinput>mkdir -pv /usr/share/applications &amp;&amp;
348
349cat &gt; /usr/share/applications/openjdk-java.desktop &lt;&lt; "EOF" &amp;&amp;
350<literal>[Desktop Entry]
351Name=OpenJDK Java &openjdk-version; Runtime
352Comment=OpenJDK Java &openjdk-version; Runtime
353Exec=/opt/jdk/bin/java -jar
354Terminal=false
355Type=Application
356Icon=java
357MimeType=application/x-java-archive;application/java-archive;application/x-jar;
358NoDisplay=true</literal>
359EOF
360cat &gt; /usr/share/applications/openjdk-jconsole.desktop &lt;&lt; "EOF"
361<literal>[Desktop Entry]
362Name=OpenJDK Java &openjdk-version; Console
363Comment=OpenJDK Java &openjdk-version; Console
364Keywords=java;console;monitoring
365Exec=/opt/jdk/bin/jconsole
366Terminal=false
367Type=Application
368Icon=java
369Categories=Application;System;</literal>
370EOF</userinput></screen>
371
372 </sect2>
373
374 <sect2 role="commands">
375 <title>Command Explanations</title>
376
377 <para>
378 <command>bash configure...</command>: the top level
379 <filename>configure</filename> is a wrapper around the autotools one.
380 It is not executable and must be run through <command>bash</command>.
381 </para>
382<!-- Not needed in openjdk-15
383 <para>
384 <parameter>- -with-extra-cflags=-fcommon</parameter>: Allows building
385 with GCC 10.
386 </para>
387-->
388 <para>
389 <parameter>--enable-unlimited-crypto</parameter>: Because of limitations
390 on the usage of cryptography in some countries, there is the possibility
391 to limit the size of encryption keys and the use of some algorithms in a
392 policy file. This switch allows to ship a policy file with no
393 restriction. It is the responsibility of the user to ensure proper
394 adherence to the law.
395 </para>
396
397 <para>
398 <parameter>--disable-warnings-as-errors</parameter>: This switch disables
399 use of <envar>-Werror</envar> in the build.
400 </para>
401
402 <para>
403 <parameter>--with-stdc++lib=dynamic</parameter>: This switch forces the
404 build system to link to <filename>libstdc++.so</filename> (dynamic)
405 instead of <filename>libstdc++.a</filename> (static).
406 </para>
407
408 <para>
409 <option>--with-jobs=<replaceable>&lt;X&gt;</replaceable></option>:
410 The <parameter>-j</parameter> passed to make does not work with make as
411 invoked here. By default, the build system will use the number of
412 CPUs - 1.
413 </para>
414
415 <para>
416 <parameter>--with-jtreg=$PWD/jtreg</parameter>: This switch tells
417 configure where to find jtreg. Omit if you have not downloaded the
418 optional test suite.
419 </para>
420
421 <para>
422 <parameter>--with-{giflib,lcms,libjpeg,libpng,zlib}=system</parameter>:
423 These switches force the build system to use the system libraries instead
424 of the bundled versions.
425 </para>
426
427 <para>
428 <parameter>--with-version-build</parameter>: Currently, the build
429 system does not include the build number in the version string. It has
430 to be specified here.
431 </para>
432
433 <para>
434 <parameter>--with-version-pre</parameter>: This switch allows you to
435 prefix the version string with a custom string.
436 </para>
437
438 <para>
439 <parameter>--with-version-opt</parameter>: This switch allows you to add
440 an optional build description to the version string.
441 </para>
442
443 <para>
444 <parameter>--with-cacerts-file=/etc/pki/tls/java/cacerts</parameter>:
445 Specifies where to find a <filename>cacerts</filename> file,
446 <filename>/etc/pki/tls/java/</filename> on a BLFS system. Otherwise, an
447 empty one is created. You can use the
448 <command>/usr/sbin/make-ca --force</command> command to generate it, once
449 you have installed the Java binaries.
450 </para>
451
452 <para>
453 <option>--with-boot-jdk</option>: This switch provides the
454 location of the temporary <application>JDK</application>. It is normally
455 not needed if <command>java</command> is found in the <envar>PATH</envar>.
456 </para>
457<!-- Seems to have disappeared
458 <para>
459 <command>find ... -iname '*.diz' -delete</command>: This command
460 removes redundant files.
461 </para>
462-->
463 </sect2>
464
465 <sect2 role="configuration"
466 id="openjdk-config"
467 xreflabel="Configuring OpenJDK">
468 <title>Configuring OpenJDK</title>
469
470 <sect3>
471 <title>Configuration Information</title>
472
473 <para>
474 Normally, the JAVA environment has been configured after installing
475 the binary version, and can be used with the just built package as well.
476 Review <xref linkend="ojdk-conf"/> in case you want to modify
477 something.
478 </para>
479
480 <para>
481 To test if the man pages are correctly installed, issue
482 <command>source /etc/profile</command> and <command>man java</command>
483 to display the respective man page.
484 </para>
485
486 </sect3>
487
488 <sect3>
489 <title>
490 Setting up the JRE Certificate Authority Certificates (cacerts) file
491 </title>
492
493 <para>
494 If you have run the instructions on the <xref linkend="make-ca"/> page,
495 you only need to create a symlink in the default location for the
496 <filename>cacerts</filename> file. As user <systemitem
497 class="username">root</systemitem>:
498 </para>
499
500<screen role="root"><userinput>ln -sfv /etc/pki/tls/java/cacerts /opt/jdk/lib/security/cacerts</userinput></screen>
501
502 <para>
503 To check the installation, issue:
504 </para>
505
506<screen role="root"><userinput>cd /opt/jdk
507bin/keytool -list -cacerts</userinput></screen>
508
509 <para>
510 At the prompt <computeroutput>Enter keystore password:</computeroutput>,
511 enter <userinput>changeit</userinput> (the default) or just press the
512 <quote>Enter</quote> key. If the <filename>cacerts</filename> file was
513 installed correctly, you will see a list of the certificates with
514 related information for each one. If not, you need to reinstall them.
515 </para>
516
517 </sect3>
518
519 </sect2>
520
521 <sect2 role="content">
522 <title>Contents</title>
523
524 <segmentedlist>
525 <segtitle>Installed Programs</segtitle>
526 <segtitle>Installed Libraries</segtitle>
527 <segtitle>Installed Directory</segtitle>
528
529 <seglistitem>
530 <seg>jar, jarsigner, java, javac, javadoc, javap, jcmd,
531 jconsole, jdb, jdeprscan, jdeps, jfr, jhsdb, jimage, jinfo,
532 jlink, jmap, jmod, jpackage, jps, jrunscript, jshell, jstack,
533 jstat, jstatd, jwebserver, keytool, rmiregistry, and serialver</seg>
534 <seg>/opt/jdk-&openjdk-version;/lib/*</seg>
535 <seg>/opt/jdk-&openjdk-version;</seg>
536 </seglistitem>
537 </segmentedlist>
538
539 <variablelist>
540 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
541 <?dbfo list-presentation="list"?>
542 <?dbhtml list-presentation="table"?>
543
544<!-- Not seen in 17.0.1
545 <varlistentry id="jaotc">
546 <term><command>jaotc</command></term>
547 <listitem>
548 <para>
549 is an <quote>ahead-of-time</quote> java class compiler
550 </para>
551 <indexterm zone="openjdk jaotc">
552 <primary sortas="b-jaotc">jaotc</primary>
553 </indexterm>
554 </listitem>
555 </varlistentry>
556-->
557
558 <varlistentry id="jar">
559 <term><command>jar</command></term>
560 <listitem>
561 <para>
562 combines multiple files into a single jar archive
563 </para>
564 <indexterm zone="openjdk jar">
565 <primary sortas="b-jar">jar</primary>
566 </indexterm>
567 </listitem>
568 </varlistentry>
569
570 <varlistentry id="jarsigner">
571 <term><command>jarsigner</command></term>
572 <listitem>
573 <para>
574 signs jar files and verifies the signatures and integrity
575 of a signed jar file
576 </para>
577 <indexterm zone="openjdk jarsigner">
578 <primary sortas="b-jarsigner">jarsigner</primary>
579 </indexterm>
580 </listitem>
581 </varlistentry>
582
583 <varlistentry id="java-prog">
584 <term><command>java</command></term>
585 <listitem>
586 <para>
587 launches a Java application by starting a Java runtime
588 environment, loading a specified class and invoking its main
589 method
590 </para>
591 <indexterm zone="openjdk java-prog">
592 <primary sortas="b-java-prog">java</primary>
593 </indexterm>
594 </listitem>
595 </varlistentry>
596
597 <varlistentry id="javac">
598 <term><command>javac</command></term>
599 <listitem>
600 <para>
601 reads class and interface definitions, written in the
602 Java programming language, and compiles them into bytecode
603 class files
604 </para>
605 <indexterm zone="openjdk javac">
606 <primary sortas="b-javac">javac</primary>
607 </indexterm>
608 </listitem>
609 </varlistentry>
610
611 <varlistentry id="javadoc">
612 <term><command>javadoc</command></term>
613 <listitem>
614 <para>
615 parses the declarations and documentation comments in a
616 set of Java source files and produces a corresponding set of
617 HTML pages describing the classes, interfaces, constructors,
618 methods, and fields
619 </para>
620 <indexterm zone="openjdk javadoc">
621 <primary sortas="b-javadoc">javadoc</primary>
622 </indexterm>
623 </listitem>
624 </varlistentry>
625
626 <varlistentry id="javap">
627 <term><command>javap</command></term>
628 <listitem>
629 <para>
630 disassembles a Java class file
631 </para>
632 <indexterm zone="openjdk javap">
633 <primary sortas="b-javap">javap</primary>
634 </indexterm>
635 </listitem>
636 </varlistentry>
637
638 <varlistentry id="jcmd">
639 <term><command>jcmd</command></term>
640 <listitem>
641 <para>
642 is a utility to send diagnostic command requests to a running
643 Java Virtual Machine
644 </para>
645 <indexterm zone="openjdk jcmd">
646 <primary sortas="b-jcmd">jcmd</primary>
647 </indexterm>
648 </listitem>
649 </varlistentry>
650
651 <varlistentry id="jconsole">
652 <term><command>jconsole</command></term>
653 <listitem>
654 <para>
655 is a graphical console tool to monitor and manage both
656 local and remote Java applications and virtual machines
657 </para>
658 <indexterm zone="openjdk jconsole">
659 <primary sortas="b-jconsole">jconsole</primary>
660 </indexterm>
661 </listitem>
662 </varlistentry>
663
664 <varlistentry id="jdb">
665 <term><command>jdb</command></term>
666 <listitem>
667 <para>
668 is a simple command-line debugger for Java classes
669 </para>
670 <indexterm zone="openjdk jdb">
671 <primary sortas="b-jdb">jdb</primary>
672 </indexterm>
673 </listitem>
674 </varlistentry>
675
676 <varlistentry id="jdeprscan">
677 <term><command>jdeprscan</command></term>
678 <listitem>
679 <para>
680 scans class or jar files for uses of deprecated API elements
681 </para>
682 <indexterm zone="openjdk jdeprscan">
683 <primary sortas="b-jdeprscan">jdeprscan</primary>
684 </indexterm>
685 </listitem>
686 </varlistentry>
687
688 <varlistentry id="jdeps">
689 <term><command>jdeps</command></term>
690 <listitem>
691 <para>
692 shows the package-level or class-level dependencies of
693 Java class files
694 </para>
695 <indexterm zone="openjdk jdeps">
696 <primary sortas="b-jdeps">jdeps</primary>
697 </indexterm>
698 </listitem>
699 </varlistentry>
700
701 <varlistentry id="jfr">
702 <term><command>jfr</command></term>
703 <listitem>
704 <para>
705 is a tool for working with <quote>Flight Recorder</quote> files
706 </para>
707 <indexterm zone="openjdk jfr">
708 <primary sortas="b-jfr">jfr</primary>
709 </indexterm>
710 </listitem>
711 </varlistentry>
712
713 <varlistentry id="jhsdb">
714 <term><command>jhsdb</command></term>
715 <listitem>
716 <para>
717 is a tool to analyze the content of a core dump from a
718 crashed Java Virtual Machine (JVM)
719 </para>
720 <indexterm zone="openjdk jhsdb">
721 <primary sortas="b-jhsdb">jhsdb</primary>
722 </indexterm>
723 </listitem>
724 </varlistentry>
725
726 <varlistentry id="jimage">
727 <term><command>jimage</command></term>
728 <listitem>
729 <para>
730 is used to list, extract, verify, or get information about
731 modules in <emphasis>jimage</emphasis> format
732 </para>
733 <indexterm zone="openjdk jimage">
734 <primary sortas="b-jimage">jimage</primary>
735 </indexterm>
736 </listitem>
737 </varlistentry>
738
739 <varlistentry id="jinfo">
740 <term><command>jinfo</command></term>
741 <listitem>
742 <para>
743 prints Java configuration information for a given Java
744 process, core file, or a remote debug server
745 </para>
746 <indexterm zone="openjdk jinfo">
747 <primary sortas="b-jinfo">jinfo</primary>
748 </indexterm>
749 </listitem>
750 </varlistentry>
751<!--
752 <varlistentry id="jjs">
753 <term><command>jjs</command></term>
754 <listitem>
755 <para>
756 is a command-line tool used to invoke the Nashorn engine. It
757 can be used to interpret one or several script files, or to run
758 an interactive shell.
759 </para>
760 <indexterm zone="openjdk jjs">
761 <primary sortas="b-jjs">jjs</primary>
762 </indexterm>
763 </listitem>
764 </varlistentry>
765-->
766 <varlistentry id="jlink">
767 <term><command>jlink</command></term>
768 <listitem>
769 <para>
770 is used to assemble and optimize a set of modules and their
771 dependencies into a custom runtime image
772 </para>
773 <indexterm zone="openjdk jlink">
774 <primary sortas="b-jlink">jlink</primary>
775 </indexterm>
776 </listitem>
777 </varlistentry>
778
779 <varlistentry id="jmap">
780 <term><command>jmap</command></term>
781 <listitem>
782 <para>
783 prints shared object memory maps or heap memory details
784 of a given process, core file, or a remote debug server
785 </para>
786 <indexterm zone="openjdk jmap">
787 <primary sortas="b-jmap">jmap</primary>
788 </indexterm>
789 </listitem>
790 </varlistentry>
791
792 <varlistentry id="jmod">
793 <term><command>jmod</command></term>
794 <listitem>
795 <para>
796 creates JMOD files and lists the content of existing JMOD files
797 </para>
798 <indexterm zone="openjdk jmod">
799 <primary sortas="b-jmod">jmod</primary>
800 </indexterm>
801 </listitem>
802 </varlistentry>
803
804 <varlistentry id="jpackage">
805 <term><command>jpackage</command></term>
806 <listitem>
807 <para>
808 generates java application packages and images
809 </para>
810 <indexterm zone="openjdk jpackage">
811 <primary sortas="b-jpackage">jpackage</primary>
812 </indexterm>
813 </listitem>
814 </varlistentry>
815
816 <varlistentry id="jps">
817 <term><command>jps</command></term>
818 <listitem>
819 <para>
820 lists the instrumented JVMs on the target system
821 </para>
822 <indexterm zone="openjdk jps">
823 <primary sortas="b-jps">jps</primary>
824 </indexterm>
825 </listitem>
826 </varlistentry>
827
828 <varlistentry id="jrunscript">
829 <term><command>jrunscript</command></term>
830 <listitem>
831 <para>
832 is a command line script shell
833 </para>
834 <indexterm zone="openjdk jrunscript">
835 <primary sortas="b-jrunscript">jrunscript</primary>
836 </indexterm>
837 </listitem>
838 </varlistentry>
839
840 <varlistentry id="jshell">
841 <term><command>jshell</command></term>
842 <listitem>
843 <para>
844 is an interactive tool for learning the Java programming
845 language and prototyping Java code
846 </para>
847 <indexterm zone="openjdk jshell">
848 <primary sortas="b-jshell">jshell</primary>
849 </indexterm>
850 </listitem>
851 </varlistentry>
852
853 <varlistentry id="jstack">
854 <term><command>jstack</command></term>
855 <listitem>
856 <para>
857 prints Java stack traces of Java threads for a given
858 Java process, core file, or a remote debug server
859 </para>
860 <indexterm zone="openjdk jstack">
861 <primary sortas="b-jstack">jstack</primary>
862 </indexterm>
863 </listitem>
864 </varlistentry>
865
866 <varlistentry id="jstat">
867 <term><command>jstat</command></term>
868 <listitem>
869 <para>
870 displays performance statistics for an instrumented JVM
871 </para>
872 <indexterm zone="openjdk jstat">
873 <primary sortas="b-jstat">jstat</primary>
874 </indexterm>
875 </listitem>
876 </varlistentry>
877
878 <varlistentry id="jstatd">
879 <term><command>jstatd</command></term>
880 <listitem>
881 <para>
882 is an RMI server application that monitors for the creation
883 and termination of instrumented JVMs
884 </para>
885 <indexterm zone="openjdk jstatd">
886 <primary sortas="b-jstatd">jstatd</primary>
887 </indexterm>
888 </listitem>
889 </varlistentry>
890
891 <varlistentry id="jwebserver">
892 <term><command>jwebserver</command></term>
893 <listitem>
894 <para>
895 provides a minimal HTTP server, designed to be used for
896 prototyping, testing, and debugging
897 </para>
898 <indexterm zone="openjdk jwebserver">
899 <primary sortas="b-jwebserver">jwebserver</primary>
900 </indexterm>
901 </listitem>
902 </varlistentry>
903
904 <varlistentry id="keytool">
905 <term><command>keytool</command></term>
906 <listitem>
907 <para>
908 is a key and certificate management utility
909 </para>
910 <indexterm zone="openjdk keytool">
911 <primary sortas="b-keytool">keytool</primary>
912 </indexterm>
913 </listitem>
914 </varlistentry>
915 <!--
916 <varlistentry id="pack200">
917 <term><command>pack200</command></term>
918 <listitem>
919 <para>
920 is a Java application that transforms a jar file into a
921 compressed pack200 file using the Java gzip compressor.
922 </para>
923 <indexterm zone="openjdk pack200">
924 <primary sortas="b-pack200">pack200</primary>
925 </indexterm>
926 </listitem>
927 </varlistentry>
928
929 <varlistentry id="rmic">
930 <term><command>rmic</command></term>
931 <listitem>
932 <para>
933 generates stub and skeleton class files for remote objects
934 from the names of compiled Java classes that contain remote
935 object implementations.
936 </para>
937 <indexterm zone="openjdk rmic">
938 <primary sortas="b-rmic">rmic</primary>
939 </indexterm>
940 </listitem>
941 </varlistentry>
942 -->
943<!-- Not seen in 17.0.1
944 <varlistentry id="rmid">
945 <term><command>rmid</command></term>
946 <listitem>
947 <para>
948 starts the activation system daemon
949 </para>
950 <indexterm zone="openjdk rmid">
951 <primary sortas="b-rmid">rmid</primary>
952 </indexterm>
953 </listitem>
954 </varlistentry>
955-->
956
957 <varlistentry id="rmiregistry">
958 <term><command>rmiregistry</command></term>
959 <listitem>
960 <para>
961 creates and starts a remote object registry on the specified
962 port on the current host
963 </para>
964 <indexterm zone="openjdk rmiregistry">
965 <primary sortas="b-rmiregistry">rmiregistry</primary>
966 </indexterm>
967 </listitem>
968 </varlistentry>
969
970 <varlistentry id="serialver">
971 <term><command>serialver</command></term>
972 <listitem>
973 <para>
974 returns the serialVersionUID for one or more classes in a
975 form suitable for copying into an evolving class
976 </para>
977 <indexterm zone="openjdk serialver">
978 <primary sortas="b-serialver">serialver</primary>
979 </indexterm>
980 </listitem>
981 </varlistentry>
982 <!--
983 <varlistentry id="unpack200">
984 <term><command>unpack200</command></term>
985 <listitem>
986 <para>
987 is a native implementation that transforms a packed file
988 produced by <application>pack200</application> into a jar
989 file.
990 </para>
991 <indexterm zone="openjdk unpack200">
992 <primary sortas="b-unpack200">unpack200</primary>
993 </indexterm>
994 </listitem>
995 </varlistentry>
996 -->
997 </variablelist>
998
999 </sect2>
1000
1001</sect1>
Note: See TracBrowser for help on using the repository browser.