source: general/prog/jdk.xml@ 6dd0164

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 6dd0164 was 6dd0164, checked in by DJ Lucas <dj@…>, 19 years ago

needed version in mawt symlink

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

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