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