source: general/prog/jdk.xml@ 1039de3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1039de3 was 1039de3, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #3

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

  • Property mode set to 100644
File size: 26.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY jdk-download-source "https://tiger.dev.java.net/jdk_5_0_05.html">
8 <!ENTITY jdk-download-binary "http://java.sun.com/j2se/1.5.0/download.jsp">
9 <!ENTITY jdk-source-md5sum "&sources-anduin-http;/j/jdk-&jdk-src-version;.md5sums">
10 <!ENTITY jdk-bin-md5sum "3cdad4a383b93680f02f6f06198c2227">
11 <!ENTITY jdk-bin-size "46.7 MB">
12 <!ENTITY jdk-src-size "64.4 MB (three .jar files)">
13 <!ENTITY jdk-src-buildsize "1553 MB">
14 <!ENTITY jdk-time "29 SBU">
15]>
16
17<sect1 id="jdk" xreflabel="JDK-&jdk-src-version;">
18 <?dbhtml filename="jdk.html" ?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 <keywordset>
24 <keyword role="package">NONE</keyword>
25 <keyword role="ftpdir">jdk</keyword>
26 </keywordset>
27 </sect1info>
28
29 <title>JDK-&jdk-src-version;</title>
30
31 <indexterm zone="jdk">
32 <primary sortas="a-JDK">JDK</primary>
33 </indexterm>
34
35 <sect2 role="package">
36 <title>Introduction to JDK</title>
37
38 <para>The <application>JDK</application> package contains
39 Sun's <application>Java</application> development environment. This is
40 useful for developing <application>Java</application> programs and provides
41 the runtime environment necessary to run <application>Java</application>
42 programs. It also includes a plug-in for browsers so that they can be
43 <application>Java</application> aware.</para>
44
45 <para>The <application>JDK</application> comes in two flavors, a
46 precompiled binary and a source package. Previously, the plugin included
47 in the <application>JDK</application> binary package was unusable on LFS
48 owing to incompatibilities with <application>GCC</application>-3 compiled
49 browsers. This is not the case anymore.</para>
50
51 <para>In order to use the source code and patches, you must read and agree
52 to the Sun <ulink url="http://www.java.net/jrl.csp"> Java Research
53 License</ulink> or optionally, the Sun <ulink
54 url="http://java.net/jiul.csp">Java Internal Use License</ulink>. In
55 addition, the source code is not allowed to be downloaded to some
56 countries, so for users in those countries, the binary is the only
57 option.</para>
58
59 <para>You will first need to download and install the binary version of the
60 <application>JDK</application>.</para>
61
62 <para>To build from the source, you will also need to download the
63 additional files and patches to complete the source build as detailed
64 below.</para>
65
66 <bridgehead renderas="sect3">Package Information</bridgehead>
67 <itemizedlist spacing="compact">
68 <listitem>
69 <para>Binary download: <ulink url="&jdk-download-binary;"/>
70 (to download jdk-&jdk-bin-string;-linux-i586.bin)</para>
71 </listitem>
72 <listitem>
73 <para>Download MD5 sum (binary): &jdk-bin-md5sum;</para>
74 </listitem>
75 <listitem>
76 <para>Source download: <ulink url="&jdk-download-source;"/>
77 (to download jdk-&jdk-src-string;-fcs-src-b05-jrl-13_oct_2005.jar (or
78 optionally the JIUL version),
79 jdk-&jdk-src-string;-fcs-bin-b05-13_oct_2005.jar, and
80 jdk-&jdk-src-string;-mozilla_headers-b05-unix-26_aug_2005.jar)</para>
81 </listitem>
82
83 <listitem>
84 <para>Download MD5 sums (source):
85 <simplelist>
86 <member>215c5175e54c2facccc2c7845e339725
87 jdk-&jdk-src-string;-fcs-bin-b05-13_oct_2005.jar
88 </member>
89 <member>884dd87faa082d294f725857c895b6f6
90 jdk-&jdk-src-string;-fcs-src-b05-jrl-13_oct_2005.jar
91 </member>
92 <member>3a3627ab55c6a63cddc90d5b3fad4b83
93 jdk-&jdk-src-string;-mozilla_headers-b05-unix-26_aug_2005.jar
94 </member>
95 </simplelist>
96 </para>
97 </listitem>
98
99 <listitem>
100 <para>Download size (binary): &jdk-bin-size;</para>
101 </listitem>
102 <listitem>
103 <para>Download size (source): &jdk-src-size;</para>
104 </listitem>
105 <listitem>
106 <para>Estimated disk space required: &jdk-src-buildsize;</para>
107 </listitem>
108 <listitem>
109 <para>Estimated build time: &jdk-time;</para>
110 </listitem>
111 </itemizedlist>
112
113 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
114
115 <bridgehead renderas="sect4">Required Patches</bridgehead>
116 <itemizedlist spacing='compact'>
117 <listitem>
118 <para><ulink
119 url="&patch-root;/jdk-&jdk-src-version;-gcc4-1.patch"/></para>
120 </listitem>
121 <listitem>
122 <para><ulink
123 url="&patch-root;/jdk-&jdk-src-version;-motif_fixes-1.patch"/></para>
124 </listitem>
125 <listitem>
126 <para><ulink
127 url="&patch-root;/jdk-&jdk-src-version;-nptl-1.patch"/></para></listitem>
128 <listitem>
129 <para><ulink
130 url="&patch-root;/jdk-&jdk-src-version;-remove_broken_demo-1.patch"/></para>
131 </listitem>
132 <listitem>
133 <para><ulink
134 url="&patch-root;/jdk-&jdk-src-version;-remove_fixed_paths-1.patch"/></para>
135 </listitem>
136 <listitem>
137 <para><ulink
138 url="&patch-root;/jdk-&jdk-src-version;-xorg-6.8.1-1.patch"/></para>
139 </listitem>
140 </itemizedlist>
141
142 <bridgehead renderas="sect4">Recommended Patches</bridgehead>
143 <itemizedlist spacing='compact'>
144 <listitem>
145 <para><ulink
146 url="&patch-root;/jdk-&jdk-src-version;-remove_debug_image-1.patch"/>
147 (skips compiling of the <application>JDK</application> debug image)</para>
148 </listitem>
149 <listitem>
150 <para><ulink
151 url="&patch-root;/jdk-&jdk-src-version;-static_cxx-1.patch"/>
152 (forces dynamic linking to <application>GCC</application> libs)</para></listitem>
153 </itemizedlist>
154
155 <bridgehead renderas="sect3">JDK Dependencies</bridgehead>
156
157 <bridgehead renderas="sect4">Required (to Build JDK from Source)</bridgehead>
158 <para role="required"><xref linkend="x-window-system"/>,
159 <xref linkend="zip"/>,
160 <xref linkend="unzip"/>,
161 <xref linkend="cpio"/>,
162 <xref linkend="alsa-lib"/>, and
163 <xref linkend="tcsh"/></para>
164
165 <para condition="html" role="usernotes">User Notes:
166 <ulink url="&blfs-wiki;/jdk"/></para>
167
168 </sect2>
169
170 <sect2 role="installation">
171 <title>Installation of JDK</title>
172
173 <para>Both the binary and source built versions will be installed. You may
174 choose to keep either or both.</para>
175
176 <tip>
177 <para>The <command>./jdk-&jdk-bin-string;-linux-i?86.bin</command>
178 command below unpacks the distribution into a
179 <filename class='directory'>jdk&jdk-bin-version;</filename> directory.
180 You will be required to view, and then accept (by entering a
181 <keycap>y</keycap> keypress), a license agreement before any files are
182 unpacked. If you are scripting (automating) the build, you'll need to
183 account for this. There is information about automating build commands
184 in the <xref linkend="automating-builds"/> section of Chapter 2. Towards
185 the end of this section, specific information for automating this type of
186 installation is discussed.</para>
187 </tip>
188
189 <para>Normally in BLFS, the files are unpacked into a subdirectory
190 and the starting point for the installation procedures is that
191 location. For this application only, start in the directory where all
192 the downloaded files are located.</para>
193
194 <para>Install the precompiled <application>JDK</application> with the
195 following commands:</para>
196
197<screen><userinput>cp jdk-&jdk-bin-string;-linux-i?86.bin jdk-mod.bin &amp;&amp;
198sed -i "s:^PATH=.*::" jdk-mod.bin &amp;&amp;
199chmod -v +x jdk-mod.bin &amp;&amp;
200./jdk-mod.bin</userinput></screen>
201
202 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
203
204<screen role="root"><userinput>cd jdk&jdk-bin-version; &amp;&amp;
205install -v -d /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
206mv -v * /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
207chown -v -R root:root /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
208ln -v -sf motif21/libmawt.so \
209 /opt/jdk/jdk-precompiled-&jdk-bin-version;/jre/lib/i386/ &amp;&amp;
210cd ..</userinput></screen>
211
212 <para>The binary version is now installed.</para>
213
214 <para>If you don't want to compile the source or are not in a position to
215 download the source owing to license restrictions, skip ahead to the
216 configuration section.</para>
217
218 <para>Save the existing path, and append the recently installed
219 <application>JDK</application>.</para>
220
221<screen><userinput>export JAVA_HOME=/opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
222export PATH_HOLD=${PATH} &amp;&amp;
223export PATH=${PATH}:${JAVA_HOME}/bin</userinput></screen>
224
225 <para>The source code is contained in a self-extracting
226 <filename class='extension'>jar</filename> file. You
227 will need to be in a windowed environment to extract the sources.
228 Create a directory to store the extracted sources. Choose the newly
229 created <filename class="directory">jdk-build</filename> directory
230 when prompted for the target directory.</para>
231
232<screen><userinput>mkdir jdk-build &amp;&amp;
233cd jdk-build &amp;&amp;
234for JAR in ../jdk-&jdk-src-string;*.jar
235 do java -jar ${JAR}
236done</userinput></screen>
237
238 <para>Apply all the patches downloaded above:</para>
239
240<screen><userinput>for PATCH in ../jdk-&jdk-src-version;*.patch
241 do patch -Np1 -i ${PATCH}
242done</userinput></screen>
243
244 <para>If your X Window System is installed in any prefix other than
245 <filename class="directory">/usr/X11R6</filename>, adjust as necessary and
246 execute the following command:</para>
247
248<screen><userinput>find . -type f -exec sed -i 's@/usr/X11R6@<replaceable>&lt;/usr&gt;</replaceable>@g' {} \;</userinput></screen>
249
250 <para>Set/unset some variables which affect the build:</para>
251
252<screen><userinput>export ALT_BOOTDIR="$JAVA_HOME" &amp;&amp;
253unset JAVA_HOME &amp;&amp;
254unset CLASSPATH
255unset CFLAGS
256unset CXXFLAGS
257unset LDFLAGS
258export ALT_DEVTOOLS_PATH="/usr/bin" &amp;&amp;
259export BUILD_NUMBER="update-05" &amp;&amp;
260export DEV_ONLY=true &amp;&amp;
261export ALT_MOZILLA_HEADERS_PATH=$PWD/share/plugin/ &amp;&amp;
262export INSANE=true &amp;&amp;
263export MAKE_VERBOSE=true &amp;&amp;
264export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts</userinput></screen>
265
266 <warning>
267 <para>Setting CFLAGS/CXXFLAGS/LDFLAGS is guaranteed to make the build
268 fail. If you are interested in optimizing the build, set
269 OTHER_CFLAGS/OTHER_CXXFLAGS/OTHER_LDFLAGS instead. -O3, even in
270 OTHER_C{,XX}FLAGS, is known to cause a build failure.</para>
271 </warning>
272
273 <para>Additionally, if you would like to <command>make</command> in
274 parallel, add the following:</para>
275
276<screen><userinput>export HOTSPOT_BUILD_JOBS=<replaceable>&lt;3&gt;</replaceable></userinput></screen>
277
278 <para>Build the <application>JDK</application> with the following
279 commands. There will be a lot of messages about missing files that look like
280 errors. These are caused by not meeting the expected build environment
281 (Red Hat). As long as the build doesn't stop, the messages
282 are harmless.</para>
283
284<screen><userinput>cd control/make &amp;&amp;
285make &amp;&amp;
286cd ../build/linux-i?86</userinput></screen>
287
288 <para>Now, as the <systemitem class="username">root</systemitem> user,
289 install the <application>JDK</application>:</para>
290
291<screen role="root"><userinput>cp -v -a j2sdk-image /opt/jdk/jdk-&jdk-src-version; &amp;&amp;
292chown -v -R root:root /opt/jdk/jdk-&jdk-src-version; &amp;&amp;
293ln -sf motif21/libmawt.so /opt/jdk/jdk-&jdk-src-version;/jre/lib/i386/</userinput></screen>
294
295 <para>Restore the unprivileged user's environment using the following
296 commands:</para>
297
298<screen><userinput>unset ALT_BOOTDIR &amp;&amp;
299unset ALT_DEVTOOLS_PATH &amp;&amp;
300unset BUILD_NUMBER &amp;&amp;
301unset DEV_ONLY &amp;&amp;
302unset ALT_MOZILLA_HEADERS_PATH &amp;&amp;
303unset INSANE &amp;&amp;
304unset MAKE_VERBOSE &amp;&amp;
305unset ALT_CACERTS_FILE &amp;&amp;
306export PATH=${PATH_HOLD} &amp;&amp;
307unset PATH_HOLD</userinput></screen>
308
309 </sect2>
310
311 <sect2 role="commands">
312 <title>Command Explanations</title>
313
314 <para><command>export ALT_BOOTDIR="$JAVA_HOME"</command>: This variable sets
315 the location of the bootstrap <application>JDK</application>.</para>
316
317 <para><command>export ALT_MOZILLA_HEADERS_PATH=$PWD/share/plugin/</command>:
318 This tells the build exactly where to find the
319 <application>Mozilla</application> headers. This has changed since the
320 previous version and is not mentioned in the installation documentation
321 included with the package source.</para>
322
323 <para><command>export ALT_DEVTOOLS_PATH="/usr/bin"</command>: This
324 changes the location where the build finds the needed executables.</para>
325
326 <para><command>export BUILD_NUMBER="blfs-&blfs-version;"</command>:
327 This will help you identify the compiled version of the runtime environment
328 and virtual machine by appending this information to the version
329 string.</para>
330
331 <para><command>export DEV_ONLY=true</command>: This command
332 skips compiling the documentation and eliminates a dependency on
333 <application>rpm</application>.</para>
334
335 <para><command>unset JAVA_HOME</command>: This clears the
336 <envar>JAVA_HOME</envar> variable as recommended by the build
337 instructions.</para>
338
339 <para><command>unset CLASSPATH</command>: This clears the
340 <envar>CLASSPATH</envar> variable as recommended by the build
341 instructions.</para>
342
343 <para><command>unset CFLAGS/CXXFLAGS...</command>: These variables cause
344 miscompilation of the build. Never set them.</para>
345
346 <para><command>export INSANE=true</command>: The certified platform for the
347 build is Redhat Enterprise Advanced Server 2.1. This variable ensures that
348 all the errors related to compiling on a non-certified platform will be
349 displayed as warnings instead of errors.</para>
350
351 <para><command>export MAKE_VERBOSE=true</command>: Allows the compiler
352 commands to be displayed on the console.</para>
353
354 <para><command>export ALT_CACERTS_FILE...</command>: Specifies the
355 certificate file to use (from the installed binary
356 <application>JDK</application>).</para>
357
358 <para><command>ln -sf motif21/libmawt.so
359 /opt/jdk/jdk-&jdk-src-version;/jre/lib/i386/</command>: This fixes
360 linking issues with other applications that expect to find the
361 <application>motif</application> libraries with the other
362 <application>JDK</application> libraries.</para>
363
364 </sect2>
365
366 <sect2 role="configuration">
367 <title>Configuring JDK</title>
368
369 <sect3>
370 <title>Configuration Information</title>
371
372 <para>There are now two Java 2 SDKs installed in
373 <filename>/opt/jdk</filename>. You should decide on which one you
374 would like to use as the default. For example if you decide to use the
375 source compiled <application>JDK</application>, do the following as the
376 <systemitem class="username">root</systemitem> user:</para>
377
378<screen role="root"><userinput>ln -v -nsf jdk-&jdk-src-version; /opt/jdk/jdk</userinput></screen>
379
380 <para>Add the following <filename>jdk.sh</filename> shell startup file to
381 the <filename>/etc/profile.d</filename> directory with the following
382 commands as the <systemitem class="username">root</systemitem> user:</para>
383
384<screen role="root"><userinput>cat &gt; /etc/profile.d/jdk.sh &lt;&lt; "EOF"
385<literal># Begin /etc/profile.d/jdk.sh
386
387# Set JAVA_HOME directory
388JAVA_HOME=/opt/jdk/jdk
389export JAVA_HOME
390
391# Adjust PATH
392pathappend ${JAVA_HOME}/bin PATH
393
394# Auto Java Classpath Updating
395# Create symlinks to this directory for auto classpath setting
396AUTO_CLASSPATH_DIR=/usr/lib/classpath
397if [ -z ${CLASSPATH} ]; then
398 CLASSPATH=.:${AUTO_CLASSPATH_DIR}
399else
400 CLASSPATH="${CLASSPATH}:.:${AUTO_CLASSPATH_DIR}"
401fi
402
403# Check for empty AUTO_CLASSPATH_DIR
404ls ${AUTO_CLASSPATH_DIR}/*.jar &amp;> /dev/null &amp;&amp;
405for i in ${AUTO_CLASSPATH_DIR}/*.jar
406 do CLASSPATH=${CLASSPATH}:"${i}"
407done
408export CLASSPATH
409
410# End /etc/profile.d/jdk.sh</literal>
411EOF</userinput></screen>
412
413 <para>The <application>Java</application> plugin is located in
414 <filename class="directory">$JAVA_HOME/jre/plugin/i?86/ns7/</filename>.
415 Make a symbolic link to the file in that directory from your browser(s)
416 plugins directory.</para>
417
418 <important>
419 <para>The plugin must be a symlink for it to work. If not, the browsers
420 will crash when you attempt to load a <application>Java</application>
421 application.</para>
422 </important>
423
424 </sect3>
425
426 </sect2>
427
428 <sect2 role="content">
429 <title>Contents</title>
430
431 <segmentedlist>
432 <segtitle>Installed Programs</segtitle>
433 <segtitle>Installed Libraries</segtitle>
434 <segtitle>Installed Directory</segtitle>
435
436 <seglistitem>
437 <seg>appletviewer, extcheck, idlj, jar, jarsigner, java, javac,
438 javadoc,javah, javap, javaws, jdb, keytool, native2ascii, orbd,
439 policytool, rmic, rmid, rmiregistry, serialver, servertool, and
440 tnameserv</seg>
441 <seg><envar>$JAVA_HOME</envar>/lib/*,
442 <envar>$JAVA_HOME</envar>/jre/lib/*,
443 and libjavaplugin_oji.so</seg>
444 <seg>/opt/jdk</seg>
445 </seglistitem>
446 </segmentedlist>
447
448 <variablelist>
449 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
450 <?dbfo list-presentation="list"?>
451 <?dbhtml list-presentation="table"?>
452
453 <varlistentry id="appletviewer">
454 <term><command>appletviewer</command></term>
455 <listitem>
456 <para>runs <application>Java</application> applets outside of the
457 context of a browser.</para>
458 <indexterm zone="jdk appletviewer">
459 <primary sortas="b-appletviewer">appletviewer</primary>
460 </indexterm>
461 </listitem>
462 </varlistentry>
463
464 <varlistentry id="extcheck">
465 <term><command>extcheck</command></term>
466 <listitem>
467 <para>checks a specified <filename>JAR</filename> file for title
468 and version conflicts with any extensions installed in the
469 <application>JDK</application> software.</para>
470 <indexterm zone="jdk extcheck">
471 <primary sortas="b-extcheck">extcheck</primary>
472 </indexterm>
473 </listitem>
474 </varlistentry>
475
476 <varlistentry id="idlj">
477 <term><command>idlj</command></term>
478 <listitem>
479 <para>generates <application>Java</application> bindings from a
480 given IDL file.</para>
481 <indexterm zone="jdk idlj">
482 <primary sortas="b-idlj">idlj</primary>
483 </indexterm>
484 </listitem>
485 </varlistentry>
486
487 <varlistentry id="jar">
488 <term><command>jar</command></term>
489 <listitem>
490 <para>combines multiple files into a single <filename>JAR</filename>
491 archive file.</para>
492 <indexterm zone="jdk jar">
493 <primary sortas="b-jar">jar</primary>
494 </indexterm>
495 </listitem>
496 </varlistentry>
497
498 <varlistentry id="jarsigner">
499 <term><command>jarsigner</command></term>
500 <listitem>
501 <para>signs <filename>JAR</filename> (Java ARchive) files and verifies the
502 signatures and integrity of a signed <filename>JAR</filename>.</para>
503 <indexterm zone="jdk jarsigner">
504 <primary sortas="b-jarsigner">jarsigner</primary>
505 </indexterm>
506 </listitem>
507 </varlistentry>
508
509 <varlistentry id="java">
510 <term><command>java</command></term>
511 <listitem>
512 <para>launches a <application>Java</application> application by
513 starting a <application>Java</application> runtime environment, loading a
514 specified class and invoking its main method.</para>
515 <indexterm zone="jdk java">
516 <primary sortas="b-java">java</primary>
517 </indexterm>
518 </listitem>
519 </varlistentry>
520
521 <varlistentry id="javac">
522 <term><command>javac</command></term>
523 <listitem>
524 <para>reads class and interface definitions, written in the
525 <application>Java</application> programming language, and compiles
526 them into bytecode class files.</para>
527 <indexterm zone="jdk javac">
528 <primary sortas="b-javac">javac</primary>
529 </indexterm>
530 </listitem>
531 </varlistentry>
532
533 <varlistentry id="javadoc">
534 <term><command>javadoc</command></term>
535 <listitem>
536 <para>parses the declarations and documentation comments in a set of
537 <application>Java</application> source files and produces a corresponding
538 set of HTML pages describing the classes, interfaces,
539 constructors, methods, and fields.</para>
540 <indexterm zone="jdk javadoc">
541 <primary sortas="b-javadoc">javadoc</primary>
542 </indexterm>
543 </listitem>
544 </varlistentry>
545
546 <varlistentry id="javah">
547 <term><command>javah</command></term>
548 <listitem>
549 <para>generates <application>C</application> header and source files
550 that are needed to implement native methods.</para>
551 <indexterm zone="jdk javah">
552 <primary sortas="b-javah">javah</primary>
553 </indexterm>
554 </listitem>
555 </varlistentry>
556
557 <varlistentry id="javap">
558 <term><command>javap</command></term>
559 <listitem>
560 <para>disassembles a <application>Java</application> class file.</para>
561 <indexterm zone="jdk javap">
562 <primary sortas="b-javap">javap</primary>
563 </indexterm>
564 </listitem>
565 </varlistentry>
566
567 <varlistentry id="javaws">
568 <term><command>javaws</command></term>
569 <listitem>
570 <para>launches <application>Java </application>application/applets
571 hosted on a network.</para>
572 <indexterm zone="jdk javaws">
573 <primary sortas="b-javaws">javaws</primary>
574 </indexterm>
575 </listitem>
576 </varlistentry>
577
578 <varlistentry id="jdb">
579 <term><command>jdb</command></term>
580 <listitem>
581 <para>is a simple command-line debugger for
582 <application>Java</application> classes.</para>
583 <indexterm zone="jdk jdb">
584 <primary sortas="b-jdb">jdb</primary>
585 </indexterm>
586 </listitem>
587 </varlistentry>
588
589 <varlistentry id="keytool">
590 <term><command>keytool</command></term>
591 <listitem>
592 <para>is a key and certificate management utility.</para>
593 <indexterm zone="jdk keytool">
594 <primary sortas="b-keytool">keytool</primary>
595 </indexterm>
596 </listitem>
597 </varlistentry>
598
599 <varlistentry id="native2ascii">
600 <term><command>native2ascii</command></term>
601 <listitem>
602 <para> converts files that contain non-supported character encoding
603 into files containing Latin-1 or Unicode-encoded characters.</para>
604 <indexterm zone="jdk native2ascii">
605 <primary sortas="b-native2ascii">native2ascii</primary>
606 </indexterm>
607 </listitem>
608 </varlistentry>
609
610 <varlistentry id="orbd">
611 <term><command>orbd</command></term>
612 <listitem>
613 <para>is used to enable clients to transparently locate and invoke
614 persistent objects on servers in the CORBA environment.</para>
615 <indexterm zone="jdk orbd">
616 <primary sortas="b-orbd">orbd</primary>
617 </indexterm>
618 </listitem>
619 </varlistentry>
620
621 <varlistentry id="policytool">
622 <term><command>policytool</command></term>
623 <listitem>
624 <para>creates and manages a policy file graphically.</para>
625 <indexterm zone="jdk policytool">
626 <primary sortas="b-policytool">policytool</primary>
627 </indexterm>
628 </listitem>
629 </varlistentry>
630
631 <varlistentry id="rmic">
632 <term><command>rmic</command></term>
633 <listitem>
634 <para>generates stub and skeleton class files for remote objects
635 from the names of compiled <application>Java</application> classes that
636 contain remote object implementations.</para>
637 <indexterm zone="jdk rmic">
638 <primary sortas="b-rmic">rmic</primary>
639 </indexterm>
640 </listitem>
641 </varlistentry>
642
643 <varlistentry id="rmid">
644 <term><command>rmid</command></term>
645 <listitem>
646 <para>starts the activation system daemon.</para>
647 <indexterm zone="jdk rmid">
648 <primary sortas="b-rmid">rmid</primary>
649 </indexterm>
650 </listitem>
651 </varlistentry>
652
653 <varlistentry id="rmiregistry">
654 <term><command>rmiregistry</command></term>
655 <listitem>
656 <para>creates and starts a remote object registry on the specified
657 port on the current host.</para>
658 <indexterm zone="jdk rmiregistry">
659 <primary sortas="b-rmiregistry">rmiregistry</primary>
660 </indexterm>
661 </listitem>
662 </varlistentry>
663
664 <varlistentry id="serialver">
665 <term><command>serialver</command></term>
666 <listitem>
667 <para>returns the serialVersionUID for one or more classes in a
668 form suitable for copying into an evolving class.</para>
669 <indexterm zone="jdk serialver">
670 <primary sortas="b-serialver">serialver</primary>
671 </indexterm>
672 </listitem>
673 </varlistentry>
674
675 <varlistentry id="servertool">
676 <term><command>servertool</command></term>
677 <listitem>
678 <para>provides an ease-of-use interface for application programmers
679 to register, unregister, startup and shutdown a server.</para>
680 <indexterm zone="jdk servertool">
681 <primary sortas="b-servertool">servertool</primary>
682 </indexterm>
683 </listitem>
684 </varlistentry>
685
686 <varlistentry id="tnameserv">
687 <term><command>tnameserv</command></term>
688 <listitem>
689 <para>starts the <application>Java</application> IDL name server.</para>
690 <indexterm zone="jdk tnameserv">
691 <primary sortas="b-tnameserv">tnameserv</primary>
692 </indexterm>
693 </listitem>
694 </varlistentry>
695
696 </variablelist>
697
698 </sect2>
699
700</sect1>
Note: See TracBrowser for help on using the repository browser.