source: general/prog/openjdk.xml@ 5ff8c3a

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/soup3 xry111/xf86-video-removal
Last change on this file since 5ff8c3a was d6696ec, checked in by Pierre Labastie <pierre.labastie@…>, 20 months ago

A few tags

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