source: general/prog/openjdk.xml@ 62d70cb

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

Bump OpenJDK build number

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21064 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 &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>.
222 </para>
223 </note>
224
225 <para>
226 Configure and build the package with the following commands
227 (--with-milestone value can be modified to fit user preferences):
228 </para>
229
230<screen><userinput>unset JAVA_HOME &amp;&amp;
231bash configure --enable-unlimited-crypto \
232 --disable-warnings-as-errors \
233 --with-stdc++lib=dynamic \
234 --with-giflib=system \
235 --with-jtreg=$PWD/jtreg \
236 --with-lcms=system \
237 --with-libjpeg=system \
238 --with-libpng=system \
239 --with-zlib=system \
240 --with-version-build="&openjdk-build;" \
241 --with-version-pre="" \
242 --with-version-opt="" \
243 --with-cacerts-file=/etc/pki/tls/java/cacerts &amp;&amp;
244make images</userinput></screen>
245
246 <para>
247 To test the results, you will need to execute the jtreg program.
248 You can set the number of concurrent tests by adding the
249 <parameter>-conc:<replaceable>&lt;X&gt;</replaceable></parameter>
250 value in the below command (tests will run sequentially otherwise):
251 </para>
252
253<screen><userinput>export JT_JAVA=$(echo $PWD/build/*/jdk) &amp;&amp;
254jtreg/bin/jtreg -jdk:$JT_JAVA -automatic -ignore:quiet -v1 \
255 test/jdk:tier1 test/langtools:tier1</userinput></screen>
256
257 <para>For more control over the test suite, review the documentation
258 available in <filename>jtreg/doc/jtreg/usage.txt</filename>. To review the
259 results, see the files
260 <filename>JTreport/test_{jdk,langtools}/text/stats.txt</filename> and
261 <filename>JTreport/test_{jdk,langtools}/text/summary.txt</filename>.
262 You should expect to see around 40 failures and a couple of errors.</para>
263
264 <para>Install the package with the following commands as the
265 <systemitem class="username">root</systemitem> user:</para>
266
267<screen role="root"><userinput>install -vdm755 /opt/jdk-&openjdk-version;+&openjdk-build; &amp;&amp;
268cp -Rv build/*/images/jdk/* /opt/jdk-&openjdk-version;+&openjdk-build; &amp;&amp;
269chown -R root:root /opt/jdk-&openjdk-version;+&openjdk-build; &amp;&amp;
270for s in 16 24 32 48; do
271 install -vDm644 src/java.desktop/unix/classes/sun/awt/X11/java-icon${s}.png \
272 /usr/share/icons/hicolor/${s}x${s}/apps/java.png
273done &amp;&amp;
274unset JT_JAVA
275</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;monotoring
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 <parameter>--with-jobs=<replaceable>&lt;X&gt;</replaceable></parameter>:
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 installatiion, issue:
455 </para>
456
457<screen role="root"><userinput>cd /opt/jdk
458bin/keytool -list -cacerts</userinput></screen>
459
460 </sect3>
461
462 </sect2>
463
464 <sect2 role="content">
465 <title>Contents</title>
466
467 <segmentedlist>
468 <segtitle>Installed Programs</segtitle>
469 <segtitle>Installed Libraries</segtitle>
470 <segtitle>Installed Directory</segtitle>
471
472 <seglistitem>
473 <seg>jaotc, jar,
474 jarsigner, java, javac, javadoc, javap, jcmd, jconsole, jdb,
475 jdeprscan, jdeps, jhsdb, jimage, jinfo, jjs, jlink, jmap, jmod, jps,
476 jrunscript, jshell, jstack, jstat, jstatd, keytool,
477 pack200, rmic, rmid, rmiregistry,
478 serialver, and unpack200</seg>
479 <seg>/opt/jdk-&openjdk-version;/lib/*</seg>
480 <seg>/opt/jdk-&openjdk-version;</seg>
481 </seglistitem>
482 </segmentedlist>
483
484 <variablelist>
485 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
486 <?dbfo list-presentation="list"?>
487 <?dbhtml list-presentation="table"?>
488<!--
489 <varlistentry id="appletviewer">
490 <term><command>appletviewer</command></term>
491 <listitem>
492 <para>allows to run applets outside of a web browser.</para>
493 <indexterm zone="openjdk appletviewer">
494 <primary sortas="b-appletviewer">appletviewer</primary>
495 </indexterm>
496 </listitem>
497 </varlistentry>
498
499 <varlistentry id="idlj">
500 <term><command>idlj</command></term>
501 <listitem>
502 <para>generates Java bindings from a given IDL file.</para>
503 <indexterm zone="openjdk idlj">
504 <primary sortas="b-idlj">idlj</primary>
505 </indexterm>
506 </listitem>
507 </varlistentry>
508-->
509 <varlistentry id="jaotc">
510 <term><command>jaotc</command></term>
511 <listitem>
512 <para>is an <quote>ahead-of-time</quote> java class compiler.</para>
513 <indexterm zone="openjdk jaotc">
514 <primary sortas="b-jaotc">jaotc</primary>
515 </indexterm>
516 </listitem>
517 </varlistentry>
518
519 <varlistentry id="jar">
520 <term><command>jar</command></term>
521 <listitem>
522 <para>combines multiple files into a single jar archive.</para>
523 <indexterm zone="openjdk jar">
524 <primary sortas="b-jar">jar</primary>
525 </indexterm>
526 </listitem>
527 </varlistentry>
528
529 <varlistentry id="jarsigner">
530 <term><command>jarsigner</command></term>
531 <listitem>
532 <para>signs jar files and verifies the signatures and integrity
533 of a signed jar file.</para>
534 <indexterm zone="openjdk jarsigner">
535 <primary sortas="b-jarsigner">jarsigner</primary>
536 </indexterm>
537 </listitem>
538 </varlistentry>
539
540 <varlistentry id="java-prog">
541 <term><command>java</command></term>
542 <listitem>
543 <para>launches a Java application by starting a Java runtime
544 environment, loading a specified class and invoking its main
545 method.</para>
546 <indexterm zone="openjdk java-prog">
547 <primary sortas="b-java-prog">java</primary>
548 </indexterm>
549 </listitem>
550 </varlistentry>
551
552 <varlistentry id="javac">
553 <term><command>javac</command></term>
554 <listitem>
555 <para>reads class and interface definitions, written in the
556 Java programming language, and compiles them into bytecode
557 class files.</para>
558 <indexterm zone="openjdk javac">
559 <primary sortas="b-javac">javac</primary>
560 </indexterm>
561 </listitem>
562 </varlistentry>
563
564 <varlistentry id="javadoc">
565 <term><command>javadoc</command></term>
566 <listitem>
567 <para>parses the declarations and documentation comments in a
568 set of Java source files and produces a corresponding set of
569 HTML pages describing the classes, interfaces, constructors,
570 methods, and fields.</para>
571 <indexterm zone="openjdk javadoc">
572 <primary sortas="b-javadoc">javadoc</primary>
573 </indexterm>
574 </listitem>
575 </varlistentry>
576
577 <varlistentry id="javap">
578 <term><command>javap</command></term>
579 <listitem>
580 <para>disassembles a Java class file.</para>
581 <indexterm zone="openjdk javap">
582 <primary sortas="b-javap">javap</primary>
583 </indexterm>
584 </listitem>
585 </varlistentry>
586
587 <varlistentry id="jcmd">
588 <term><command>jcmd</command></term>
589 <listitem>
590 <para>is a utility to send diagnostic command requests to a running
591 Java Virtual Machine.</para>
592 <indexterm zone="openjdk jcmd">
593 <primary sortas="b-jcmd">jcmd</primary>
594 </indexterm>
595 </listitem>
596 </varlistentry>
597
598 <varlistentry id="jconsole">
599 <term><command>jconsole</command></term>
600 <listitem>
601 <para>is a graphical console tool to monitor and manage both
602 local and remote Java applications and virtual machines.</para>
603 <indexterm zone="openjdk jconsole">
604 <primary sortas="b-jconsole">jconsole</primary>
605 </indexterm>
606 </listitem>
607 </varlistentry>
608
609 <varlistentry id="jdb">
610 <term><command>jdb</command></term>
611 <listitem>
612 <para>is a simple command-line debugger for Java classes.</para>
613 <indexterm zone="openjdk jdb">
614 <primary sortas="b-jdb">jdb</primary>
615 </indexterm>
616 </listitem>
617 </varlistentry>
618
619 <varlistentry id="jdeprscan">
620 <term><command>jdeprscan</command></term>
621 <listitem>
622 <para>scans class or jar files for uses of deprecated API
623 elements.</para>
624 <indexterm zone="openjdk jdeprscan">
625 <primary sortas="b-jdeprscan">jdeprscan</primary>
626 </indexterm>
627 </listitem>
628 </varlistentry>
629
630 <varlistentry id="jdeps">
631 <term><command>jdeps</command></term>
632 <listitem>
633 <para>shows the package-level or class-level dependencies of
634 Java class files.</para>
635 <indexterm zone="openjdk jdeps">
636 <primary sortas="b-jdeps">jdeps</primary>
637 </indexterm>
638 </listitem>
639 </varlistentry>
640
641 <varlistentry id="jhsdb">
642 <term><command>jhsdb</command></term>
643 <listitem>
644 <para>is a tool to analyze the content of a core dump from a
645 crashed Java Virtual Machine (JVM).</para>
646 <indexterm zone="openjdk jhsdb">
647 <primary sortas="b-jhsdb">jhsdb</primary>
648 </indexterm>
649 </listitem>
650 </varlistentry>
651
652 <varlistentry id="jimage">
653 <term><command>jimage</command></term>
654 <listitem>
655 <para>is used to list, extract, verify, or get information about
656 modules in <emphasis>jimage</emphasis> format.</para>
657 <indexterm zone="openjdk jimage">
658 <primary sortas="b-jimage">jimage</primary>
659 </indexterm>
660 </listitem>
661 </varlistentry>
662
663 <varlistentry id="jinfo">
664 <term><command>jinfo</command></term>
665 <listitem>
666 <para>prints Java configuration information for a given Java
667 process, core file, or a remote debug server.</para>
668 <indexterm zone="openjdk jinfo">
669 <primary sortas="b-jinfo">jinfo</primary>
670 </indexterm>
671 </listitem>
672 </varlistentry>
673
674 <varlistentry id="jjs">
675 <term><command>jjs</command></term>
676 <listitem>
677 <para>is a command-line tool used to invoke the Nashorn engine. It
678 can be used to interpret one or several script files, or to run
679 an interactive shell.</para>
680 <indexterm zone="openjdk jjs">
681 <primary sortas="b-jjs">jjs</primary>
682 </indexterm>
683 </listitem>
684 </varlistentry>
685
686 <varlistentry id="jlink">
687 <term><command>jlink</command></term>
688 <listitem>
689 <para>is used to assemble and optimize a set of modules and their
690 dependencies into a custom runtime image.</para>
691 <indexterm zone="openjdk jlink">
692 <primary sortas="b-jlink">jlink</primary>
693 </indexterm>
694 </listitem>
695 </varlistentry>
696
697 <varlistentry id="jmap">
698 <term><command>jmap</command></term>
699 <listitem>
700 <para>prints shared object memory maps or heap memory details
701 of a given process, core file, or a remote debug server.</para>
702 <indexterm zone="openjdk jmap">
703 <primary sortas="b-jmap">jmap</primary>
704 </indexterm>
705 </listitem>
706 </varlistentry>
707
708 <varlistentry id="jmod">
709 <term><command>jmod</command></term>
710 <listitem>
711 <para>creates JMOD files and lists the content of existing JMOD
712 files.</para>
713 <indexterm zone="openjdk jmod">
714 <primary sortas="b-jmod">jmod</primary>
715 </indexterm>
716 </listitem>
717 </varlistentry>
718
719 <varlistentry id="jps">
720 <term><command>jps</command></term>
721 <listitem>
722 <para>lists the instrumented JVMs on the target system.</para>
723 <indexterm zone="openjdk jps">
724 <primary sortas="b-jps">jps</primary>
725 </indexterm>
726 </listitem>
727 </varlistentry>
728
729 <varlistentry id="jrunscript">
730 <term><command>jrunscript</command></term>
731 <listitem>
732 <para>is a command line script shell.</para>
733 <indexterm zone="openjdk jrunscript">
734 <primary sortas="b-jrunscript">jrunscript</primary>
735 </indexterm>
736 </listitem>
737 </varlistentry>
738
739 <varlistentry id="jshell">
740 <term><command>jshell</command></term>
741 <listitem>
742 <para>is an interactive tool for learning the Java programming
743 language and prototyping Java code.</para>
744 <indexterm zone="openjdk jshell">
745 <primary sortas="b-jshell">jshell</primary>
746 </indexterm>
747 </listitem>
748 </varlistentry>
749
750 <varlistentry id="jstack">
751 <term><command>jstack</command></term>
752 <listitem>
753 <para>prints Java stack traces of Java threads for a given
754 Java process, core file, or a remote debug server.</para>
755 <indexterm zone="openjdk jstack">
756 <primary sortas="b-jstack">jstack</primary>
757 </indexterm>
758 </listitem>
759 </varlistentry>
760
761 <varlistentry id="jstat">
762 <term><command>jstat</command></term>
763 <listitem>
764 <para>displays performance statistics for an instrumented JVM.</para>
765 <indexterm zone="openjdk jstat">
766 <primary sortas="b-jstat">jstat</primary>
767 </indexterm>
768 </listitem>
769 </varlistentry>
770
771 <varlistentry id="jstatd">
772 <term><command>jstatd</command></term>
773 <listitem>
774 <para>is an RMI server application that monitors for the creation
775 and termination of instrumented JVMs.</para>
776 <indexterm zone="openjdk jstatd">
777 <primary sortas="b-jstatd">jstatd</primary>
778 </indexterm>
779 </listitem>
780 </varlistentry>
781
782 <varlistentry id="keytool">
783 <term><command>keytool</command></term>
784 <listitem>
785 <para>is a key and certificate management utility.</para>
786 <indexterm zone="openjdk keytool">
787 <primary sortas="b-keytool">keytool</primary>
788 </indexterm>
789 </listitem>
790 </varlistentry>
791<!--
792 <varlistentry id="orbd">
793 <term><command>orbd</command></term>
794 <listitem>
795 <para>is used to enable clients to transparently locate and invoke
796 persistent objects on servers in the CORBA environment.</para>
797 <indexterm zone="openjdk orbd">
798 <primary sortas="b-orbd">orbd</primary>
799 </indexterm>
800 </listitem>
801 </varlistentry>
802-->
803 <varlistentry id="pack200">
804 <term><command>pack200</command></term>
805 <listitem>
806 <para>is a Java application that transforms a jar file into a
807 compressed pack200 file using the Java gzip compressor.</para>
808 <indexterm zone="openjdk pack200">
809 <primary sortas="b-pack200">pack200</primary>
810 </indexterm>
811 </listitem>
812 </varlistentry>
813
814 <varlistentry id="rmic">
815 <term><command>rmic</command></term>
816 <listitem>
817 <para>generates stub and skeleton class files for remote objects
818 from the names of compiled Java classes that contain remote
819 object implementations.</para>
820 <indexterm zone="openjdk rmic">
821 <primary sortas="b-rmic">rmic</primary>
822 </indexterm>
823 </listitem>
824 </varlistentry>
825
826 <varlistentry id="rmid">
827 <term><command>rmid</command></term>
828 <listitem>
829 <para>starts the activation system daemon.</para>
830 <indexterm zone="openjdk rmid">
831 <primary sortas="b-rmid">rmid</primary>
832 </indexterm>
833 </listitem>
834 </varlistentry>
835
836 <varlistentry id="rmiregistry">
837 <term><command>rmiregistry</command></term>
838 <listitem>
839 <para>creates and starts a remote object registry on the specified
840 port on the current host.</para>
841 <indexterm zone="openjdk rmiregistry">
842 <primary sortas="b-rmiregistry">rmiregistry</primary>
843 </indexterm>
844 </listitem>
845 </varlistentry>
846<!--
847 <varlistentry id="schemagen">
848 <term><command>schemagen</command></term>
849 <listitem>
850 <para>is a Java XML binding schema generator.</para>
851 <indexterm zone="openjdk schemagen">
852 <primary sortas="b-schemagen">schemagen</primary>
853 </indexterm>
854 </listitem>
855 </varlistentry>
856-->
857 <varlistentry id="serialver">
858 <term><command>serialver</command></term>
859 <listitem>
860 <para>returns the serialVersionUID for one or more classes in a
861 form suitable for copying into an evolving class.</para>
862 <indexterm zone="openjdk serialver">
863 <primary sortas="b-serialver">serialver</primary>
864 </indexterm>
865 </listitem>
866 </varlistentry>
867<!--
868 <varlistentry id="servertool">
869 <term><command>servertool</command></term>
870 <listitem>
871 <para>provides an ease-of-use interface for application programmers
872 to register, unregister, startup and shutdown a server.</para>
873 <indexterm zone="openjdk servertool">
874 <primary sortas="b-servertool">servertool</primary>
875 </indexterm>
876 </listitem>
877 </varlistentry>
878
879 <varlistentry id="tnameserv">
880 <term><command>tnameserv</command></term>
881 <listitem>
882 <para>starts the Java IDL name server.</para>
883 <indexterm zone="openjdk tnameserv">
884 <primary sortas="b-tnameserv">tnameserv</primary>
885 </indexterm>
886 </listitem>
887 </varlistentry>
888-->
889 <varlistentry id="unpack200">
890 <term><command>unpack200</command></term>
891 <listitem>
892 <para>is a native implementation that transforms a packed file
893 produced by <application>pack200</application> into a jar
894 file.</para>
895 <indexterm zone="openjdk unpack200">
896 <primary sortas="b-unpack200">unpack200</primary>
897 </indexterm>
898 </listitem>
899 </varlistentry>
900<!--
901 <varlistentry id="wsgen">
902 <term><command>wsgen</command></term>
903 <listitem>
904 <para>generates JAX-WS portable artifacts used in JAX-WS
905 web services.</para>
906 <indexterm zone="openjdk wsgen">
907 <primary sortas="b-wsgen">wsgen</primary>
908 </indexterm>
909 </listitem>
910 </varlistentry>
911
912 <varlistentry id="wsimport">
913 <term><command>wsimport</command></term>
914 <listitem>
915 <para>generates JAX-WS portable artifacts.</para>
916 <indexterm zone="openjdk wsimport">
917 <primary sortas="b-wsimport">wsimport</primary>
918 </indexterm>
919 </listitem>
920 </varlistentry>
921
922 <varlistentry id="xjc">
923 <term><command>xjc</command></term>
924 <listitem>
925 <para>is a Java XML binding compiler.</para>
926 <indexterm zone="openjdk xjc">
927 <primary sortas="b-xjc">xjc</primary>
928 </indexterm>
929 </listitem>
930 </varlistentry>
931-->
932 </variablelist>
933
934 </sect2>
935
936</sect1>
Note: See TracBrowser for help on using the repository browser.