source: general/prog/openjdk.xml@ 8d759c7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 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 8d759c7 was 8d759c7, checked in by Douglas R. Reno <renodr@…>, 5 years ago

Add an optional switch to Mutt (I'm sorry Ken, I got to it before you replied)
Add info about parallelization to OpenJDK page, and fix typo in the Desktop Item

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

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