source: general/prog/jdk.xml@ 1d61428d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.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 1d61428d was 1d61428d, checked in by DJ Lucas <dj@…>, 19 years ago

added jdk optimization patch

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

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