[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[2be5861] | 7 | <!ENTITY jdk-download-http "http://java.sun.com/javase/downloads/index.jsp">
|
---|
[0ded545] | 8 | <!ENTITY jdk-md5sum "ad5ee976522bf5767100a8b4b981c690">
|
---|
| 9 | <!ENTITY jdk-size "85 MB">
|
---|
| 10 | <!ENTITY jdk-buildsize "250 MB">
|
---|
| 11 | <!ENTITY jdk-bin-version "6u18">
|
---|
[7335854e] | 12 | <!ENTITY jdk-build-time "0.1 SBU">
|
---|
[0ded545] | 13 | <!ENTITY jdk-version-string "1.6.0_18">
|
---|
[9f15455] | 14 |
|
---|
[52d29f7] | 15 | ]>
|
---|
| 16 |
|
---|
[a240109f] | 17 | <sect1 id="jdk" xreflabel="JDK-&jdk-version;">
|
---|
[4378f935] | 18 | <?dbhtml filename="jdk.html" ?>
|
---|
| 19 |
|
---|
| 20 |
|
---|
[a8d33f07] | 21 | <title>JDK-&jdk-version;</title>
|
---|
[4378f935] | 22 |
|
---|
| 23 | <indexterm zone="jdk">
|
---|
| 24 | <primary sortas="a-JDK">JDK</primary>
|
---|
| 25 | </indexterm>
|
---|
| 26 |
|
---|
| 27 | <sect2 role="package">
|
---|
| 28 | <title>Introduction to JDK</title>
|
---|
| 29 |
|
---|
[dae2ba0b] | 30 | <para>The <application>JDK</application> package contains
|
---|
[bccbdaea] | 31 | Sun's <application>Java</application> development environment. This is
|
---|
| 32 | useful for developing <application>Java</application> programs and provides
|
---|
| 33 | the runtime environment necessary to run <application>Java</application>
|
---|
[cb61e3a8] | 34 | programs. It also includes a plug-in for browsers so that they can be
|
---|
[4378f935] | 35 | <application>Java</application> aware.</para>
|
---|
| 36 |
|
---|
[2be5861] | 37 |
|
---|
[c87dd41] | 38 | <!--
|
---|
[2be5861] | 39 | <note><para>Sun has recently decided not to provide JRL sources for
|
---|
| 40 | the latest update versions of the JDK. Sun is actively working on a GPL'd
|
---|
[0ecf995] | 41 | version of the JDK, titled
|
---|
[9f15455] | 42 | <ulink url="http://openjdk.java.net/projects/jdk6/">OpenJDK</ulink>.
|
---|
| 43 | This new JDK will be licensed under the
|
---|
| 44 | <ulink url="http://openjdk.java.net/legal/gplv2+ce.html">GNU General
|
---|
| 45 | Public License, version 2, with the Classpath Exception</ulink>.
|
---|
[2be5861] | 46 | A stable OpenJDK was not available at the time of writing.</para></note>
|
---|
[c87dd41] | 47 | -->
|
---|
[1402f13] | 48 |
|
---|
[2be5861] | 49 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
[4378f935] | 50 | <itemizedlist spacing="compact">
|
---|
| 51 | <listitem>
|
---|
[2be5861] | 52 | <para>Download (jdk-&jdk-bin-version;-linux-i586.bin):
|
---|
| 53 | <ulink url="&jdk-download-http;"/></para>
|
---|
[4378f935] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[2be5861] | 56 | <para>Download MD5 sum: &jdk-md5sum;</para>
|
---|
[4378f935] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[2be5861] | 59 | <para>Download size (binary): &jdk-size;</para>
|
---|
[4378f935] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[2be5861] | 62 | <para>Estimated disk space required: &jdk-buildsize;</para>
|
---|
[4378f935] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[2be5861] | 65 | <para>Estimated build time: &jdk-build-time;</para>
|
---|
[4378f935] | 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
[42a04581] | 69 | <bridgehead renderas="sect3">JDK Dependencies</bridgehead>
|
---|
[4378f935] | 70 |
|
---|
[2be5861] | 71 | <bridgehead renderas="sect4">Optional Runtime Dependencies</bridgehead>
|
---|
[9f15455] | 72 | <para role="optional">
|
---|
[a8d33f07] | 73 | <xref linkend="alsa-lib"/>,
|
---|
[9f15455] | 74 | <xref linkend="cups"/>, and
|
---|
| 75 | <xref linkend="gtk2"/></para>
|
---|
| 76 |
|
---|
[1039de3] | 77 | <para condition="html" role="usernotes">User Notes:
|
---|
| 78 | <ulink url="&blfs-wiki;/jdk"/></para>
|
---|
| 79 |
|
---|
[4378f935] | 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of JDK</title>
|
---|
| 84 |
|
---|
[d4277d4] | 85 | <tip>
|
---|
[9f15455] | 86 | <para>The <command>./jdk-&jdk-bin-version;-linux-i586.bin</command>
|
---|
[d4277d4] | 87 | command below unpacks the distribution into a
|
---|
[2be5861] | 88 | <filename class='directory'>jdk&jdk-version-string;</filename>
|
---|
[a8d33f07] | 89 | directory. You will be required to view, and then accept (by entering a
|
---|
[d4277d4] | 90 | <keycap>y</keycap> keypress), a license agreement before any files are
|
---|
| 91 | unpacked. If you are scripting (automating) the build, you'll need to
|
---|
| 92 | account for this. There is information about automating build commands
|
---|
| 93 | in the <xref linkend="automating-builds"/> section of Chapter 2. Towards
|
---|
| 94 | the end of this section, specific information for automating this type of
|
---|
| 95 | installation is discussed.</para>
|
---|
| 96 | </tip>
|
---|
| 97 |
|
---|
[b26eca2] | 98 | <para>Normally in BLFS, the files are unpacked into a subdirectory
|
---|
[6473e74] | 99 | and the starting point for the installation procedures is that
|
---|
[b26eca2] | 100 | location. For this application only, start in the directory where all
|
---|
| 101 | the downloaded files are located.</para>
|
---|
| 102 |
|
---|
[2be5861] | 103 | <para>Install the <application>JDK</application> with the
|
---|
[4378f935] | 104 | following commands:</para>
|
---|
| 105 |
|
---|
[9f15455] | 106 | <screen><userinput>chmod 755 jdk-&jdk-bin-version;-linux-i586.bin &&
|
---|
| 107 | ./jdk-&jdk-bin-version;-linux-i586.bin</userinput></screen>
|
---|
[2a7340c2] | 108 |
|
---|
[e04be6a2] | 109 | <note><para>The installation will end with a message
|
---|
| 110 | "./jdk-&jdk-bin-version;-linux-i586.bin: line 43: 20283 Aborted" as
|
---|
| 111 | javaprefix is unset in the environment. This is by design as
|
---|
| 112 | <application>GTK+</application> may not be installed during the
|
---|
| 113 | installation, however, the installation will still exit with a zero error
|
---|
| 114 | value if scripting the build.</para></note>
|
---|
| 115 |
|
---|
[4378f935] | 116 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[2a7340c2] | 117 |
|
---|
[2be5861] | 118 | <screen role="root"><userinput>cd jdk&jdk-version-string; &&
|
---|
| 119 | install -v -m755 -d /opt/jdk-&jdk-bin-version; &&
|
---|
| 120 | mv -v * /opt/jdk-&jdk-bin-version; &&
|
---|
| 121 | chown -v -R root:root /opt/jdk-&jdk-bin-version; &&
|
---|
[a8d33f07] | 122 | ln -v -sf xawt/libmawt.so \
|
---|
[2be5861] | 123 | /opt/jdk-&jdk-bin-version;/jre/lib/i386/ &&
|
---|
[b26eca2] | 124 | cd ..</userinput></screen>
|
---|
[014d11ad] | 125 |
|
---|
[e04be6a2] | 126 | <para>Recent versions of libX11 break libmawt
|
---|
[a8d33f07] | 127 | when used with the Xinerama extension. While still the
|
---|
| 128 | <systemitem class="username">root</systemitem> user, apply the
|
---|
[2be5861] | 129 | following sed to work around this problem:</para>
|
---|
[a8d33f07] | 130 |
|
---|
| 131 | <screen role="root"><userinput>sed -i 's@XINERAMA@FAKEEXTN@g' \
|
---|
[2be5861] | 132 | /opt/jdk-&jdk-bin-version;/jre/lib/i386/xawt/libmawt.so</userinput></screen>
|
---|
[014d11ad] | 133 |
|
---|
[4378f935] | 134 | </sect2>
|
---|
[52d29f7] | 135 |
|
---|
[4378f935] | 136 | <sect2 role="commands">
|
---|
| 137 | <title>Command Explanations</title>
|
---|
[014d11ad] | 138 |
|
---|
[a8d33f07] | 139 | <para><command>ln -sf xawt/libmawt.so
|
---|
[2be5861] | 140 | /opt/jdk-&jdk-bin-version;/jre/lib/i386/</command>: This fixes
|
---|
[bccbdaea] | 141 | linking issues with other applications that expect to find the
|
---|
| 142 | <application>motif</application> libraries with the other
|
---|
[6dd0164] | 143 | <application>JDK</application> libraries.</para>
|
---|
[61e058b] | 144 |
|
---|
[4378f935] | 145 | </sect2>
|
---|
[52d29f7] | 146 |
|
---|
[4378f935] | 147 | <sect2 role="configuration">
|
---|
| 148 | <title>Configuring JDK</title>
|
---|
[014d11ad] | 149 |
|
---|
[4378f935] | 150 | <sect3>
|
---|
| 151 | <title>Configuration Information</title>
|
---|
[014d11ad] | 152 |
|
---|
[2be5861] | 153 | <para>As the <systemitem class="username">root</systemitem> user, create
|
---|
| 154 | a symlink to the installation directory:</para>
|
---|
[014d11ad] | 155 |
|
---|
[2be5861] | 156 | <screen role="root"><userinput>ln -v -nsf jdk-&jdk-bin-version; /opt/jdk</userinput></screen>
|
---|
[014d11ad] | 157 |
|
---|
[1d359cd] | 158 | <para>The information below assumes your system is set up using the
|
---|
| 159 | instructions found in
|
---|
| 160 | <quote><xref linkend="postlfs-config-profile"/></quote>. You may need to
|
---|
| 161 | extract the relevant information below and incorporate it into your
|
---|
| 162 | system's startup files if your system is set up differently.</para>
|
---|
| 163 |
|
---|
[4378f935] | 164 | <para>Add the following <filename>jdk.sh</filename> shell startup file to
|
---|
[dae2ba0b] | 165 | the <filename>/etc/profile.d</filename> directory with the following
|
---|
[ceafb03e] | 166 | commands as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[014d11ad] | 167 |
|
---|
[8a64f4b] | 168 | <screen role="root"><userinput>cat > /etc/profile.d/jdk.sh << "EOF"
|
---|
[4378f935] | 169 | <literal># Begin /etc/profile.d/jdk.sh
|
---|
[014d11ad] | 170 |
|
---|
[5f0bab7] | 171 | # Set JAVA_HOME directory
|
---|
[a8d33f07] | 172 | JAVA_HOME=/opt/jdk
|
---|
[014d11ad] | 173 |
|
---|
[92b34a8] | 174 | # Adjust PATH
|
---|
[5f0bab7] | 175 | pathappend ${JAVA_HOME}/bin PATH
|
---|
[014d11ad] | 176 |
|
---|
[de27951] | 177 | # Auto Java CLASSPATH
|
---|
| 178 | # Copy jar files to, or create symlinks in this directory
|
---|
[5f0bab7] | 179 | AUTO_CLASSPATH_DIR=/usr/lib/classpath
|
---|
[93a1fa3] | 180 | pathprepend . CLASSPATH
|
---|
| 181 | for dir in `find ${AUTO_CLASSPATH_DIR} -type d 2>/dev/null`; do
|
---|
| 182 | pathappend $dir CLASSPATH
|
---|
[5f0bab7] | 183 | done
|
---|
[de27951] | 184 |
|
---|
[93a1fa3] | 185 | export JAVA_HOME CLASSPATH
|
---|
| 186 | unset AUTO_CLASSPATH_DIR
|
---|
| 187 | unset dir
|
---|
[014d11ad] | 188 |
|
---|
[4378f935] | 189 | # End /etc/profile.d/jdk.sh</literal>
|
---|
| 190 | EOF</userinput></screen>
|
---|
| 191 |
|
---|
[7335854e] | 192 | <para>The <application>Java</application> plugin is located at
|
---|
| 193 | <filename class="directory">$JAVA_HOME/jre/lib/i386/libnpjp2.so</filename>.
|
---|
| 194 | Make a symbolic link to the file from your browser(s) plugins
|
---|
| 195 | directory.</para>
|
---|
[4378f935] | 196 |
|
---|
[40d6bab] | 197 | <important>
|
---|
[4378f935] | 198 | <para>The plugin must be a symlink for it to work. If not, the browsers
|
---|
[40d6bab] | 199 | will crash when you attempt to load a <application>Java</application>
|
---|
[4378f935] | 200 | application.</para>
|
---|
[40d6bab] | 201 | </important>
|
---|
[4378f935] | 202 |
|
---|
| 203 | </sect3>
|
---|
| 204 |
|
---|
| 205 | </sect2>
|
---|
| 206 |
|
---|
| 207 | <sect2 role="content">
|
---|
| 208 | <title>Contents</title>
|
---|
| 209 |
|
---|
| 210 | <segmentedlist>
|
---|
| 211 | <segtitle>Installed Programs</segtitle>
|
---|
| 212 | <segtitle>Installed Libraries</segtitle>
|
---|
| 213 | <segtitle>Installed Directory</segtitle>
|
---|
| 214 |
|
---|
| 215 | <seglistitem>
|
---|
[a8d33f07] | 216 | <seg>appletviewer, apt, extcheck, idlj, HtmlConverter, jar,
|
---|
| 217 | jarsigner, java, javac, javadoc, javah, javap, java-rmi.cgi,
|
---|
[7335854e] | 218 | javaws, jconsole, jcontrol, jdb, jhat, jinfo, jmap, jps,
|
---|
| 219 | jrunscript, jsadebugd, jstack, jstat, jstatd, jvisualvm, keytool,
|
---|
[a8d33f07] | 220 | native2ascii, orbd, pack200, policytool, rmic, rmid, rmiregistry,
|
---|
[410e228b] | 221 | schemagen, serialver, servertool, tnameserv, unpack200,
|
---|
[a8d33f07] | 222 | wsgen, wsimport, and xjc</seg>
|
---|
[bccbdaea] | 223 | <seg><envar>$JAVA_HOME</envar>/lib/*,
|
---|
[7335854e] | 224 | <envar>$JAVA_HOME</envar>/jre/lib/*</seg>
|
---|
[2be5861] | 225 | <seg>/opt/jdk-&jdk-bin-version;</seg>
|
---|
[4378f935] | 226 | </seglistitem>
|
---|
| 227 | </segmentedlist>
|
---|
| 228 |
|
---|
| 229 | <variablelist>
|
---|
| 230 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 231 | <?dbfo list-presentation="list"?>
|
---|
| 232 | <?dbhtml list-presentation="table"?>
|
---|
| 233 |
|
---|
| 234 | <varlistentry id="appletviewer">
|
---|
| 235 | <term><command>appletviewer</command></term>
|
---|
| 236 | <listitem>
|
---|
[a8d33f07] | 237 | <para>runs Java applets outside of the context of a browser.</para>
|
---|
[4378f935] | 238 | <indexterm zone="jdk appletviewer">
|
---|
| 239 | <primary sortas="b-appletviewer">appletviewer</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
[a8d33f07] | 244 | <varlistentry id="apt">
|
---|
| 245 | <term><command>apt</command></term>
|
---|
| 246 | <listitem>
|
---|
| 247 | <para>is an annotation processing tool.</para>
|
---|
| 248 | <indexterm zone="jdk apt">
|
---|
| 249 | <primary sortas="b-apt">apt</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 |
|
---|
[4378f935] | 254 | <varlistentry id="extcheck">
|
---|
| 255 | <term><command>extcheck</command></term>
|
---|
| 256 | <listitem>
|
---|
[a8d33f07] | 257 | <para>checks a specified jar file for title and version conflicts
|
---|
| 258 | with any extensions installed in the <application>JDK</application>
|
---|
| 259 | software.</para>
|
---|
[4378f935] | 260 | <indexterm zone="jdk extcheck">
|
---|
| 261 | <primary sortas="b-extcheck">extcheck</primary>
|
---|
| 262 | </indexterm>
|
---|
| 263 | </listitem>
|
---|
| 264 | </varlistentry>
|
---|
| 265 |
|
---|
[a8d33f07] | 266 | <varlistentry id="HtmlConverter">
|
---|
| 267 | <term><command>HtmlConverter</command></term>
|
---|
| 268 | <listitem>
|
---|
| 269 | <para>adds Java auto download to html and asp pages. </para>
|
---|
| 270 | <indexterm zone="jdk HtmlConverter">
|
---|
| 271 | <primary sortas="b-HtmlConverter">HtmlConverter</primary>
|
---|
| 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
[4378f935] | 276 | <varlistentry id="idlj">
|
---|
| 277 | <term><command>idlj</command></term>
|
---|
| 278 | <listitem>
|
---|
[a8d33f07] | 279 | <para>generates Java bindings from a given IDL file.</para>
|
---|
[4378f935] | 280 | <indexterm zone="jdk idlj">
|
---|
| 281 | <primary sortas="b-idlj">idlj</primary>
|
---|
| 282 | </indexterm>
|
---|
| 283 | </listitem>
|
---|
[0619e6d] | 284 | </varlistentry>
|
---|
[4378f935] | 285 |
|
---|
| 286 | <varlistentry id="jar">
|
---|
| 287 | <term><command>jar</command></term>
|
---|
| 288 | <listitem>
|
---|
[a8d33f07] | 289 | <para>combines multiple files into a single jar archive.</para>
|
---|
[4378f935] | 290 | <indexterm zone="jdk jar">
|
---|
| 291 | <primary sortas="b-jar">jar</primary>
|
---|
| 292 | </indexterm>
|
---|
| 293 | </listitem>
|
---|
| 294 | </varlistentry>
|
---|
| 295 |
|
---|
| 296 | <varlistentry id="jarsigner">
|
---|
| 297 | <term><command>jarsigner</command></term>
|
---|
| 298 | <listitem>
|
---|
[a8d33f07] | 299 | <para>signs jar files and verifies the signatures and integrity
|
---|
| 300 | of a signed jar file.</para>
|
---|
[4378f935] | 301 | <indexterm zone="jdk jarsigner">
|
---|
| 302 | <primary sortas="b-jarsigner">jarsigner</primary>
|
---|
| 303 | </indexterm>
|
---|
| 304 | </listitem>
|
---|
| 305 | </varlistentry>
|
---|
| 306 |
|
---|
| 307 | <varlistentry id="java">
|
---|
| 308 | <term><command>java</command></term>
|
---|
| 309 | <listitem>
|
---|
[a8d33f07] | 310 | <para>launches a Java application by starting a Java runtime
|
---|
| 311 | environment, loading a specified class and invoking its main
|
---|
| 312 | method.</para>
|
---|
[4378f935] | 313 | <indexterm zone="jdk java">
|
---|
| 314 | <primary sortas="b-java">java</primary>
|
---|
| 315 | </indexterm>
|
---|
| 316 | </listitem>
|
---|
| 317 | </varlistentry>
|
---|
| 318 |
|
---|
| 319 | <varlistentry id="javac">
|
---|
| 320 | <term><command>javac</command></term>
|
---|
| 321 | <listitem>
|
---|
[dae2ba0b] | 322 | <para>reads class and interface definitions, written in the
|
---|
[a8d33f07] | 323 | Java programming language, and compiles them into bytecode
|
---|
| 324 | class files.</para>
|
---|
[4378f935] | 325 | <indexterm zone="jdk javac">
|
---|
| 326 | <primary sortas="b-javac">javac</primary>
|
---|
| 327 | </indexterm>
|
---|
| 328 | </listitem>
|
---|
| 329 | </varlistentry>
|
---|
| 330 |
|
---|
| 331 | <varlistentry id="javadoc">
|
---|
| 332 | <term><command>javadoc</command></term>
|
---|
| 333 | <listitem>
|
---|
[a8d33f07] | 334 | <para>parses the declarations and documentation comments in a
|
---|
| 335 | set of Java source files and produces a corresponding set of
|
---|
| 336 | HTML pages describing the classes, interfaces,constructors,
|
---|
| 337 | methods, and fields.</para>
|
---|
[4378f935] | 338 | <indexterm zone="jdk javadoc">
|
---|
| 339 | <primary sortas="b-javadoc">javadoc</primary>
|
---|
| 340 | </indexterm>
|
---|
| 341 | </listitem>
|
---|
| 342 | </varlistentry>
|
---|
| 343 |
|
---|
| 344 | <varlistentry id="javah">
|
---|
| 345 | <term><command>javah</command></term>
|
---|
| 346 | <listitem>
|
---|
[a8d33f07] | 347 | <para>generates C header and source files
|
---|
[4378f935] | 348 | that are needed to implement native methods.</para>
|
---|
| 349 | <indexterm zone="jdk javah">
|
---|
| 350 | <primary sortas="b-javah">javah</primary>
|
---|
| 351 | </indexterm>
|
---|
| 352 | </listitem>
|
---|
| 353 | </varlistentry>
|
---|
| 354 |
|
---|
| 355 | <varlistentry id="javap">
|
---|
| 356 | <term><command>javap</command></term>
|
---|
| 357 | <listitem>
|
---|
[a8d33f07] | 358 | <para>disassembles a Java class file.</para>
|
---|
[4378f935] | 359 | <indexterm zone="jdk javap">
|
---|
| 360 | <primary sortas="b-javap">javap</primary>
|
---|
| 361 | </indexterm>
|
---|
| 362 | </listitem>
|
---|
| 363 | </varlistentry>
|
---|
| 364 |
|
---|
[a8d33f07] | 365 | <varlistentry id="java-rmi.cgi">
|
---|
| 366 | <term><command>java-rmi.cgi</command></term>
|
---|
| 367 | <listitem>
|
---|
| 368 | <para>is the Java RMI client.</para>
|
---|
| 369 | <indexterm zone="jdk java-rmi.cgi">
|
---|
| 370 | <primary sortas="b-java-rmi.cgi">java-rmi.cgi</primary>
|
---|
| 371 | </indexterm>
|
---|
| 372 | </listitem>
|
---|
| 373 | </varlistentry>
|
---|
| 374 |
|
---|
[4378f935] | 375 | <varlistentry id="javaws">
|
---|
| 376 | <term><command>javaws</command></term>
|
---|
| 377 | <listitem>
|
---|
[a8d33f07] | 378 | <para>launches Java application/applets hosted on a network.</para>
|
---|
[4378f935] | 379 | <indexterm zone="jdk javaws">
|
---|
| 380 | <primary sortas="b-javaws">javaws</primary>
|
---|
| 381 | </indexterm>
|
---|
| 382 | </listitem>
|
---|
| 383 | </varlistentry>
|
---|
| 384 |
|
---|
[a8d33f07] | 385 | <varlistentry id="jconsole">
|
---|
| 386 | <term><command>jconsole</command></term>
|
---|
| 387 | <listitem>
|
---|
| 388 | <para>is a graphical console tool to monitor and manage both
|
---|
| 389 | local and remote Java applications and virtual machines.</para>
|
---|
| 390 | <indexterm zone="jdk jconsole">
|
---|
| 391 | <primary sortas="b-jconsole">jconsole</primary>
|
---|
| 392 | </indexterm>
|
---|
| 393 | </listitem>
|
---|
| 394 | </varlistentry>
|
---|
| 395 |
|
---|
[7335854e] | 396 | <varlistentry id="jcontrol">
|
---|
| 397 | <term><command>jcontrol</command></term>
|
---|
| 398 | <listitem>
|
---|
| 399 | <para>is a graphical control panel for Java.</para>
|
---|
| 400 | <indexterm zone="jdk jcontrol">
|
---|
| 401 | <primary sortas="b-jcontrol">jcontrol</primary>
|
---|
| 402 | </indexterm>
|
---|
| 403 | </listitem>
|
---|
| 404 | </varlistentry>
|
---|
| 405 |
|
---|
[4378f935] | 406 | <varlistentry id="jdb">
|
---|
| 407 | <term><command>jdb</command></term>
|
---|
| 408 | <listitem>
|
---|
[a8d33f07] | 409 | <para>is a simple command-line debugger for Java classes.</para>
|
---|
[4378f935] | 410 | <indexterm zone="jdk jdb">
|
---|
| 411 | <primary sortas="b-jdb">jdb</primary>
|
---|
| 412 | </indexterm>
|
---|
| 413 | </listitem>
|
---|
| 414 | </varlistentry>
|
---|
| 415 |
|
---|
[a8d33f07] | 416 | <varlistentry id="jhat">
|
---|
| 417 | <term><command>jhat</command></term>
|
---|
| 418 | <listitem>
|
---|
| 419 | <para>parses a java heap dump file and allows viewing
|
---|
| 420 | in a webbrowser.</para>
|
---|
| 421 | <indexterm zone="jdk jhat">
|
---|
| 422 | <primary sortas="b-jhat">jhat</primary>
|
---|
| 423 | </indexterm>
|
---|
| 424 | </listitem>
|
---|
| 425 | </varlistentry>
|
---|
| 426 |
|
---|
| 427 | <varlistentry id="jinfo">
|
---|
| 428 | <term><command>jinfo</command></term>
|
---|
| 429 | <listitem>
|
---|
| 430 | <para>prints Java configuration information for a given Java
|
---|
| 431 | process, core file, or a remote debug server.</para>
|
---|
| 432 | <indexterm zone="jdk jinfo">
|
---|
| 433 | <primary sortas="b-jinfo">jinfo</primary>
|
---|
| 434 | </indexterm>
|
---|
| 435 | </listitem>
|
---|
| 436 | </varlistentry>
|
---|
| 437 |
|
---|
| 438 | <varlistentry id="jmap">
|
---|
| 439 | <term><command>jmap</command></term>
|
---|
| 440 | <listitem>
|
---|
| 441 | <para>prints shared object memory maps or heap memory details
|
---|
| 442 | of a given process, core file, or a remote debug server.</para>
|
---|
| 443 | <indexterm zone="jdk jmap">
|
---|
| 444 | <primary sortas="b-jmap">jmap</primary>
|
---|
| 445 | </indexterm>
|
---|
| 446 | </listitem>
|
---|
| 447 | </varlistentry>
|
---|
| 448 |
|
---|
| 449 | <varlistentry id="jps">
|
---|
| 450 | <term><command>jps</command></term>
|
---|
| 451 | <listitem>
|
---|
| 452 | <para>lists the instrumented JVMs on the target system.</para>
|
---|
| 453 | <indexterm zone="jdk jps">
|
---|
| 454 | <primary sortas="b-jps">jps</primary>
|
---|
| 455 | </indexterm>
|
---|
| 456 | </listitem>
|
---|
| 457 | </varlistentry>
|
---|
| 458 |
|
---|
| 459 | <varlistentry id="jrunscript">
|
---|
| 460 | <term><command>jrunscript</command></term>
|
---|
| 461 | <listitem>
|
---|
| 462 | <para>is a command line script shell.</para>
|
---|
| 463 | <indexterm zone="jdk jrunscript">
|
---|
| 464 | <primary sortas="b-jrunscript">jrunscript</primary>
|
---|
| 465 | </indexterm>
|
---|
| 466 | </listitem>
|
---|
| 467 | </varlistentry>
|
---|
| 468 |
|
---|
| 469 | <varlistentry id="jsadebugd">
|
---|
| 470 | <term><command>jsadebugd</command></term>
|
---|
| 471 | <listitem>
|
---|
| 472 | <para>attaches to a Java process or core file and acts as a
|
---|
| 473 | debug server.</para>
|
---|
| 474 | <indexterm zone="jdk jsadebugd">
|
---|
| 475 | <primary sortas="b-jsadebugd">jsadebugd</primary>
|
---|
| 476 | </indexterm>
|
---|
| 477 | </listitem>
|
---|
| 478 | </varlistentry>
|
---|
| 479 |
|
---|
| 480 | <varlistentry id="jstack">
|
---|
| 481 | <term><command>jstack</command></term>
|
---|
| 482 | <listitem>
|
---|
| 483 | <para>prints Java stack traces of Java threads for a given
|
---|
| 484 | Java process, core file, or a remote debug server.</para>
|
---|
| 485 | <indexterm zone="jdk jstack">
|
---|
| 486 | <primary sortas="b-jstack">jstack</primary>
|
---|
| 487 | </indexterm>
|
---|
| 488 | </listitem>
|
---|
| 489 | </varlistentry>
|
---|
| 490 |
|
---|
| 491 | <varlistentry id="jstat">
|
---|
| 492 | <term><command>jstat</command></term>
|
---|
| 493 | <listitem>
|
---|
| 494 | <para>displays performance statistics for an instrumented JVM.</para>
|
---|
| 495 | <indexterm zone="jdk jstat">
|
---|
| 496 | <primary sortas="b-jstat">jstat</primary>
|
---|
| 497 | </indexterm>
|
---|
| 498 | </listitem>
|
---|
| 499 | </varlistentry>
|
---|
| 500 |
|
---|
| 501 | <varlistentry id="jstatd">
|
---|
| 502 | <term><command>jstatd</command></term>
|
---|
| 503 | <listitem>
|
---|
| 504 | <para>is an RMI server application that monitors for the creation
|
---|
| 505 | and termination of instrumented JVMs.</para>
|
---|
| 506 | <indexterm zone="jdk jstatd">
|
---|
| 507 | <primary sortas="b-jstatd">jstatd</primary>
|
---|
| 508 | </indexterm>
|
---|
[7335854e] | 509 | </listitem>
|
---|
| 510 | </varlistentry>
|
---|
| 511 |
|
---|
| 512 | <varlistentry id="jvisualvm">
|
---|
| 513 | <term><command>jvisualvm</command></term>
|
---|
| 514 | <listitem>
|
---|
| 515 | <para>is an intuitive graphical user interface that provides detailed
|
---|
| 516 | information about Java applications while they are running on a given
|
---|
| 517 | JVM.</para>
|
---|
| 518 | <indexterm zone="jdk jvisualvm">
|
---|
| 519 | <primary sortas="b-jvisualvm">jvisualvm</primary>
|
---|
| 520 | </indexterm>
|
---|
[a8d33f07] | 521 | </listitem>
|
---|
| 522 | </varlistentry>
|
---|
| 523 |
|
---|
[4378f935] | 524 | <varlistentry id="keytool">
|
---|
| 525 | <term><command>keytool</command></term>
|
---|
| 526 | <listitem>
|
---|
| 527 | <para>is a key and certificate management utility.</para>
|
---|
| 528 | <indexterm zone="jdk keytool">
|
---|
| 529 | <primary sortas="b-keytool">keytool</primary>
|
---|
| 530 | </indexterm>
|
---|
| 531 | </listitem>
|
---|
| 532 | </varlistentry>
|
---|
| 533 |
|
---|
| 534 | <varlistentry id="native2ascii">
|
---|
| 535 | <term><command>native2ascii</command></term>
|
---|
| 536 | <listitem>
|
---|
[dae2ba0b] | 537 | <para> converts files that contain non-supported character encoding
|
---|
[4378f935] | 538 | into files containing Latin-1 or Unicode-encoded characters.</para>
|
---|
| 539 | <indexterm zone="jdk native2ascii">
|
---|
| 540 | <primary sortas="b-native2ascii">native2ascii</primary>
|
---|
| 541 | </indexterm>
|
---|
| 542 | </listitem>
|
---|
| 543 | </varlistentry>
|
---|
| 544 |
|
---|
| 545 | <varlistentry id="orbd">
|
---|
| 546 | <term><command>orbd</command></term>
|
---|
| 547 | <listitem>
|
---|
[dae2ba0b] | 548 | <para>is used to enable clients to transparently locate and invoke
|
---|
[4378f935] | 549 | persistent objects on servers in the CORBA environment.</para>
|
---|
| 550 | <indexterm zone="jdk orbd">
|
---|
| 551 | <primary sortas="b-orbd">orbd</primary>
|
---|
| 552 | </indexterm>
|
---|
| 553 | </listitem>
|
---|
| 554 | </varlistentry>
|
---|
| 555 |
|
---|
[a8d33f07] | 556 | <varlistentry id="pack200">
|
---|
| 557 | <term><command>pack200</command></term>
|
---|
| 558 | <listitem>
|
---|
| 559 | <para>is a Java application that transforms a jar file into a
|
---|
| 560 | compressed pack200 file using the Java gzip compressor.</para>
|
---|
| 561 | <indexterm zone="jdk pack200">
|
---|
| 562 | <primary sortas="b-pack200">pack200</primary>
|
---|
| 563 | </indexterm>
|
---|
| 564 | </listitem>
|
---|
| 565 | </varlistentry>
|
---|
| 566 |
|
---|
[4378f935] | 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>
|
---|
[dae2ba0b] | 580 | <para>generates stub and skeleton class files for remote objects
|
---|
[410e228b] | 581 | from the names of compiled Java classes that contain remote
|
---|
[a8d33f07] | 582 | object implementations.</para>
|
---|
[4378f935] | 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>
|
---|
[dae2ba0b] | 602 | <para>creates and starts a remote object registry on the specified
|
---|
[4378f935] | 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 |
|
---|
[a8d33f07] | 610 | <varlistentry id="schemagen">
|
---|
| 611 | <term><command>schemagen</command></term>
|
---|
| 612 | <listitem>
|
---|
| 613 | <para>is a Java XML binding schema generator.</para>
|
---|
| 614 | <indexterm zone="jdk schemagen">
|
---|
| 615 | <primary sortas="b-schemagen">schemagen</primary>
|
---|
| 616 | </indexterm>
|
---|
| 617 | </listitem>
|
---|
| 618 | </varlistentry>
|
---|
| 619 |
|
---|
[4378f935] | 620 | <varlistentry id="serialver">
|
---|
| 621 | <term><command>serialver</command></term>
|
---|
| 622 | <listitem>
|
---|
[dae2ba0b] | 623 | <para>returns the serialVersionUID for one or more classes in a
|
---|
[4378f935] | 624 | form suitable for copying into an evolving class.</para>
|
---|
| 625 | <indexterm zone="jdk serialver">
|
---|
| 626 | <primary sortas="b-serialver">serialver</primary>
|
---|
| 627 | </indexterm>
|
---|
| 628 | </listitem>
|
---|
| 629 | </varlistentry>
|
---|
| 630 |
|
---|
| 631 | <varlistentry id="servertool">
|
---|
| 632 | <term><command>servertool</command></term>
|
---|
| 633 | <listitem>
|
---|
[dae2ba0b] | 634 | <para>provides an ease-of-use interface for application programmers
|
---|
[4378f935] | 635 | to register, unregister, startup and shutdown a server.</para>
|
---|
| 636 | <indexterm zone="jdk servertool">
|
---|
| 637 | <primary sortas="b-servertool">servertool</primary>
|
---|
| 638 | </indexterm>
|
---|
| 639 | </listitem>
|
---|
| 640 | </varlistentry>
|
---|
| 641 |
|
---|
| 642 | <varlistentry id="tnameserv">
|
---|
| 643 | <term><command>tnameserv</command></term>
|
---|
| 644 | <listitem>
|
---|
[a8d33f07] | 645 | <para>starts the Java IDL name server.</para>
|
---|
[4378f935] | 646 | <indexterm zone="jdk tnameserv">
|
---|
| 647 | <primary sortas="b-tnameserv">tnameserv</primary>
|
---|
| 648 | </indexterm>
|
---|
| 649 | </listitem>
|
---|
| 650 | </varlistentry>
|
---|
| 651 |
|
---|
[a8d33f07] | 652 | <varlistentry id="unpack200">
|
---|
| 653 | <term><command>unpack200</command></term>
|
---|
| 654 | <listitem>
|
---|
| 655 | <para>is a native implementation that transforms a packed file
|
---|
| 656 | produced by <application>pack200</application> into a jar
|
---|
| 657 | file.</para>
|
---|
| 658 | <indexterm zone="jdk unpack200">
|
---|
| 659 | <primary sortas="b-unpack200">unpack200</primary>
|
---|
| 660 | </indexterm>
|
---|
| 661 | </listitem>
|
---|
| 662 | </varlistentry>
|
---|
| 663 |
|
---|
| 664 | <varlistentry id="wsgen">
|
---|
| 665 | <term><command>wsgen</command></term>
|
---|
| 666 | <listitem>
|
---|
| 667 | <para>generates JAX-WS portable artifacts used in JAX-WS
|
---|
| 668 | web services.</para>
|
---|
| 669 | <indexterm zone="jdk wsgen">
|
---|
| 670 | <primary sortas="b-wsgen">wsgen</primary>
|
---|
| 671 | </indexterm>
|
---|
| 672 | </listitem>
|
---|
| 673 | </varlistentry>
|
---|
| 674 |
|
---|
| 675 | <varlistentry id="wsimport">
|
---|
| 676 | <term><command>wsimport</command></term>
|
---|
| 677 | <listitem>
|
---|
| 678 | <para>generates JAX-WS portable artifacts.</para>
|
---|
| 679 | <indexterm zone="jdk wsimport">
|
---|
| 680 | <primary sortas="b-wsimport">wsimport</primary>
|
---|
| 681 | </indexterm>
|
---|
| 682 | </listitem>
|
---|
| 683 | </varlistentry>
|
---|
| 684 |
|
---|
| 685 | <varlistentry id="xjc">
|
---|
| 686 | <term><command>xjc</command></term>
|
---|
| 687 | <listitem>
|
---|
| 688 | <para>is a Java XML binding compiler.</para>
|
---|
| 689 | <indexterm zone="jdk xjc">
|
---|
| 690 | <primary sortas="b-xjc">xjc</primary>
|
---|
| 691 | </indexterm>
|
---|
| 692 | </listitem>
|
---|
| 693 | </varlistentry>
|
---|
| 694 |
|
---|
[4378f935] | 695 | </variablelist>
|
---|
| 696 |
|
---|
| 697 | </sect2>
|
---|
[74c1100] | 698 |
|
---|
| 699 | </sect1>
|
---|