source: general/prog/jdk.xml@ 4af60e8a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4af60e8a was f86db562, checked in by DJ Lucas <dj@…>, 19 years ago

Updated JDK binary version to 1.5.0_06

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

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