source: general/prog/jdk.xml@ b26eca2

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 b26eca2 was b26eca2, checked in by Bruce Dubbs <bdubbs@…>, 18 years ago

Rewrote into material and binary install procedures for JDK

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

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