source: general/prog/openjdk.xml@ 02e06ab

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

tags

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

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