1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY jdk-download-http "http://java.sun.com/javase/downloads/index.jsp">
|
---|
8 | <!ENTITY jdk-md5sum "ad5ee976522bf5767100a8b4b981c690">
|
---|
9 | <!ENTITY jdk-size "85 MB">
|
---|
10 | <!ENTITY jdk-buildsize "250 MB">
|
---|
11 | <!ENTITY jdk-bin-version "6u18">
|
---|
12 | <!ENTITY jdk-build-time "0.1 SBU">
|
---|
13 | <!ENTITY jdk-version-string "1.6.0_18">
|
---|
14 |
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="jdk" xreflabel="JDK-&jdk-version;">
|
---|
18 | <?dbhtml filename="jdk.html" ?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <othername>$LastChangedBy$</othername>
|
---|
22 | <date>$Date$</date>
|
---|
23 | </sect1info>
|
---|
24 |
|
---|
25 | <title>JDK-&jdk-version;</title>
|
---|
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 |
|
---|
34 | <para>The <application>JDK</application> package contains
|
---|
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>
|
---|
38 | programs. It also includes a plug-in for browsers so that they can be
|
---|
39 | <application>Java</application> aware.</para>
|
---|
40 |
|
---|
41 |
|
---|
42 | <!--
|
---|
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
|
---|
45 | version of the JDK, titled
|
---|
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>.
|
---|
50 | A stable OpenJDK was not available at the time of writing.</para></note>
|
---|
51 | -->
|
---|
52 |
|
---|
53 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
54 | <itemizedlist spacing="compact">
|
---|
55 | <listitem>
|
---|
56 | <para>Download (jdk-&jdk-bin-version;-linux-i586.bin):
|
---|
57 | <ulink url="&jdk-download-http;"/></para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>Download MD5 sum: &jdk-md5sum;</para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>Download size (binary): &jdk-size;</para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>Estimated disk space required: &jdk-buildsize;</para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>Estimated build time: &jdk-build-time;</para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">JDK Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Optional Runtime Dependencies</bridgehead>
|
---|
76 | <para role="optional">
|
---|
77 | <xref linkend="alsa-lib"/>,
|
---|
78 | <xref linkend="cups"/>, and
|
---|
79 | <xref linkend="gtk2"/></para>
|
---|
80 |
|
---|
81 | <para condition="html" role="usernotes">User Notes:
|
---|
82 | <ulink url="&blfs-wiki;/jdk"/></para>
|
---|
83 |
|
---|
84 | </sect2>
|
---|
85 |
|
---|
86 | <sect2 role="installation">
|
---|
87 | <title>Installation of JDK</title>
|
---|
88 |
|
---|
89 | <tip>
|
---|
90 | <para>The <command>./jdk-&jdk-bin-version;-linux-i586.bin</command>
|
---|
91 | command below unpacks the distribution into a
|
---|
92 | <filename class='directory'>jdk&jdk-version-string;</filename>
|
---|
93 | directory. You will be required to view, and then accept (by entering a
|
---|
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 |
|
---|
102 | <para>Normally in BLFS, the files are unpacked into a subdirectory
|
---|
103 | and the starting point for the installation procedures is that
|
---|
104 | location. For this application only, start in the directory where all
|
---|
105 | the downloaded files are located.</para>
|
---|
106 |
|
---|
107 | <para>Install the <application>JDK</application> with the
|
---|
108 | following commands:</para>
|
---|
109 |
|
---|
110 | <screen><userinput>chmod 755 jdk-&jdk-bin-version;-linux-i586.bin &&
|
---|
111 | ./jdk-&jdk-bin-version;-linux-i586.bin</userinput></screen>
|
---|
112 |
|
---|
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 |
|
---|
120 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
121 |
|
---|
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; &&
|
---|
126 | ln -v -sf xawt/libmawt.so \
|
---|
127 | /opt/jdk-&jdk-bin-version;/jre/lib/i386/ &&
|
---|
128 | cd ..</userinput></screen>
|
---|
129 |
|
---|
130 | <para>Recent versions of libX11 break libmawt
|
---|
131 | when used with the Xinerama extension. While still the
|
---|
132 | <systemitem class="username">root</systemitem> user, apply the
|
---|
133 | following sed to work around this problem:</para>
|
---|
134 |
|
---|
135 | <screen role="root"><userinput>sed -i 's@XINERAMA@FAKEEXTN@g' \
|
---|
136 | /opt/jdk-&jdk-bin-version;/jre/lib/i386/xawt/libmawt.so</userinput></screen>
|
---|
137 |
|
---|
138 | </sect2>
|
---|
139 |
|
---|
140 | <sect2 role="commands">
|
---|
141 | <title>Command Explanations</title>
|
---|
142 |
|
---|
143 | <para><command>ln -sf xawt/libmawt.so
|
---|
144 | /opt/jdk-&jdk-bin-version;/jre/lib/i386/</command>: This fixes
|
---|
145 | linking issues with other applications that expect to find the
|
---|
146 | <application>motif</application> libraries with the other
|
---|
147 | <application>JDK</application> libraries.</para>
|
---|
148 |
|
---|
149 | </sect2>
|
---|
150 |
|
---|
151 | <sect2 role="configuration">
|
---|
152 | <title>Configuring JDK</title>
|
---|
153 |
|
---|
154 | <sect3>
|
---|
155 | <title>Configuration Information</title>
|
---|
156 |
|
---|
157 | <para>As the <systemitem class="username">root</systemitem> user, create
|
---|
158 | a symlink to the installation directory:</para>
|
---|
159 |
|
---|
160 | <screen role="root"><userinput>ln -v -nsf jdk-&jdk-bin-version; /opt/jdk</userinput></screen>
|
---|
161 |
|
---|
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 |
|
---|
168 | <para>Add the following <filename>jdk.sh</filename> shell startup file to
|
---|
169 | the <filename>/etc/profile.d</filename> directory with the following
|
---|
170 | commands as the <systemitem class="username">root</systemitem> user:</para>
|
---|
171 |
|
---|
172 | <screen role="root"><userinput>cat > /etc/profile.d/jdk.sh << "EOF"
|
---|
173 | <literal># Begin /etc/profile.d/jdk.sh
|
---|
174 |
|
---|
175 | # Set JAVA_HOME directory
|
---|
176 | JAVA_HOME=/opt/jdk
|
---|
177 |
|
---|
178 | # Adjust PATH
|
---|
179 | pathappend ${JAVA_HOME}/bin PATH
|
---|
180 |
|
---|
181 | # Auto Java CLASSPATH
|
---|
182 | # Copy jar files to, or create symlinks in this directory
|
---|
183 | AUTO_CLASSPATH_DIR=/usr/lib/classpath
|
---|
184 | pathprepend . CLASSPATH
|
---|
185 | for dir in `find ${AUTO_CLASSPATH_DIR} -type d 2>/dev/null`; do
|
---|
186 | pathappend $dir CLASSPATH
|
---|
187 | done
|
---|
188 |
|
---|
189 | export JAVA_HOME CLASSPATH
|
---|
190 | unset AUTO_CLASSPATH_DIR
|
---|
191 | unset dir
|
---|
192 |
|
---|
193 | # End /etc/profile.d/jdk.sh</literal>
|
---|
194 | EOF</userinput></screen>
|
---|
195 |
|
---|
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>
|
---|
200 |
|
---|
201 | <important>
|
---|
202 | <para>The plugin must be a symlink for it to work. If not, the browsers
|
---|
203 | will crash when you attempt to load a <application>Java</application>
|
---|
204 | application.</para>
|
---|
205 | </important>
|
---|
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>
|
---|
220 | <seg>appletviewer, apt, extcheck, idlj, HtmlConverter, jar,
|
---|
221 | jarsigner, java, javac, javadoc, javah, javap, java-rmi.cgi,
|
---|
222 | javaws, jconsole, jcontrol, jdb, jhat, jinfo, jmap, jps,
|
---|
223 | jrunscript, jsadebugd, jstack, jstat, jstatd, jvisualvm, keytool,
|
---|
224 | native2ascii, orbd, pack200, policytool, rmic, rmid, rmiregistry,
|
---|
225 | schemagen, serialver, servertool, tnameserv, unpack200,
|
---|
226 | wsgen, wsimport, and xjc</seg>
|
---|
227 | <seg><envar>$JAVA_HOME</envar>/lib/*,
|
---|
228 | <envar>$JAVA_HOME</envar>/jre/lib/*</seg>
|
---|
229 | <seg>/opt/jdk-&jdk-bin-version;</seg>
|
---|
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>
|
---|
241 | <para>runs Java applets outside of the context of a browser.</para>
|
---|
242 | <indexterm zone="jdk appletviewer">
|
---|
243 | <primary sortas="b-appletviewer">appletviewer</primary>
|
---|
244 | </indexterm>
|
---|
245 | </listitem>
|
---|
246 | </varlistentry>
|
---|
247 |
|
---|
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 |
|
---|
258 | <varlistentry id="extcheck">
|
---|
259 | <term><command>extcheck</command></term>
|
---|
260 | <listitem>
|
---|
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>
|
---|
264 | <indexterm zone="jdk extcheck">
|
---|
265 | <primary sortas="b-extcheck">extcheck</primary>
|
---|
266 | </indexterm>
|
---|
267 | </listitem>
|
---|
268 | </varlistentry>
|
---|
269 |
|
---|
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 |
|
---|
280 | <varlistentry id="idlj">
|
---|
281 | <term><command>idlj</command></term>
|
---|
282 | <listitem>
|
---|
283 | <para>generates Java bindings from a given IDL file.</para>
|
---|
284 | <indexterm zone="jdk idlj">
|
---|
285 | <primary sortas="b-idlj">idlj</primary>
|
---|
286 | </indexterm>
|
---|
287 | </listitem>
|
---|
288 | </varlistentry>
|
---|
289 |
|
---|
290 | <varlistentry id="jar">
|
---|
291 | <term><command>jar</command></term>
|
---|
292 | <listitem>
|
---|
293 | <para>combines multiple files into a single jar archive.</para>
|
---|
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>
|
---|
303 | <para>signs jar files and verifies the signatures and integrity
|
---|
304 | of a signed jar file.</para>
|
---|
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>
|
---|
314 | <para>launches a Java application by starting a Java runtime
|
---|
315 | environment, loading a specified class and invoking its main
|
---|
316 | method.</para>
|
---|
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>
|
---|
326 | <para>reads class and interface definitions, written in the
|
---|
327 | Java programming language, and compiles them into bytecode
|
---|
328 | class files.</para>
|
---|
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>
|
---|
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>
|
---|
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>
|
---|
351 | <para>generates C header and source files
|
---|
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>
|
---|
362 | <para>disassembles a Java class file.</para>
|
---|
363 | <indexterm zone="jdk javap">
|
---|
364 | <primary sortas="b-javap">javap</primary>
|
---|
365 | </indexterm>
|
---|
366 | </listitem>
|
---|
367 | </varlistentry>
|
---|
368 |
|
---|
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 |
|
---|
379 | <varlistentry id="javaws">
|
---|
380 | <term><command>javaws</command></term>
|
---|
381 | <listitem>
|
---|
382 | <para>launches Java application/applets hosted on a network.</para>
|
---|
383 | <indexterm zone="jdk javaws">
|
---|
384 | <primary sortas="b-javaws">javaws</primary>
|
---|
385 | </indexterm>
|
---|
386 | </listitem>
|
---|
387 | </varlistentry>
|
---|
388 |
|
---|
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 |
|
---|
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 |
|
---|
410 | <varlistentry id="jdb">
|
---|
411 | <term><command>jdb</command></term>
|
---|
412 | <listitem>
|
---|
413 | <para>is a simple command-line debugger for Java classes.</para>
|
---|
414 | <indexterm zone="jdk jdb">
|
---|
415 | <primary sortas="b-jdb">jdb</primary>
|
---|
416 | </indexterm>
|
---|
417 | </listitem>
|
---|
418 | </varlistentry>
|
---|
419 |
|
---|
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>
|
---|
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>
|
---|
525 | </listitem>
|
---|
526 | </varlistentry>
|
---|
527 |
|
---|
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>
|
---|
541 | <para> converts files that contain non-supported character encoding
|
---|
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>
|
---|
552 | <para>is used to enable clients to transparently locate and invoke
|
---|
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 |
|
---|
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 |
|
---|
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>
|
---|
584 | <para>generates stub and skeleton class files for remote objects
|
---|
585 | from the names of compiled Java classes that contain remote
|
---|
586 | object implementations.</para>
|
---|
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>
|
---|
606 | <para>creates and starts a remote object registry on the specified
|
---|
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 |
|
---|
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 |
|
---|
624 | <varlistentry id="serialver">
|
---|
625 | <term><command>serialver</command></term>
|
---|
626 | <listitem>
|
---|
627 | <para>returns the serialVersionUID for one or more classes in a
|
---|
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>
|
---|
638 | <para>provides an ease-of-use interface for application programmers
|
---|
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>
|
---|
649 | <para>starts the Java IDL name server.</para>
|
---|
650 | <indexterm zone="jdk tnameserv">
|
---|
651 | <primary sortas="b-tnameserv">tnameserv</primary>
|
---|
652 | </indexterm>
|
---|
653 | </listitem>
|
---|
654 | </varlistentry>
|
---|
655 |
|
---|
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 |
|
---|
699 | </variablelist>
|
---|
700 |
|
---|
701 | </sect2>
|
---|
702 |
|
---|
703 | </sect1>
|
---|