source: general/prog/openjdk.xml@ aa41434

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 aa41434 was aa41434, checked in by Pierre Labastie <pieere@…>, 4 years ago

Fix <option> vs <parameter>, and sometimes a little more

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

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