source: general/prog/jdk.xml@ 0aeb696

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 0aeb696 was 0aeb696, checked in by Randy McMurchy <randy@…>, 18 years ago

Added a comment to each file that may need a mention of a test suite added to it, this allows closing of bug #1697

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

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