mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Tagged jdk.xml
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3979 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
1218038184
commit
4378f9353a
@ -15,19 +15,21 @@
|
||||
]>
|
||||
|
||||
<sect1 id="jdk" xreflabel="JDK-&jdk-src-version;">
|
||||
<?dbhtml filename="jdk.html" ?>
|
||||
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
<?dbhtml filename="jdk.html" ?>
|
||||
|
||||
<title><application>JDK</application>-&jdk-src-version;</title>
|
||||
|
||||
<indexterm zone="jdk">
|
||||
<primary sortas="a-JDK">JDK</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2>
|
||||
<title>Introduction to
|
||||
<application>JDK</application></title>
|
||||
<sect2 role="package">
|
||||
<title>Introduction to JDK</title>
|
||||
|
||||
<para>The <application>JDK</application> package contains
|
||||
Sun's <application>Java</application> development environment. This is useful
|
||||
@ -36,10 +38,10 @@ runtime environment necessary to run <application>Java</application> programs.
|
||||
It also includes a plug-in for browsers so that they can be
|
||||
<application>Java</application> aware.</para>
|
||||
|
||||
<para>The <acronym>JDK</acronym> comes in two flavors, a precompiled binary
|
||||
and a source package. Previously, the plugin included in the
|
||||
<acronym>JDK</acronym> binary package was unusable on <acronym>LFS</acronym>
|
||||
owing to incompatibilities with <acronym>GCC</acronym>-3 compiled browsers.
|
||||
<para>The <application>JDK</application> comes in two flavors, a precompiled
|
||||
binary and a source package. Previously, the plugin included in the
|
||||
<application>JDK</application> binary package was unusable on LFS
|
||||
owing to incompatibilities with <application>GCC</application>-3 compiled browsers.
|
||||
This is not the case anymore.</para>
|
||||
|
||||
<para>In order to use the source code and patches, you must read and agree
|
||||
@ -48,110 +50,125 @@ Java Research License</ulink>. In addition, the source code cannot be
|
||||
downloaded from some countries, so for users from those countries, the binary
|
||||
is the only option.</para>
|
||||
|
||||
<para>If you plan on compiling the <acronym>JDK</acronym> source, you
|
||||
<para>If you plan on compiling the <application>JDK</application> source, you
|
||||
will still need to download the binary version to bootstrap the
|
||||
<acronym>JDK</acronym> build. You will need to download a total of four
|
||||
<application>JDK</application> build. You will need to download a total of four
|
||||
files to complete the source build:
|
||||
<filename>jdk-1_5_0_02-linux-i586.bin</filename>;
|
||||
<filename>jdk-1_5_0-src-jrl.zip</filename>;
|
||||
<filename>jdk-1_5_0-bin-jrl.zip</filename>;
|
||||
and <filename>jdk-1_5_0-mozilla_headers-unix.zip</filename>.</para>
|
||||
|
||||
<sect3><title>Package information</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Binary download:
|
||||
<ulink url="&jdk-download-binary;"/></para></listitem>
|
||||
<listitem><para>Version used (binary):
|
||||
&jdk-bin-version;</para></listitem>
|
||||
<listitem><para>Download MD5 sum (binary):
|
||||
&jdk-bin-md5sum;</para></listitem>
|
||||
<listitem><para>Source download:
|
||||
<ulink url="&jdk-download-source;"/></para></listitem>
|
||||
<listitem><para>Download MD5 sum (source):
|
||||
<ulink url="&jdk-source-md5sum;"/></para></listitem>
|
||||
<listitem><para>Download size (binary):
|
||||
&jdk-bin-size;</para></listitem>
|
||||
<listitem><para>Download size (source):
|
||||
&jdk-src-size;</para></listitem>
|
||||
<listitem><para>Estimated disk space required:
|
||||
&jdk-src-buildsize;</para></listitem>
|
||||
<listitem><para>Estimated build time:
|
||||
&jdk-time;</para></listitem></itemizedlist>
|
||||
</sect3>
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Binary download: <ulink url="&jdk-download-binary;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Version used (binary): <ulink url="&jdk-bin-version;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download MD5 sum (binary): &jdk-bin-md5sum;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Source download: <ulink url="&jdk-download-source;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download MD5 sum (source): &jdk-source-md5sum;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download size (binary): &jdk-bin-size;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download size (source): &jdk-src-size;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated disk space required: &jdk-src-buildsize;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated build time: &jdk-time;</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<sect3><title>Required Patches</title>
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required Patches</bridgehead>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para><ulink
|
||||
<listitem>
|
||||
<para><ulink
|
||||
url="&patch-root;/jdk-&jdk-src-version;-gcc_3.4.2+-3.patch"/></para>
|
||||
</listitem>
|
||||
<listitem><para><ulink
|
||||
<listitem>
|
||||
<para><ulink
|
||||
url="&patch-root;/jdk-&jdk-src-version;-motif_mkmsgcat-1.patch"/></para>
|
||||
</listitem>
|
||||
<listitem><para><ulink
|
||||
<listitem>
|
||||
<para><ulink
|
||||
url="&patch-root;/jdk-&jdk-src-version;-nptl-1.patch"/></para></listitem>
|
||||
<listitem><para><ulink
|
||||
<listitem>
|
||||
<para><ulink
|
||||
url="&patch-root;/jdk-&jdk-src-version;-remove_broken_demo-1.patch"/></para>
|
||||
</listitem>
|
||||
<listitem><para><ulink
|
||||
<listitem>
|
||||
<para><ulink
|
||||
url="&patch-root;/jdk-&jdk-src-version;-remove_fixed_paths-1.patch"/></para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Recommended Patches</title>
|
||||
<bridgehead renderas="sect4">Recommended Patches</bridgehead>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para><ulink
|
||||
<listitem>
|
||||
<para><ulink
|
||||
url="&patch-root;/jdk-&jdk-src-version;-remove_debug_image-1.patch"/>
|
||||
(Skips compiling of the <application>JDK</application> debug image)</para>
|
||||
</listitem>
|
||||
<listitem><para><ulink
|
||||
<listitem>
|
||||
<para><ulink
|
||||
url="&patch-root;/jdk-&jdk-src-version;-static_cxx-1.patch"/>
|
||||
(Forces dynamic linking to gcc libs)</para></listitem>
|
||||
<listitem><para><ulink
|
||||
<listitem>
|
||||
<para><ulink
|
||||
url="&patch-root;/jdk-&jdk-src-version;-xorg-6.8.1-1.patch"/>
|
||||
(Only required if building agianst <xref linkend="xorg"/>)</para></listitem>
|
||||
(Only required if building agianst <xref linkend="xorg"/>)</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<bridgehead renderas="sect3">TEMPLATE Dependencies</bridgehead>
|
||||
|
||||
<sect3><title><application>JDK</application> dependencies</title>
|
||||
<sect4><title>Required (to build <application>JDK</application> from
|
||||
source)</title>
|
||||
<bridgehead renderas="sect4">Required (to build JDK from source)</bridgehead>
|
||||
<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
||||
<xref linkend="zip"/>,
|
||||
<xref linkend="unzip"/>,
|
||||
<xref linkend="cpio"/>,
|
||||
<xref linkend="alsa"/>, and
|
||||
<xref linkend="tcsh"/></para>
|
||||
</sect4>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of <application>JDK</application></title>
|
||||
<sect2 role="installation">
|
||||
<title>Installation of JDK</title>
|
||||
|
||||
<para>Both versions will be installed in parallel. You may choose to keep
|
||||
either or both.</para>
|
||||
|
||||
<para>Install the precompiled <acronym>JDK</acronym> with the
|
||||
<para>Install the precompiled <application>JDK</application> with the
|
||||
following commands:</para>
|
||||
|
||||
<screen><userinput><command>export VERSION=&jdk-bin-version; &&
|
||||
<screen><userinput>export VERSION=&jdk-bin-version; &&
|
||||
export MV=`echo $VERSION | cut -d "_" -f 1,1` &&
|
||||
export V=`echo ${VERSION} | sed -e "s/\./_/g"` &&
|
||||
sed -i "s:^PATH=.*::" jdk-${V}-linux-i?86.bin &&
|
||||
chmod +x jdk-${V}-linux-i?86.bin &&
|
||||
mkdir -p bin &&
|
||||
ln -sf /bin/true bin/more &&
|
||||
chmod -v +x jdk-${V}-linux-i?86.bin &&
|
||||
mkdir -v -p bin &&
|
||||
ln -v -sf /bin/true bin/more &&
|
||||
yes | PATH=$PWD/bin:$PATH ./jdk-${V}-linux-i?86.bin &&
|
||||
cd jdk${VERSION}</command></userinput></screen>
|
||||
cd jdk${VERSION}</userinput></screen>
|
||||
|
||||
<para>Now, as the root user:</para>
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen><userinput role='root'><command>install -d /opt/jdk/jdk-precompiled-${MV} &&
|
||||
mv * /opt/jdk/jdk-precompiled-${MV}
|
||||
chown -R root:root /opt/jdk/jdk-precompiled-${MV}</command></userinput></screen>
|
||||
<screen role="root"><userinput>install -v -d /opt/jdk/jdk-precompiled-${MV} &&
|
||||
mv -v * /opt/jdk/jdk-precompiled-${MV}
|
||||
chown -v -R root:root /opt/jdk/jdk-precompiled-${MV}</userinput></screen>
|
||||
|
||||
<para>The binary version is now installed.</para>
|
||||
|
||||
@ -159,30 +176,31 @@ chown -R root:root /opt/jdk/jdk-precompiled-${MV}</command></userinput></screen>
|
||||
download the source owing to license restrictions, skip ahead to the
|
||||
configuration section.</para>
|
||||
|
||||
<para>Add the recently installed <acronym>JDK</acronym> to the path.</para>
|
||||
<para>Add the recently installed <application>JDK</application>
|
||||
to the path.</para>
|
||||
|
||||
<screen><userinput><command>export JAVA_HOME=/opt/jdk/jdk-precompiled-${MV} &&
|
||||
export PATH=$PATH:${JAVA_HOME}/bin</command></userinput></screen>
|
||||
<screen><userinput>export JAVA_HOME=/opt/jdk/jdk-precompiled-${MV} &&
|
||||
export PATH=$PATH:${JAVA_HOME}/bin</userinput></screen>
|
||||
|
||||
<para>Unzip the sources:</para>
|
||||
|
||||
<screen><userinput><command>mkdir jdk-build &&
|
||||
<screen><userinput>mkdir jdk-build &&
|
||||
cd jdk-build &&
|
||||
VERSION=&jdk-src-version; &&
|
||||
V=`echo $VERSION | sed -e "s/\./_/g"` &&
|
||||
unzip ../jdk-${V}-src-jrl.zip &&
|
||||
unzip ../jdk-${V}-bin-jrl.zip &&
|
||||
unzip ../jdk-${V}-mozilla_headers-unix.zip</command></userinput></screen>
|
||||
unzip ../jdk-${V}-mozilla_headers-unix.zip</userinput></screen>
|
||||
|
||||
<para>Apply all the patches downloaded above.</para>
|
||||
|
||||
<screen><userinput><command>for PATCH in ../jdk-&jdk-src-version;*.patch
|
||||
<screen><userinput>for PATCH in ../jdk-&jdk-src-version;*.patch
|
||||
do patch -Np1 -i ${PATCH}
|
||||
done</command></userinput></screen>
|
||||
done</userinput></screen>
|
||||
|
||||
<para>Set/unset some variables which affect the build:</para>
|
||||
|
||||
<screen><userinput><command>export ALT_BOOTDIR="$JAVA_HOME" &&
|
||||
<screen><userinput>export ALT_BOOTDIR="$JAVA_HOME" &&
|
||||
unset JAVA_HOME &&
|
||||
unset CLASSPATH
|
||||
unset CFLAGS
|
||||
@ -194,16 +212,18 @@ export DEV_ONLY=true &&
|
||||
export ALT_MOZILLA_PATH=$PWD &&
|
||||
export INSANE=true &&
|
||||
export MAKE_VERBOSE=true &&
|
||||
export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts</command></userinput></screen>
|
||||
export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts</userinput></screen>
|
||||
|
||||
<warning><para>Setting CFLAGS/CXXFLAGS/LDFLAGS is guaranteed to make the build
|
||||
<warning>
|
||||
<para>Setting CFLAGS/CXXFLAGS/LDFLAGS is guaranteed to make the build
|
||||
fail. If you are interested in optimizing the build, set
|
||||
OTHER_CFLAGS/OTHER_CXXFLAGS/OTHER_LDFLAGS instead.</para></warning>
|
||||
OTHER_CFLAGS/OTHER_CXXFLAGS/OTHER_LDFLAGS instead.</para>
|
||||
</warning>
|
||||
|
||||
<para>Additionally, if you would like to make in parallel, add the
|
||||
following:</para>
|
||||
|
||||
<screen><userinput><command>export HOTSPOT_BUILD_JOBS=<replaceable>[3]</replaceable></command></userinput></screen>
|
||||
<screen><userinput>export HOTSPOT_BUILD_JOBS=<replaceable>[3]</replaceable></userinput></screen>
|
||||
|
||||
<para>Build the <application>JDK</application> with the following
|
||||
commands. There will be a lot of messages about missing files that look like
|
||||
@ -211,18 +231,19 @@ errors. These are caused by not meeting the expected build environemnt
|
||||
(Red Hat). As long as the build doesn't stop, the messages
|
||||
are harmless.</para>
|
||||
|
||||
<screen><userinput><command>cd control/make &&
|
||||
<screen><userinput>cd control/make &&
|
||||
make &&
|
||||
cd ../build/linux-i?86</command></userinput></screen>
|
||||
cd ../build/linux-i?86</userinput></screen>
|
||||
|
||||
<para>Now, as the root user, install the <application>JDK</application>:</para>
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user,
|
||||
install the <application>JDK</application>:</para>
|
||||
|
||||
<screen><userinput role='root'><command>cp -a j2sdk-image /opt/jdk/jdk-&jdk-src-version; &&
|
||||
chown -R root:root /opt/jdk/jdk-&jdk-src-version;</command></userinput></screen>
|
||||
<screen role="root"><userinput>cp -v -a j2sdk-image /opt/jdk/jdk-&jdk-src-version; &&
|
||||
chown -v -R root:root /opt/jdk/jdk-&jdk-src-version;</userinput></screen>
|
||||
|
||||
<para>Restore the environment using the following commands:</para>
|
||||
|
||||
<screen><userinput><command>unset VERSION &&
|
||||
<screen><userinput>unset VERSION &&
|
||||
unset MV &&
|
||||
unset V &&
|
||||
unset ALT_BOOTDIR &&
|
||||
@ -232,15 +253,15 @@ unset DEV_ONLY &&
|
||||
unset ALT_MOZILLA_PATH &&
|
||||
unset INSANE &&
|
||||
unset MAKE_VERBOSE &&
|
||||
unset ALT_CACERTS_FILE</command></userinput></screen>
|
||||
unset ALT_CACERTS_FILE</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Command explanations</title>
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><command>export ALT_BOOTDIR="$JAVA_HOME"</command>: This var sets
|
||||
the location of the bootstrap <acronym>JDK</acronym>.</para>
|
||||
the location of the bootstrap <application>JDK</application>.</para>
|
||||
|
||||
<para><command>export ALT_MOZILLA_PATH=$PWD</command>: This tells the build
|
||||
where to find the base directory of the plugin path (which contains the
|
||||
@ -283,24 +304,25 @@ certificate file to use (from the installed binary
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Configuring <application>JDK</application></title>
|
||||
<sect2 role="configuration">
|
||||
<title>Configuring JDK</title>
|
||||
|
||||
<sect3><title>Configuration Information</title>
|
||||
<sect3>
|
||||
<title>Configuration Information</title>
|
||||
|
||||
<para>There are now two Java 2 <acronym>SDK</acronym>'s installed in
|
||||
<para>There are now two Java 2 SDK's installed in
|
||||
<filename>/opt/jdk</filename>. You should decide on which one you
|
||||
would like to use as the default. For example if you decide to use the source
|
||||
compiled <application>JDK</application>, do the following:</para>
|
||||
|
||||
<screen><userinput><command>ln -nsf jdk-&jdk-src-version; /opt/jdk/jdk</command></userinput></screen>
|
||||
<screen><userinput>ln -v -nsf jdk-&jdk-src-version; /opt/jdk/jdk</userinput></screen>
|
||||
|
||||
<para>Add the following <filename>jdk.sh</filename> shell startup file to
|
||||
the <filename>/etc/profile.d</filename> directory with the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput><command>cat > /etc/profile.d/jdk.sh << "EOF"</command>
|
||||
# Begin /etc/profile.d/jdk.sh
|
||||
<screen><userinput>cat > /etc/profile.d/jdk.sh << "EOF"
|
||||
<literal># Begin /etc/profile.d/jdk.sh
|
||||
|
||||
# Set JAVA_HOME directory
|
||||
JAVA_HOME=/opt/jdk/jdk
|
||||
@ -325,23 +347,25 @@ for i in ${AUTO_CLASSPATH_DIR}/*.jar
|
||||
done
|
||||
export CLASSPATH
|
||||
|
||||
# End /etc/profile.d/jdk.sh
|
||||
<command>EOF</command></userinput></screen>
|
||||
# End /etc/profile.d/jdk.sh</literal>
|
||||
EOF</userinput></screen>
|
||||
|
||||
<para>The <application>Java</application> plugin is loacated in
|
||||
<filename class="directory">$JAVA_HOME/jre/plugin/i?86/ns7/</filename>.
|
||||
Make a symbolic link to the file in that directory from your browser
|
||||
plugins directory.</para>
|
||||
|
||||
<note><para>The plugin must be a symlink for it to work. If not, the browsers
|
||||
<note>
|
||||
<para>The plugin must be a symlink for it to work. If not, the browsers
|
||||
just crash when you attempt to load a <application>Java</application>
|
||||
application.</para></note>
|
||||
application.</para>
|
||||
</note>
|
||||
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
@ -352,8 +376,8 @@ application.</para></note>
|
||||
<seglistitem>
|
||||
<seg>appletviewer, extcheck, idlj, jar, jarsigner, java, javac, javadoc,
|
||||
javah, javap, javaws, jdb, keytool, native2ascii, orbd, policytool, rmic, rmid,
|
||||
rmiregistry, serialver, servertool and tnameserv</seg>
|
||||
<seg><envar>$JAVA_HOME</envar>/lib/*, <envar>$JAVA_HOME</envar>/jre/lib/*
|
||||
rmiregistry, serialver, servertool, and tnameserv</seg>
|
||||
<seg><envar>$JAVA_HOME</envar>/lib/*, <envar>$JAVA_HOME</envar>/jre/lib/*,
|
||||
and libjavaplugin_oji.so</seg>
|
||||
<seg>/opt/jdk</seg>
|
||||
</seglistitem>
|
||||
@ -362,211 +386,253 @@ and libjavaplugin_oji.so</seg>
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="appletviewer">
|
||||
<term><command>appletviewer</command></term>
|
||||
<listitem><para>runs <application>Java</application> applets outside of the
|
||||
<listitem>
|
||||
<para>runs <application>Java</application> applets outside of the
|
||||
context of a browser.</para>
|
||||
<indexterm zone="jdk appletviewer">
|
||||
<primary sortas="b-appletviewer">appletviewer</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="extcheck">
|
||||
<term><command>extcheck</command></term>
|
||||
<listitem><para>checks a specified <filename>JAR</filename> file for title
|
||||
<listitem>
|
||||
<para>checks a specified <filename>JAR</filename> file for title
|
||||
and version conflicts with any extensions installed in the
|
||||
<acronym>JDK</acronym> software.</para>
|
||||
<application>JDK</application> software.</para>
|
||||
<indexterm zone="jdk extcheck">
|
||||
<primary sortas="b-extcheck">extcheck</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="idlj">
|
||||
<term><command>idlj</command></term>
|
||||
<listitem><para>generates <application>Java</application> bindings from a
|
||||
given <acronym>IDL</acronym> file.</para>
|
||||
<listitem>
|
||||
<para>generates <application>Java</application> bindings from a
|
||||
given IDL file.</para>
|
||||
<indexterm zone="jdk idlj">
|
||||
<primary sortas="b-idlj">idlj</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="jar">
|
||||
<term><command>jar</command></term>
|
||||
<listitem><para>combines multiple files into a single <acronym>JAR</acronym>
|
||||
<listitem>
|
||||
<para>combines multiple files into a single <filename>JAR</filename>
|
||||
archive file.</para>
|
||||
<indexterm zone="jdk jar">
|
||||
<primary sortas="b-jar">jar</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="jarsigner">
|
||||
<term><command>jarsigner</command></term>
|
||||
<listitem><para>signs <filename>JAR</filename> (Java ARchive) files and
|
||||
verifies the signatures and integrity of a signed
|
||||
<filename>JAR</filename>.</para>
|
||||
<listitem>
|
||||
<para>signs <filename>JAR</filename> (Java ARchive) files and verifies the
|
||||
signatures and integrity of a signed <filename>JAR</filename>.</para>
|
||||
<indexterm zone="jdk jarsigner">
|
||||
<primary sortas="b-jarsigner">jarsigner</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="java">
|
||||
<term><command>java</command></term>
|
||||
<listitem><para>launches a <application>Java</application> application by
|
||||
<listitem>
|
||||
<para>launches a <application>Java</application> application by
|
||||
starting a <application>Java</application> runtime environment, loading a
|
||||
specified class and invoking its main method.</para>
|
||||
<indexterm zone="jdk java">
|
||||
<primary sortas="b-java">java</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="javac">
|
||||
<term><command>javac</command></term>
|
||||
<listitem><para>reads class and interface definitions, written in the
|
||||
<application>Java</application> programming language, and compiles them into
|
||||
bytecode class files.</para>
|
||||
<listitem>
|
||||
<para>reads class and interface definitions, written in the
|
||||
<application>Java</application> programming language, and compiles
|
||||
them into bytecode class files.</para>
|
||||
<indexterm zone="jdk javac">
|
||||
<primary sortas="b-javac">javac</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="javadoc">
|
||||
<term><command>javadoc</command></term>
|
||||
<listitem><para>parses the declarations and documentation comments in a set of
|
||||
<application>Java</application> source files and produces a corresponding set
|
||||
of <acronym>HTML</acronym> pages describing the classes, interfaces,
|
||||
<listitem>
|
||||
<para>parses the declarations and documentation comments in a set of
|
||||
<application>Java</application> source files and produces a corresponding
|
||||
set of HTML pages describing the classes, interfaces,
|
||||
constructors, methods, and fields.</para>
|
||||
<indexterm zone="jdk javadoc">
|
||||
<primary sortas="b-javadoc">javadoc</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="javah">
|
||||
<term><command>javah</command></term>
|
||||
<listitem><para>generates <application>C</application> header and source files
|
||||
<listitem>
|
||||
<para>generates <application>C</application> header and source files
|
||||
that are needed to implement native methods.</para>
|
||||
<indexterm zone="jdk javah">
|
||||
<primary sortas="b-javah">javah</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="javap">
|
||||
<term><command>javap</command></term>
|
||||
<listitem><para>disassembles a <application>Java</application> class
|
||||
file.</para>
|
||||
<listitem>
|
||||
<para>disassembles a <application>Java</application> class file.</para>
|
||||
<indexterm zone="jdk javap">
|
||||
<primary sortas="b-javap">javap</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="javaws">
|
||||
<term><command>javaws</command></term>
|
||||
<listitem><para>launches java application/applets hosted on a network.</para>
|
||||
<listitem>
|
||||
<para>launches <application>Java </application>application/applets
|
||||
hosted on a network.</para>
|
||||
<indexterm zone="jdk javaws">
|
||||
<primary sortas="b-javaws">javaws</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="jdb">
|
||||
<term><command>jdb</command></term>
|
||||
<listitem><para>is a simple command-line debugger for
|
||||
<listitem>
|
||||
<para>is a simple command-line debugger for
|
||||
<application>Java</application> classes.</para>
|
||||
<indexterm zone="jdk jdb">
|
||||
<primary sortas="b-jdb">jdb</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="keytool">
|
||||
<term><command>keytool</command></term>
|
||||
<listitem><para>is a key and certificate management utility.</para>
|
||||
<listitem>
|
||||
<para>is a key and certificate management utility.</para>
|
||||
<indexterm zone="jdk keytool">
|
||||
<primary sortas="b-keytool">keytool</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="native2ascii">
|
||||
<term><command>native2ascii</command></term>
|
||||
<listitem><para> converts files that contain non-supported character encoding
|
||||
<listitem>
|
||||
<para> converts files that contain non-supported character encoding
|
||||
into files containing Latin-1 or Unicode-encoded characters.</para>
|
||||
<indexterm zone="jdk native2ascii">
|
||||
<primary sortas="b-native2ascii">native2ascii</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="orbd">
|
||||
<term><command>orbd</command></term>
|
||||
<listitem><para>is used to enable clients to transparently locate and invoke
|
||||
persistent objects on servers in the <acronym>CORBA</acronym>
|
||||
environment.</para>
|
||||
<listitem>
|
||||
<para>is used to enable clients to transparently locate and invoke
|
||||
persistent objects on servers in the CORBA environment.</para>
|
||||
<indexterm zone="jdk orbd">
|
||||
<primary sortas="b-orbd">orbd</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="policytool">
|
||||
<term><command>policytool</command></term>
|
||||
<listitem><para>creates and manages a policy file graphically.</para>
|
||||
<listitem>
|
||||
<para>creates and manages a policy file graphically.</para>
|
||||
<indexterm zone="jdk policytool">
|
||||
<primary sortas="b-policytool">policytool</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="rmic">
|
||||
<term><command>rmic</command></term>
|
||||
<listitem><para>generates stub and skeleton class files for remote objects
|
||||
<listitem>
|
||||
<para>generates stub and skeleton class files for remote objects
|
||||
from the names of compiled <application>Java</application> classes that
|
||||
contain remote object implementations.</para>
|
||||
<indexterm zone="jdk rmic">
|
||||
<primary sortas="b-rmic">rmic</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="rmid">
|
||||
<term><command>rmid</command></term>
|
||||
<listitem><para>starts the activation system daemon.</para>
|
||||
<listitem>
|
||||
<para>starts the activation system daemon.</para>
|
||||
<indexterm zone="jdk rmid">
|
||||
<primary sortas="b-rmid">rmid</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="rmiregistry">
|
||||
<term><command>rmiregistry</command></term>
|
||||
<listitem><para>creates and starts a remote object registry on the specified
|
||||
<listitem>
|
||||
<para>creates and starts a remote object registry on the specified
|
||||
port on the current host.</para>
|
||||
<indexterm zone="jdk rmiregistry">
|
||||
<primary sortas="b-rmiregistry">rmiregistry</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="serialver">
|
||||
<term><command>serialver</command></term>
|
||||
<listitem><para>returns the serialVersionUID for one or more classes in a
|
||||
<listitem>
|
||||
<para>returns the serialVersionUID for one or more classes in a
|
||||
form suitable for copying into an evolving class.</para>
|
||||
<indexterm zone="jdk serialver">
|
||||
<primary sortas="b-serialver">serialver</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="servertool">
|
||||
<term><command>servertool</command></term>
|
||||
<listitem><para>provides an ease-of-use interface for application programmers
|
||||
<listitem>
|
||||
<para>provides an ease-of-use interface for application programmers
|
||||
to register, unregister, startup and shutdown a server.</para>
|
||||
<indexterm zone="jdk servertool">
|
||||
<primary sortas="b-servertool">servertool</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="tnameserv">
|
||||
<term><command>tnameserv</command></term>
|
||||
<listitem><para>starts the <application>Java</application>
|
||||
<acronym>IDL</acronym> name server.</para>
|
||||
<listitem>
|
||||
<para>starts the <application>Java</application> IDL name server.</para>
|
||||
<indexterm zone="jdk tnameserv">
|
||||
<primary sortas="b-tnameserv">tnameserv</primary>
|
||||
</indexterm></listitem>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user