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