source: general/prog/openjdk.xml@ 9ac8d7cc

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9ac8d7cc was 5409013, checked in by Pierre Labastie <pieere@…>, 4 years ago

Fix building openjdk with make-4.3

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

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