source: general/prog/jdk.xml@ 256ee72c

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 256ee72c was 256ee72c, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Adding automatized scripts generation related tags. Prog chapter.

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

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