source: general/prog/jdk.xml@ f7fc4ac

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

oo fixups

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

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