source: general/prog/openjdk.xml@ bbf24398

11.2 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 bbf24398 was 5bc36fc, checked in by Pierre Labastie <pierre.labastie@…>, 2 years ago

Update to OpenJDK-18.0.1+10

Java binaries not done yet

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