source: general/prog/openjdk.xml@ 7d65f30

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

Update to OpenJDK-12.0.2+10

The i686 binary will be generated and uploaded before BLFS 9.0's release.

In addition, I have not tested a build of Libreoffice with this, nor fop, due to the proximity of the freeze

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21960 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/jdk12u">
9 <!ENTITY ojdk-download "&ojdk-repo;/archive/&ojdk-tarball;">
10
11 <!ENTITY anduin-download "&sources-anduin-http;/OpenJDK/OpenJDK-&openjdk-version;">
12
13 <!ENTITY ojdk-md5sum "29a2ca9d2c9a5c50b52d845f008ffa22">
14 <!ENTITY ojdk-size "80 MB">
15
16 <!ENTITY jtreg-version "4.2-b13-517">
17 <!ENTITY jtreg-download "&anduin-download;/jtreg-&jtreg-version;.tar.gz">
18 <!ENTITY jtreg-md5sum "ffcef8f1caa5c22f4d006fb82e074de4">
19 <!ENTITY jtreg-size "6.8 MB">
20
21 <!ENTITY ojdk-bdsize "5.2 GB (an additional 363 MB for tests)">
22 <!ENTITY ojdk-time "5.9 SBU with 4 jobs (an additional 79 SBU for tests with 4 jobs)">
23]>
24
25<sect1 id="openjdk" xreflabel="OpenJDK-&openjdk-version;">
26 <?dbhtml filename="openjdk.html" ?>
27
28 <sect1info>
29 <othername>$LastChangedBy$</othername>
30 <date>$Date$</date>
31 </sect1info>
32
33 <title>OpenJDK-&openjdk-version;</title>
34
35 <indexterm zone="openjdk">
36 <primary sortas="a-OpenJDK">OpenJDK</primary>
37 </indexterm>
38
39 <sect2 role="package">
40 <title>Introduction to OpenJDK</title>
41
42 <para>
43 <application>OpenJDK</application> is an open-source implementation
44 of Oracle's Java Standard Edition platform.
45 <application>OpenJDK</application> is useful for developing
46 <application>Java</application> programs, and provides a complete
47 runtime environment to run <application>Java</application> programs.
48 </para>
49
50 &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="git"/>,
181 <xref linkend="graphviz"/>,
182 <xref linkend="mercurial"/>,
183 an X Window manager such as <xref linkend="twm"/> (for the tests), and
184 <ulink url="https://pandoc.org/">pandoc</ulink>
185 </para>
186
187 <para condition="html" role="usernotes">User Notes:
188 <ulink url="&blfs-wiki;/openjdk"/></para>
189
190 </sect2>
191
192 <sect2 role="installation">
193 <title>Installation of OpenJDK</title>
194
195 <para>
196 If you have downloaded the optional test harness, unpack it now:
197 </para>
198
199<screen><userinput>tar -xf ../jtreg-&jtreg-version;.tar.gz</userinput></screen>
200
201 <note>
202 <para>
203 Before proceeding, you should ensure that your environment
204 <envar>PATH</envar> variable contains the location of the Java
205 compiler used for bootstrapping <application>OpenJDK</application>.
206 This is the only requirement for the environment. Modern Java
207 installations do not need <envar>JAVA_HOME</envar> and
208 <envar>CLASSPATH</envar> is not used here. Furthermore, OpenJDK
209 developers recommend to unset <envar>JAVA_HOME</envar>.
210 </para>
211
212 <para>
213 The build system does not support the <option>-j</option> switch in
214 <envar>MAKEFLAGS</envar>. See the command explanation for
215 <option>--with-jobs=</option> and <option>--with-test-jobs=</option>
216 for more information on customizing parallelization.
217 </para>
218 </note>
219
220 <para>
221 Configure and build the package with the following commands
222 (--with-milestone value can be modified to fit user preferences):
223 </para>
224
225<screen><userinput>unset JAVA_HOME &amp;&amp;
226bash configure --enable-unlimited-crypto \
227 --disable-warnings-as-errors \
228 --with-stdc++lib=dynamic \
229 --with-giflib=system \
230 --with-jtreg=$PWD/jtreg \
231 --with-lcms=system \
232 --with-libjpeg=system \
233 --with-libpng=system \
234 --with-zlib=system \
235 --with-version-build="&openjdk-build;" \
236 --with-version-pre="" \
237 --with-version-opt="" \
238 --with-cacerts-file=/etc/pki/tls/java/cacerts &amp;&amp;
239make images</userinput></screen>
240
241 <para>
242 To test the results, you will need to execute the jtreg program.
243 You can set the number of concurrent tests by adding the
244 <parameter>-conc:<replaceable>&lt;X&gt;</replaceable></parameter>
245 value in the below command (tests will run sequentially otherwise):
246 </para>
247
248<screen remap="test"><userinput>export JT_JAVA=$(echo $PWD/build/*/jdk) &amp;&amp;
249jtreg/bin/jtreg -jdk:$JT_JAVA -automatic -ignore:quiet -v1 \
250 test/jdk:tier1 test/langtools:tier1 &amp;&amp;
251unset JT_JAVA</userinput></screen>
252
253 <para>For more control over the test suite, review the documentation
254 available in <filename>jtreg/doc/jtreg/usage.txt</filename>. To review the
255 results, see the files
256 <filename>JTreport/test_{jdk,langtools}/text/stats.txt</filename> and
257 <filename>JTreport/test_{jdk,langtools}/text/summary.txt</filename>.
258 You should expect to see around 40 failures and a couple of errors.</para>
259 <!-- 11.0.2+9:
260 for x86_64: 2 Errors, 28 Failures
261 for i686: 13 Errors, 48 Failures
262 12.0.2+10:
263 for x86_64: 5828 Passed, 52 Errors, no failures
264 for i686: PENDING -->
265
266 <para>Install the package with the following commands as the
267 <systemitem class="username">root</systemitem> user:</para>
268
269<screen role="root"><userinput>install -vdm755 /opt/jdk-&openjdk-version;+&openjdk-build; &amp;&amp;
270cp -Rv build/*/images/jdk/* /opt/jdk-&openjdk-version;+&openjdk-build; &amp;&amp;
271chown -R root:root /opt/jdk-&openjdk-version;+&openjdk-build; &amp;&amp;
272for s in 16 24 32 48; do
273 install -vDm644 src/java.desktop/unix/classes/sun/awt/X11/java-icon${s}.png \
274 /usr/share/icons/hicolor/${s}x${s}/apps/java.png
275done</userinput></screen>
276
277 <note>
278 <para>
279 If you only wish to install the Java Runtime Environment, you can
280 substitute <filename>build/*/images/jre</filename> in the above
281 <command>cp</command> command.
282 </para>
283 </note>
284
285 <para>
286 There are now two <application>OpenJDK</application> SDKs installed
287 in <filename class="directory">/opt</filename>. You should decide on
288 which one you would like to use as the default. Normally, you would opt
289 for the just installed <application>OpenJDK</application>. If so, do
290 the following as the <systemitem class="username">root</systemitem>
291 user:
292 </para>
293
294<screen role="root"><userinput>ln -v -nsf jdk-&openjdk-version;+&openjdk-build; /opt/jdk</userinput></screen>
295
296 <para>
297 If desired, you may create .desktop files to add entries
298 in the menu for <command>java</command>, <command>policytool</command>,
299 and <command>jconsole</command>. The needed icons have already been
300 installed. As the <systemitem class="username">root</systemitem> user:
301 </para>
302
303<screen role="root"><userinput>mkdir -pv /usr/share/applications &amp;&amp;
304
305cat &gt; /usr/share/applications/openjdk-java.desktop &lt;&lt; "EOF" &amp;&amp;
306<literal>[Desktop Entry]
307Name=OpenJDK Java &openjdk-version; Runtime
308Comment=OpenJDK Java &openjdk-version; Runtime
309Exec=/opt/jdk/bin/java -jar
310Terminal=false
311Type=Application
312Icon=java
313MimeType=application/x-java-archive;application/java-archive;application/x-jar;
314NoDisplay=true</literal>
315EOF
316cat &gt; /usr/share/applications/openjdk-jconsole.desktop &lt;&lt; "EOF"
317<literal>[Desktop Entry]
318Name=OpenJDK Java &openjdk-version; Console
319Comment=OpenJDK Java &openjdk-version; Console
320Keywords=java;console;monitoring
321Exec=/opt/jdk/bin/jconsole
322Terminal=false
323Type=Application
324Icon=java
325Categories=Application;System;</literal>
326EOF</userinput></screen>
327
328 </sect2>
329
330 <sect2 role="commands">
331 <title>Command Explanations</title>
332
333 <para>
334 <command>bash configure...</command>: the top level
335 <filename>configure</filename> is a wrapper around the autotools one.
336 It is not executable and must be run through <command>bash</command>.
337 </para>
338
339 <para>
340 <parameter>--enable-unlimited-crypto</parameter>: Because of limitations
341 on the usage of cryptography in some countries, there is the possibility
342 to limit the size of encryption keys and the use of some algorithms in a
343 policy file. This switch allows to ship a policy file with no
344 restriction. It is the responsibility of the user to ensure proper
345 adherence to the law.
346 </para>
347
348 <para>
349 <parameter>--disable-warnings-as-errors</parameter>: This switch disables
350 use of <envar>-Werror</envar> in the build.
351 </para>
352
353 <para>
354 <parameter>--with-stdc++lib=dynamic</parameter>: This switch forces the
355 build system to link to <filename>libstdc++.so</filename> (dynamic)
356 instead of <filename>libstdc++.a</filename> (static).
357 </para>
358
359 <para>
360 <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.