source: general/prog/jdk.xml@ fb69e2e

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

Added commands to the JDK instructions to run a demo program with the newly created java binary to provide a basic test of the build

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

  • Property mode set to 100644
File size: 26.3 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 self-extracting
226 <filename class='extension'>jar</filename> files. 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>To test the results, you can run one of the provided demo programs
289 using the newly created <command>java</command> binary. Issue the
290 following commands:</para>
291
292<screen><userinput>cd j2sdk-image/demo/jfc/Java2D &amp;&amp;
293../../../bin/java -jar Java2Demo.jar &amp;&amp;
294cd ../../../..</userinput></screen>
295
296 <para>Now, as the <systemitem class="username">root</systemitem> user,
297 install the <application>JDK</application>:</para>
298
299<screen role="root"><userinput>cp -v -a j2sdk-image /opt/jdk/jdk-&jdk-src-version; &amp;&amp;
300chown -v -R root:root /opt/jdk/jdk-&jdk-src-version; &amp;&amp;
301ln -sf motif21/libmawt.so /opt/jdk/jdk-&jdk-src-version;/jre/lib/i386/</userinput></screen>
302
303 <para>Restore the unprivileged user's environment using the following
304 commands:</para>
305
306<screen><userinput>unset ALT_BOOTDIR &amp;&amp;
307unset ALT_DEVTOOLS_PATH &amp;&amp;
308unset BUILD_NUMBER &amp;&amp;
309unset DEV_ONLY &amp;&amp;
310unset ALT_MOZILLA_HEADERS_PATH &amp;&amp;
311unset INSANE &amp;&amp;
312unset MAKE_VERBOSE &amp;&amp;
313unset ALT_CACERTS_FILE &amp;&amp;
314export PATH=${PATH_HOLD} &amp;&amp;
315unset PATH_HOLD</userinput></screen>
316
317 </sect2>
318
319 <sect2 role="commands">
320 <title>Command Explanations</title>
321
322 <para><command>export ALT_BOOTDIR="$JAVA_HOME"</command>: This variable sets
323 the location of the bootstrap <application>JDK</application>.</para>
324
325 <para><command>export ALT_MOZILLA_HEADERS_PATH=$PWD/share/plugin/</command>:
326 This tells the build exactly where to find the
327 <application>Mozilla</application> headers. This has changed since the
328 previous version and is not mentioned in the installation documentation
329 included with the package source.</para>
330
331 <para><command>export ALT_DEVTOOLS_PATH="/usr/bin"</command>: This
332 changes the location where the build finds the needed executables.</para>
333
334 <para><command>export BUILD_NUMBER="blfs-&blfs-version;"</command>:
335 This will help you identify the compiled version of the runtime environment
336 and virtual machine by appending this information to the version
337 string.</para>
338
339 <para><command>export DEV_ONLY=true</command>: This command
340 skips compiling the documentation and eliminates a dependency on
341 <application>rpm</application>.</para>
342
343 <para><command>unset JAVA_HOME</command>: This clears the
344 <envar>JAVA_HOME</envar> variable as recommended by the build
345 instructions.</para>
346
347 <para><command>unset CLASSPATH</command>: This clears the
348 <envar>CLASSPATH</envar> variable as recommended by the build
349 instructions.</para>
350
351 <para><command>unset CFLAGS/CXXFLAGS...</command>: These variables cause
352 miscompilation of the build. Never set them.</para>
353
354 <para><command>export INSANE=true</command>: The certified platform for the
355 build is Redhat Enterprise Advanced Server 2.1. This variable ensures that
356 all the errors related to compiling on a non-certified platform will be
357 displayed as warnings instead of errors.</para>
358
359 <para><command>export MAKE_VERBOSE=true</command>: Allows the compiler
360 commands to be displayed on the console.</para>
361
362 <para><command>export ALT_CACERTS_FILE...</command>: Specifies the
363 certificate file to use (from the installed binary
364 <application>JDK</application>).</para>
365
366 <para><command>ln -sf motif21/libmawt.so
367 /opt/jdk/jdk-&jdk-src-version;/jre/lib/i386/</command>: This fixes
368 linking issues with other applications that expect to find the
369 <application>motif</application> libraries with the other
370 <application>JDK</application> libraries.</para>
371
372 </sect2>
373
374 <sect2 role="configuration">
375 <title>Configuring JDK</title>
376
377 <sect3>
378 <title>Configuration Information</title>
379
380 <para>There are now two Java 2 SDKs installed in
381 <filename>/opt/jdk</filename>. You should decide on which one you
382 would like to use as the default. For example if you decide to use the
383 source compiled <application>JDK</application>, do the following as the
384 <systemitem class="username">root</systemitem> user:</para>
385
386<screen role="root"><userinput>ln -v -nsf jdk-&jdk-src-version; /opt/jdk/jdk</userinput></screen>
387
388 <para>Add the following <filename>jdk.sh</filename> shell startup file to
389 the <filename>/etc/profile.d</filename> directory with the following
390 commands as the <systemitem class="username">root</systemitem> user:</para>
391
392<screen role="root"><userinput>cat &gt; /etc/profile.d/jdk.sh &lt;&lt; "EOF"
393<literal># Begin /etc/profile.d/jdk.sh
394
395# Set JAVA_HOME directory
396JAVA_HOME=/opt/jdk/jdk
397export JAVA_HOME
398
399# Adjust PATH
400pathappend ${JAVA_HOME}/bin PATH
401
402# Auto Java Classpath Updating
403# Create symlinks to this directory for auto classpath setting
404AUTO_CLASSPATH_DIR=/usr/lib/classpath
405if [ -z ${CLASSPATH} ]; then
406 CLASSPATH=.:${AUTO_CLASSPATH_DIR}
407else
408 CLASSPATH="${CLASSPATH}:.:${AUTO_CLASSPATH_DIR}"
409fi
410
411# Check for empty AUTO_CLASSPATH_DIR
412ls ${AUTO_CLASSPATH_DIR}/*.jar &amp;> /dev/null &amp;&amp;
413for i in ${AUTO_CLASSPATH_DIR}/*.jar
414 do CLASSPATH=${CLASSPATH}:"${i}"
415done
416export CLASSPATH
417
418# End /etc/profile.d/jdk.sh</literal>
419EOF</userinput></screen>
420
421 <para>The <application>Java</application> plugin is located in
422 <filename class="directory">$JAVA_HOME/jre/plugin/i?86/ns7/</filename>.
423 Make a symbolic link to the file in that directory from your browser(s)
424 plugins directory.</para>
425
426 <important>
427 <para>The plugin must be a symlink for it to work. If not, the browsers
428 will crash when you attempt to load a <application>Java</application>
429 application.</para>
430 </important>
431
432 </sect3>
433
434 </sect2>
435
436 <sect2 role="content">
437 <title>Contents</title>
438
439 <segmentedlist>
440 <segtitle>Installed Programs</segtitle>
441 <segtitle>Installed Libraries</segtitle>
442 <segtitle>Installed Directory</segtitle>
443
444 <seglistitem>
445 <seg>appletviewer, extcheck, idlj, jar, jarsigner, java, javac,
446 javadoc,javah, javap, javaws, jdb, keytool, native2ascii, orbd,
447 policytool, rmic, rmid, rmiregistry, serialver, servertool, and
448 tnameserv</seg>
449 <seg><envar>$JAVA_HOME</envar>/lib/*,
450 <envar>$JAVA_HOME</envar>/jre/lib/*,
451 and libjavaplugin_oji.so</seg>
452 <seg>/opt/jdk</seg>
453 </seglistitem>
454 </segmentedlist>
455
456 <variablelist>
457 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
458 <?dbfo list-presentation="list"?>
459 <?dbhtml list-presentation="table"?>
460
461 <varlistentry id="appletviewer">
462 <term><command>appletviewer</command></term>
463 <listitem>
464 <para>runs <application>Java</application> applets outside of the
465 context of a browser.</para>
466 <indexterm zone="jdk appletviewer">
467 <primary sortas="b-appletviewer">appletviewer</primary>
468 </indexterm>
469 </listitem>
470 </varlistentry>
471
472 <varlistentry id="extcheck">
473 <term><command>extcheck</command></term>
474 <listitem>
475 <para>checks a specified <filename>JAR</filename> file for title
476 and version conflicts with any extensions installed in the
477 <application>JDK</application> software.</para>
478 <indexterm zone="jdk extcheck">
479 <primary sortas="b-extcheck">extcheck</primary>
480 </indexterm>
481 </listitem>
482 </varlistentry>
483
484 <varlistentry id="idlj">
485 <term><command>idlj</command></term>
486 <listitem>
487 <para>generates <application>Java</application> bindings from a
488 given IDL file.</para>
489 <indexterm zone="jdk idlj">
490 <primary sortas="b-idlj">idlj</primary>
491 </indexterm>
492 </listitem>
493 </varlistentry>
494
495 <varlistentry id="jar">
496 <term><command>jar</command></term>
497 <listitem>
498 <para>combines multiple files into a single <filename>JAR</filename>
499 archive file.</para>
500 <indexterm zone="jdk jar">
501 <primary sortas="b-jar">jar</primary>
502 </indexterm>
503 </listitem>
504 </varlistentry>
505
506 <varlistentry id="jarsigner">
507 <term><command>jarsigner</command></term>
508 <listitem>
509 <para>signs <filename>JAR</filename> (Java ARchive) files and verifies the
510 signatures and integrity of a signed <filename>JAR</filename>.</para>
511 <indexterm zone="jdk jarsigner">
512 <primary sortas="b-jarsigner">jarsigner</primary>
513 </indexterm>
514 </listitem>
515 </varlistentry>
516
517 <varlistentry id="java">
518 <term><command>java</command></term>
519 <listitem>
520 <para>launches a <application>Java</application> application by
521 starting a <application>Java</application> runtime environment, loading a
522 specified class and invoking its main method.</para>
523 <indexterm zone="jdk java">
524 <primary sortas="b-java">java</primary>
525 </indexterm>
526 </listitem>
527 </varlistentry>
528
529 <varlistentry id="javac">
530 <term><command>javac</command></term>
531 <listitem>
532 <para>reads class and interface definitions, written in the
533 <application>Java</application> programming language, and compiles
534 them into bytecode class files.</para>
535 <indexterm zone="jdk javac">
536 <primary sortas="b-javac">javac</primary>
537 </indexterm>
538 </listitem>
539 </varlistentry>
540
541 <varlistentry id="javadoc">
542 <term><command>javadoc</command></term>
543 <listitem>
544 <para>parses the declarations and documentation comments in a set of
545 <application>Java</application> source files and produces a corresponding
546 set of HTML pages describing the classes, interfaces,
547 constructors, methods, and fields.</para>
548 <indexterm zone="jdk javadoc">
549 <primary sortas="b-javadoc">javadoc</primary>
550 </indexterm>
551 </listitem>
552 </varlistentry>
553
554 <varlistentry id="javah">
555 <term><command>javah</command></term>
556 <listitem>
557 <para>generates <application>C</application> header and source files
558 that are needed to implement native methods.</para>
559 <indexterm zone="jdk javah">
560 <primary sortas="b-javah">javah</primary>
561 </indexterm>
562 </listitem>
563 </varlistentry>
564
565 <varlistentry id="javap">
566 <term><command>javap</command></term>
567 <listitem>
568 <para>disassembles a <application>Java</application> class file.</para>
569 <indexterm zone="jdk javap">
570 <primary sortas="b-javap">javap</primary>
571 </indexterm>
572 </listitem>
573 </varlistentry>
574
575 <varlistentry id="javaws">
576 <term><command>javaws</command></term>
577 <listitem>
578 <para>launches <application>Java </application>application/applets
579 hosted on a network.</para>
580 <indexterm zone="jdk javaws">
581 <primary sortas="b-javaws">javaws</primary>
582 </indexterm>
583 </listitem>
584 </varlistentry>
585
586 <varlistentry id="jdb">
587 <term><command>jdb</command></term>
588 <listitem>
589 <para>is a simple command-line debugger for
590 <application>Java</application> classes.</para>
591 <indexterm zone="jdk jdb">
592 <primary sortas="b-jdb">jdb</primary>
593 </indexterm>
594 </listitem>
595 </varlistentry>
596
597 <varlistentry id="keytool">
598 <term><command>keytool</command></term>
599 <listitem>
600 <para>is a key and certificate management utility.</para>
601 <indexterm zone="jdk keytool">
602 <primary sortas="b-keytool">keytool</primary>
603 </indexterm>
604 </listitem>
605 </varlistentry>
606
607 <varlistentry id="native2ascii">
608 <term><command>native2ascii</command></term>
609 <listitem>
610 <para> converts files that contain non-supported character encoding
611 into files containing Latin-1 or Unicode-encoded characters.</para>
612 <indexterm zone="jdk native2ascii">
613 <primary sortas="b-native2ascii">native2ascii</primary>
614 </indexterm>
615 </listitem>
616 </varlistentry>
617
618 <varlistentry id="orbd">
619 <term><command>orbd</command></term>
620 <listitem>
621 <para>is used to enable clients to transparently locate and invoke
622 persistent objects on servers in the CORBA environment.</para>
623 <indexterm zone="jdk orbd">
624 <primary sortas="b-orbd">orbd</primary>
625 </indexterm>
626 </listitem>
627 </varlistentry>
628
629 <varlistentry id="policytool">
630 <term><command>policytool</command></term>
631 <listitem>
632 <para>creates and manages a policy file graphically.</para>
633 <indexterm zone="jdk policytool">
634 <primary sortas="b-policytool">policytool</primary>
635 </indexterm>
636 </listitem>
637 </varlistentry>
638
639 <varlistentry id="rmic">
640 <term><command>rmic</command></term>
641 <listitem>
642 <para>generates stub and skeleton class files for remote objects
643 from the names of compiled <application>Java</application> classes that
644 contain remote object implementations.</para>
645 <indexterm zone="jdk rmic">
646 <primary sortas="b-rmic">rmic</primary>
647 </indexterm>
648 </listitem>
649 </varlistentry>
650
651 <varlistentry id="rmid">
652 <term><command>rmid</command></term>
653 <listitem>
654 <para>starts the activation system daemon.</para>
655 <indexterm zone="jdk rmid">
656 <primary sortas="b-rmid">rmid</primary>
657 </indexterm>
658 </listitem>
659 </varlistentry>
660
661 <varlistentry id="rmiregistry">
662 <term><command>rmiregistry</command></term>
663 <listitem>
664 <para>creates and starts a remote object registry on the specified
665 port on the current host.</para>
666 <indexterm zone="jdk rmiregistry">
667 <primary sortas="b-rmiregistry">rmiregistry</primary>
668 </indexterm>
669 </listitem>
670 </varlistentry>
671
672 <varlistentry id="serialver">
673 <term><command>serialver</command></term>
674 <listitem>
675 <para>returns the serialVersionUID for one or more classes in a
676 form suitable for copying into an evolving class.</para>
677 <indexterm zone="jdk serialver">
678 <primary sortas="b-serialver">serialver</primary>
679 </indexterm>
680 </listitem>
681 </varlistentry>
682
683 <varlistentry id="servertool">
684 <term><command>servertool</command></term>
685 <listitem>
686 <para>provides an ease-of-use interface for application programmers
687 to register, unregister, startup and shutdown a server.</para>
688 <indexterm zone="jdk servertool">
689 <primary sortas="b-servertool">servertool</primary>
690 </indexterm>
691 </listitem>
692 </varlistentry>
693
694 <varlistentry id="tnameserv">
695 <term><command>tnameserv</command></term>
696 <listitem>
697 <para>starts the <application>Java</application> IDL name server.</para>
698 <indexterm zone="jdk tnameserv">
699 <primary sortas="b-tnameserv">tnameserv</primary>
700 </indexterm>
701 </listitem>
702 </varlistentry>
703
704 </variablelist>
705
706 </sect2>
707
708</sect1>
Note: See TracBrowser for help on using the repository browser.