source: general/prog/jdk.xml@ b2b2c09

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since b2b2c09 was 985c02e, checked in by DJ Lucas <dj@…>, 18 years ago

updated JDK instructions to work with xorg7

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

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