source: general/prog/jdk.xml@ a240109f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a240109f was a240109f, checked in by DJ Lucas <dj@…>, 17 years ago

minor fixups. Thanks Randy.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7054 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 35.1 KB
Line 
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-binary "http://java.sun.com/javase/downloads/index.jsp">
8 <!ENTITY jdk-bin-md5sum "6a488cb0a161a1c3a541a66e3b076f8e">
9 <!ENTITY jdk-bin-size "57 MB">
10 <!ENTITY jdk-bin-buildsize "178 MB">
11
12 <!ENTITY jdk-download-source-jrl "http://www.java.net/download/jdk6/&jdk-version-string;/promoted/b05/jdk-&jdk-version-string;-fcs-src-b05-jrl-22_jun_2007.jar">
13 <!ENTITY jdk-download-source-bin "http://www.java.net/download/jdk6/&jdk-version-string;/promoted/b05/jdk-&jdk-version-string;-fcs-bin-b05-jrl-22_jun_2007.jar">
14 <!ENTITY jdk-download-source-moz "http://www.java.net/download/jdk6/&jdk-version-string;/promoted/b05/jdk-&jdk-version-string;-fcs-mozilla_headers-b05-unix-14_jun_2007.jar">
15
16
17 <!ENTITY jdk-source-jrl-md5sum "7adaf7e9b4504d1d2d822676eb69796d">
18 <!ENTITY jdk-source-bin-md5sum "063a3bf1e4a5c16507e87707673e53c0">
19 <!ENTITY jdk-source-moz-md5sum "2bd979b1ef2d07d5b0a34a7e0e304217">
20
21 <!ENTITY jdk-source-jrl-size "102 MB">
22 <!ENTITY jdk-source-bin-size "2 MB">
23 <!ENTITY jdk-source-moz-size "8.2 MB">
24
25 <!ENTITY jdk-src-buildsize "1.3 GB">
26 <!ENTITY jdk-time "12.4 SBU (for both installations)">
27 <!ENTITY jdk-version-string "6u2">
28 <!ENTITY jdk-bin-version-string "1.6.0_02">
29]>
30
31<sect1 id="jdk" xreflabel="JDK-&jdk-version;">
32 <?dbhtml filename="jdk.html" ?>
33
34 <sect1info>
35 <othername>$LastChangedBy$</othername>
36 <date>$Date$</date>
37 </sect1info>
38
39 <title>JDK-&jdk-version;</title>
40
41 <indexterm zone="jdk">
42 <primary sortas="a-JDK">JDK</primary>
43 </indexterm>
44
45 <sect2 role="package">
46 <title>Introduction to JDK</title>
47
48 <para>The <application>JDK</application> package contains
49 Sun's <application>Java</application> development environment. This is
50 useful for developing <application>Java</application> programs and provides
51 the runtime environment necessary to run <application>Java</application>
52 programs. It also includes a plug-in for browsers so that they can be
53 <application>Java</application> aware.</para>
54
55 <!-- Previously, the plugin included
56 in the <application>JDK</application> binary package was unusable on LFS
57 owing to incompatibilities with <application>GCC</application>-3 compiled
58 browsers. This is not the case anymore.</para>
59
60 <para>In order to use the source code and patches, you must read and agree
61 to the Sun <ulink url="http://www.java.net/jrl.csp"> Java Research
62 License</ulink> or optionally, the Sun <ulink
63 url="http://java.net/jiul.csp">Java Internal Use License</ulink>. In
64 addition, the source code is not allowed to be downloaded to some
65 countries, so for users in those countries, the binary is the only
66 option.</para> -->
67
68 <para>The <application>JDK</application> comes in two flavors, a
69 precompiled binary and a source package. You will first need to download
70 and install the binary version of the <application>JDK</application>
71 (you'll need to click and agree to the <quote>Sun Microsystems, Inc.
72 Binary Code License Agreement</quote>). To build from the source, you will
73 also need to download the additional files and patches to complete the
74 source build as detailed below. Note that in some countries you cannot
75 download the source code.</para>
76
77 <bridgehead renderas="sect3">Binary Package Information</bridgehead>
78 <itemizedlist spacing="compact">
79 <listitem>
80 <para>Binary download (jdk-&jdk-version-string;-linux-i586.bin):
81 <ulink url="&jdk-download-binary;"/></para>
82 </listitem>
83 <listitem>
84 <para>Download MD5 sum: &jdk-bin-md5sum;</para>
85 </listitem>
86 <listitem>
87 <para>Download size (binary): &jdk-bin-size;</para>
88 </listitem>
89 <listitem>
90 <para>Estimated disk space required: &jdk-bin-buildsize;</para>
91 </listitem>
92 </itemizedlist>
93
94 <bridgehead renderas="sect3">Source Package Information</bridgehead>
95
96 <itemizedlist spacing="compact">
97 <listitem>
98 <para>JRL Source
99 <simplelist>
100 <member><ulink url="&jdk-download-source-jrl;"/></member>
101 <member>&jdk-source-jrl-md5sum;</member>
102 <member>&jdk-source-jrl-size;</member>
103 </simplelist>
104 </para>
105 </listitem>
106 <listitem>
107 <para>Source Binaries
108 <simplelist>
109 <member><ulink url="&jdk-download-source-bin;"/></member>
110 <member>&jdk-source-bin-md5sum;</member>
111 <member>&jdk-source-bin-size;</member>
112 </simplelist>
113 </para>
114 </listitem>
115 <listitem>
116 <para>Mozilla Headers
117 <simplelist>
118 <member><ulink url="&jdk-download-source-moz;"/></member>
119 <member>&jdk-source-moz-md5sum;</member>
120 <member>&jdk-source-moz-size;</member>
121 </simplelist>
122 </para>
123 </listitem>
124 <listitem>
125 <para>Estimated disk space required: &jdk-src-buildsize;</para>
126 </listitem>
127 <listitem>
128 <para>Estimated build time: &jdk-time;</para>
129 </listitem>
130 </itemizedlist>
131
132 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
133
134 <bridgehead renderas="sect4">Required Patches</bridgehead>
135 <itemizedlist spacing='compact'>
136 <listitem>
137 <para><ulink
138 url="&patch-root;/jdk-&jdk-version-string;-gcc4-2.patch"/></para>
139 </listitem>
140 <listitem>
141 <para><ulink
142 url="&patch-root;/jdk-&jdk-version-string;-motif_fixes-1.patch"/></para>
143 </listitem>
144 <listitem>
145 <para><ulink
146 url="&patch-root;/jdk-&jdk-version-string;-remove_fixed_paths-1.patch"/></para>
147 </listitem>
148 </itemizedlist>
149
150 <bridgehead renderas="sect3">JDK Dependencies</bridgehead>
151
152 <bridgehead renderas="sect4">Required (to Build JDK from Source)</bridgehead>
153 <para role="required">
154 <xref linkend="alsa-lib"/>,
155 <xref linkend="cpio"/>,
156 <xref linkend="cups"/>,
157 <xref linkend="ksh"/>,
158 <xref linkend="unzip"/>,
159 <xref linkend="which"/>,
160 <xref linkend="x-window-system"/>, and
161 <xref linkend="zip"/></para>
162
163 <para condition="html" role="usernotes">User Notes:
164 <ulink url="&blfs-wiki;/jdk"/></para>
165
166 </sect2>
167
168 <sect2 role="installation">
169 <title>Installation of JDK</title>
170
171 <para>The instructions below install both the binary and source versions.
172 You may stop after installing the binary version or continue on installing
173 the source version. You can choose to keep either or both.</para>
174
175 <tip>
176 <para>The <command>./jdk-&jdk-version-string;-linux-i586.bin</command>
177 command below unpacks the distribution into a
178 <filename class='directory'>jdk&jdk-bin-version-string;</filename>
179 directory. You will be required to view, and then accept (by entering a
180 <keycap>y</keycap> keypress), a license agreement before any files are
181 unpacked. If you are scripting (automating) the build, you'll need to
182 account for this. There is information about automating build commands
183 in the <xref linkend="automating-builds"/> section of Chapter 2. Towards
184 the end of this section, specific information for automating this type of
185 installation is discussed.</para>
186 </tip>
187
188 <para>Normally in BLFS, the files are unpacked into a subdirectory
189 and the starting point for the installation procedures is that
190 location. For this application only, start in the directory where all
191 the downloaded files are located.</para>
192
193 <para>Install the binary <application>JDK</application> with the
194 following commands:</para>
195
196<screen><userinput>chmod 755 jdk-&jdk-version-string;-linux-i586.bin &amp;&amp;
197./jdk-&jdk-version-string;-linux-i586.bin</userinput></screen>
198
199 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
200
201<screen role="root"><userinput>cd jdk&jdk-bin-version-string; &amp;&amp;
202install -v -m755 -d /opt/jdk-bin-&jdk-version-string; &amp;&amp;
203mv -v * /opt/jdk-bin-&jdk-version-string; &amp;&amp;
204chown -v -R root:root /opt/jdk-bin-&jdk-version-string; &amp;&amp;
205ln -v -sf xawt/libmawt.so \
206 /opt/jdk-bin-&jdk-version-string;/jre/lib/i386/ &amp;&amp;
207cd ..</userinput></screen>
208
209 <para>Recent versions of libX11 break the statically linked libmawt
210 when used with the Xinerama extension. While still the
211 <systemitem class="username">root</systemitem> user, apply the
212 folowing sed to the installed binary to work around this
213 problem:</para>
214
215<screen role="root"><userinput>sed -i 's@XINERAMA@FAKEEXTN@g' \
216 /opt/jdk-bin-&jdk-version-string;/jre/lib/i386/xawt/libmawt.so</userinput></screen>
217
218 <para>The binary version is now installed.</para>
219
220 <para>If you don't want to compile the source or are not in a position to
221 download the source owing to license restrictions, skip ahead to the
222 configuration section.</para>
223
224 <para>Save the existing path, and append the recently installed
225 <application>JDK</application>.</para>
226
227<screen><userinput>export JAVA_HOME=/opt/jdk-bin-&jdk-version-string; &amp;&amp;
228export PATH_HOLD=${PATH} &amp;&amp;
229export PATH=${PATH}:${JAVA_HOME}/bin</userinput></screen>
230
231 <para>The source code is contained in self-extracting
232 <filename class='extension'>jar</filename> files. You
233 will need to be in a windowed environment to extract the sources.
234 Create a directory to store the extracted sources. Choose the newly
235 created <filename class="directory">jdk-build</filename> directory
236 when prompted for the target directory.</para>
237
238<screen><userinput>mkdir jdk-build &amp;&amp;
239cd jdk-build &amp;&amp;
240for JAR in ../jdk-&jdk-version-string;*.jar
241 do java -jar ${JAR}
242done</userinput></screen>
243
244 <para>Apply all the patches downloaded above:</para>
245
246<screen><userinput>for PATCH in ../jdk-&jdk-version-string;*.patch
247 do patch -Np1 -i ${PATCH}
248done</userinput></screen>
249
250 <para>Use the following commands to apply some minor changes that
251 are a little more specific to BLFS, such as lack of a gcc-2.9
252 compiler, removing a broken demo, and forcing to link to shared
253 libraries. See the 'Command Explanations' section for more detail:</para>
254
255<screen><userinput>sed -i '/^.*linux)/ { N; /.*/ { N; /.*/d }}' \
256 deploy/make/plugin/{adapter,nscore}/Makefile &amp;&amp;
257sed -i '/.*mtrace.*/ { N; /.*/ s/.*mtrace.*\n.*/\t mtrace/ }' \
258 j2se/make/mkdemo/jvmti/Makefile &amp;&amp;
259sed -i 's/= true/= false/' \
260 j2se/make/common/shared/Compiler-gcc.gmk</userinput></screen>
261
262 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
263 href="../../xincludes/X11R6_symlink.xml"/>
264
265 <!-- <para>If your <application>X Window System</application> is installed into
266 any prefix other than <filename class="directory">/usr/X11R6</filename>,
267 execute the following commands, replacing
268 <replaceable>&lt;PREFIX&gt;</replaceable> with the installation prefix of
269 the <application>X Window System</application>:</para>
270
271<screen><userinput>for file in `find . -name Makefile \
272 -or -name Imakefile -or -name *.gmk`
273do sed -i 's@/usr/X11R6@<replaceable>&lt;PREFIX&gt;</replaceable>@g' $file
274done &amp;&amp;
275sed -i 's@/usr/X11R6@<replaceable>&lt;PREFIX&gt;</replaceable>@g' \
276 j2se/src/solaris/native/sun/awt/fontpath.c \
277 j2se/src/solaris/classes/sun/awt/motif/linux.fontconfig.Sun.properties \
278 j2se/src/solaris/classes/sun/awt/motif/linux.fontconfig.RedHat.3.properties</userinput></screen> -->
279
280 <para>Set/unset some variables which affect the build:</para>
281
282<screen><userinput>export ALT_BOOTDIR=${JAVA_HOME} &amp;&amp;
283export CLASSPATH_HOLD=${CLASSPATH} &amp;&amp;
284export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts &amp;&amp;
285export ALT_MOZILLA_HEADERS_PATH=${PWD}/share/plugin &amp;&amp;
286export MILESTONE="02-BLFS" &amp;&amp;
287export BUILD_NUMBER="b05" &amp;&amp;
288export INSANE=true &amp;&amp;
289export DEV_ONLY=true &amp;&amp;
290export SKIP_FASTDEBUG_BUILD=true &amp;&amp;
291unset JAVA_HOME CLASSPATH CFLAGS CXXFLAGS LDFLAGS</userinput></screen>
292
293 <warning><para>Setting CFLAGS/CXXFLAGS/LDFLAGS is guaranteed to make
294 the build fail. If you are interested in optimizing the build, set
295 OTHER_CFLAGS/OTHER_CXXFLAGS/OTHER_LDFLAGS instead. -O3, even in
296 OTHER_C{,XX}FLAGS, is known to cause a build failure.</para></warning>
297
298
299 <para>Additionally, if you would like to <command>make</command> in
300 parallel, add the following:</para>
301
302<screen><userinput>export HOTSPOT_BUILD_JOBS=<replaceable>&lt;3&gt;</replaceable></userinput></screen>
303
304 <para>Build the <application>JDK</application> with the following
305 commands. There will be a few messages about missing files that look like
306 errors. These are caused by not meeting the expected build environment
307 (Red Hat). As long as the build doesn't stop, the messages
308 are harmless.</para>
309
310<screen><userinput>pushd control/make &amp;&amp;
311make &amp;&amp;
312popd</userinput></screen>
313
314 <para>To test the results, you can run one of the provided demo programs
315 using the newly created <command>java</command> binary. Issue the
316 following commands:</para>
317
318<screen><userinput>pushd control/build/linux-i586/j2sdk-image/demo/jfc/Java2D &amp;&amp;
319../../../bin/java -jar Java2Demo.jar &amp;&amp;
320popd</userinput></screen>
321
322 <para>Now, as the <systemitem class="username">root</systemitem> user,
323 install the <application>JDK</application>:</para>
324
325<screen role="root"><userinput>pushd control/build/linux-i586 &amp;&amp;
326cp -v -a j2sdk-image /opt/jdk-&jdk-version-string; &amp;&amp;
327chown -v -R root:root /opt/jdk-&jdk-version-string; &amp;&amp;
328ln -v -sf xawt/libmawt.so /opt/jdk-&jdk-version-string;/jre/lib/i386/ &amp;&amp;
329popd</userinput></screen>
330
331 <para>Restore the unprivileged user's environment using the following
332 commands:</para>
333
334<screen><userinput>export JAVA_HOME=${ALT_BOOTDIR} &amp;&amp;
335export CLASSPATH=${CLASSPATH_HOLD} &amp;&amp;
336export PATH=${PATH_HOLD} &amp;&amp;
337unset PATH_HOLD ALT_BOOTDIR CLASSPATH_HOLD \
338 ALT_CACERTS_FILE ALT_MOZILLA_HEADERS_PATH \
339 BUILD_NUMBER MILESTONE INSANE DEV_ONLY \
340 SKIP_FASTDEBUG_BUILD</userinput></screen>
341
342 </sect2>
343
344 <sect2 role="commands">
345 <title>Command Explanations</title>
346
347 <para><command>sed -i '/^.*linux)/...</command>: This command disables
348 the build of a gcc-2.9 compatible browser plugin. LFS does not contain
349 gcc-2.9, and hasn't in quite a few years.</para>
350
351 <para><command>sed -i '/.*mtrace.*/...</command>: This command disables
352 building of the broken 'waiters' demo.</para>
353
354 <para><command>sed -i 's/= true/= false/'...</command>: This command
355 forces the compiler to link against the standard C libraries
356 dynamically.</para>
357
358 <para><command>export ALT_BOOTDIR=${JAVA_HOME}</command>: This variable sets
359 the location of the bootstrap <application>JDK</application>.</para>
360
361 <para><command>export ALT_CACERTS_FILE...</command>: Specifies the
362 certificate file to use (from the installed binary
363 <application>JDK</application>).</para>
364
365 <para><command>export ALT_MOZILLA_HEADERS_PATH=${PWD}/share/plugin/</command>:
366 This tells the build exactly where to find the
367 <application>Mozilla</application> headers. This has changed since the
368 previous version and is not mentioned in the installation documentation
369 included with the package source.</para>
370
371 <para><command>export MILESTONE="02-BLFS"</command>: This appends
372 the string '02-BLFS' to the buld number. 'internal' is
373 unconditionally added if MILESTONE is unset. This is similar
374 to the format used by Sun for the official release.</para>
375
376 <para><command>export BUILD_NUMBER="b05"</command>:
377 This will help you identify the compiled version of the runtime
378 environment and virtual machine by appending this information to
379 the version string. This is the same build number used by Sun to
380 identify the official release.</para>
381
382 <para><command>export INSANE=true</command>: The certified platform for the
383 build is Redhat Enterprise Advanced Server 2.1. This variable ensures that
384 all the errors related to compiling on a non-certified platform will be
385 displayed as warnings instead of errors.</para>
386
387 <para><command>export DEV_ONLY=true</command>: This command
388 skips compiling the comparison build.</para>
389
390 <para><command>export SKIP_FASTDEBUG_BUILD=true</command>: This command
391 skips building of the debug version. Omit this command if you need
392 to build the fastdebug target.</para>
393
394 <para><command>unset JAVA_HOME CLASSPATH CFLAGS CXXFLAGS LDFLAGS</command>:
395 These variables cause miscompilation of the build. Never set them.</para>
396
397 <para><command>ln -sf xawt/libmawt.so
398 /opt/jdk-&jdk-version-string;/jre/lib/i386/</command>: This fixes
399 linking issues with other applications that expect to find the
400 <application>motif</application> libraries with the other
401 <application>JDK</application> libraries.</para>
402
403 </sect2>
404
405 <sect2 role="configuration">
406 <title>Configuring JDK</title>
407
408 <sect3>
409 <title>Configuration Information</title>
410
411 <para>There are now two Java 2 SDKs installed in
412 <filename>/opt</filename>. You should decide on which one you
413 would like to use as the default. For example if you decide to use the
414 source compiled <application>JDK</application>, do the following as the
415 <systemitem class="username">root</systemitem> user:</para>
416
417<screen role="root"><userinput>ln -v -nsf jdk-&jdk-version-string; /opt/jdk</userinput></screen>
418
419 <para>The information below assumes your system is set up using the
420 instructions found in
421 <quote><xref linkend="postlfs-config-profile"/></quote>. You may need to
422 extract the relevant information below and incorporate it into your
423 system's startup files if your system is set up differently.</para>
424
425 <para>Add the following <filename>jdk.sh</filename> shell startup file to
426 the <filename>/etc/profile.d</filename> directory with the following
427 commands as the <systemitem class="username">root</systemitem> user:</para>
428
429<screen role="root"><userinput>cat &gt; /etc/profile.d/jdk.sh &lt;&lt; "EOF"
430<literal># Begin /etc/profile.d/jdk.sh
431
432# Set JAVA_HOME directory
433JAVA_HOME=/opt/jdk
434
435# Adjust PATH
436pathappend ${JAVA_HOME}/bin PATH
437
438# Auto Java CLASSPATH
439# Copy jar files to, or create symlinks in this directory
440AUTO_CLASSPATH_DIR=/usr/lib/classpath
441pathprepend . CLASSPATH
442for dir in `find ${AUTO_CLASSPATH_DIR} -type d 2>/dev/null`; do
443 pathappend $dir CLASSPATH
444done
445
446export JAVA_HOME CLASSPATH
447unset AUTO_CLASSPATH_DIR
448unset dir
449
450# End /etc/profile.d/jdk.sh</literal>
451EOF</userinput></screen>
452
453 <para>The <application>Java</application> plugin is located in
454 <filename class="directory">$JAVA_HOME/jre/plugin/i?86/ns7/</filename>.
455 Make a symbolic link to the file in that directory from your browser(s)
456 plugins directory.</para>
457
458 <important>
459 <para>The plugin must be a symlink for it to work. If not, the browsers
460 will crash when you attempt to load a <application>Java</application>
461 application.</para>
462 </important>
463
464 </sect3>
465
466 </sect2>
467
468 <sect2 role="content">
469 <title>Contents</title>
470
471 <segmentedlist>
472 <segtitle>Installed Programs</segtitle>
473 <segtitle>Installed Libraries</segtitle>
474 <segtitle>Installed Directory</segtitle>
475
476 <seglistitem>
477 <seg>appletviewer, apt, extcheck, idlj, HtmlConverter, jar,
478 jarsigner, java, javac, javadoc, javah, javap, java-rmi.cgi,
479 javaws, jconsole, jdb, jhat, jinfo, jmap, jps,
480 jrunscript, jsadebugd, jstack, jstat, jstatd, keytool,
481 native2ascii, orbd, pack200, policytool, rmic, rmid, rmiregistry,
482 schemagen, serialver, servertool, tnameserv, unpack200,
483 wsgen, wsimport, and xjc</seg>
484 <seg><envar>$JAVA_HOME</envar>/lib/*,
485 <envar>$JAVA_HOME</envar>/jre/lib/*,
486 and libjavaplugin_oji.so</seg>
487 <seg>/opt/jdk-&jdk-version-string;</seg>
488 </seglistitem>
489 </segmentedlist>
490
491 <variablelist>
492 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
493 <?dbfo list-presentation="list"?>
494 <?dbhtml list-presentation="table"?>
495
496 <varlistentry id="appletviewer">
497 <term><command>appletviewer</command></term>
498 <listitem>
499 <para>runs Java applets outside of the context of a browser.</para>
500 <indexterm zone="jdk appletviewer">
501 <primary sortas="b-appletviewer">appletviewer</primary>
502 </indexterm>
503 </listitem>
504 </varlistentry>
505
506 <varlistentry id="apt">
507 <term><command>apt</command></term>
508 <listitem>
509 <para>is an annotation processing tool.</para>
510 <indexterm zone="jdk apt">
511 <primary sortas="b-apt">apt</primary>
512 </indexterm>
513 </listitem>
514 </varlistentry>
515
516 <varlistentry id="extcheck">
517 <term><command>extcheck</command></term>
518 <listitem>
519 <para>checks a specified jar file for title and version conflicts
520 with any extensions installed in the <application>JDK</application>
521 software.</para>
522 <indexterm zone="jdk extcheck">
523 <primary sortas="b-extcheck">extcheck</primary>
524 </indexterm>
525 </listitem>
526 </varlistentry>
527
528 <varlistentry id="HtmlConverter">
529 <term><command>HtmlConverter</command></term>
530 <listitem>
531 <para>adds Java auto download to html and asp pages. </para>
532 <indexterm zone="jdk HtmlConverter">
533 <primary sortas="b-HtmlConverter">HtmlConverter</primary>
534 </indexterm>
535 </listitem>
536 </varlistentry>
537
538 <varlistentry id="idlj">
539 <term><command>idlj</command></term>
540 <listitem>
541 <para>generates Java bindings from a given IDL file.</para>
542 <indexterm zone="jdk idlj">
543 <primary sortas="b-idlj">idlj</primary>
544 </indexterm>
545 </listitem>
546 </varlistentry>
547
548 <varlistentry id="jar">
549 <term><command>jar</command></term>
550 <listitem>
551 <para>combines multiple files into a single jar archive.</para>
552 <indexterm zone="jdk jar">
553 <primary sortas="b-jar">jar</primary>
554 </indexterm>
555 </listitem>
556 </varlistentry>
557
558 <varlistentry id="jarsigner">
559 <term><command>jarsigner</command></term>
560 <listitem>
561 <para>signs jar files and verifies the signatures and integrity
562 of a signed jar file.</para>
563 <indexterm zone="jdk jarsigner">
564 <primary sortas="b-jarsigner">jarsigner</primary>
565 </indexterm>
566 </listitem>
567 </varlistentry>
568
569 <varlistentry id="java">
570 <term><command>java</command></term>
571 <listitem>
572 <para>launches a Java application by starting a Java runtime
573 environment, loading a specified class and invoking its main
574 method.</para>
575 <indexterm zone="jdk java">
576 <primary sortas="b-java">java</primary>
577 </indexterm>
578 </listitem>
579 </varlistentry>
580
581 <varlistentry id="javac">
582 <term><command>javac</command></term>
583 <listitem>
584 <para>reads class and interface definitions, written in the
585 Java programming language, and compiles them into bytecode
586 class files.</para>
587 <indexterm zone="jdk javac">
588 <primary sortas="b-javac">javac</primary>
589 </indexterm>
590 </listitem>
591 </varlistentry>
592
593 <varlistentry id="javadoc">
594 <term><command>javadoc</command></term>
595 <listitem>
596 <para>parses the declarations and documentation comments in a
597 set of Java source files and produces a corresponding set of
598 HTML pages describing the classes, interfaces,constructors,
599 methods, and fields.</para>
600 <indexterm zone="jdk javadoc">
601 <primary sortas="b-javadoc">javadoc</primary>
602 </indexterm>
603 </listitem>
604 </varlistentry>
605
606 <varlistentry id="javah">
607 <term><command>javah</command></term>
608 <listitem>
609 <para>generates C header and source files
610 that are needed to implement native methods.</para>
611 <indexterm zone="jdk javah">
612 <primary sortas="b-javah">javah</primary>
613 </indexterm>
614 </listitem>
615 </varlistentry>
616
617 <varlistentry id="javap">
618 <term><command>javap</command></term>
619 <listitem>
620 <para>disassembles a Java class file.</para>
621 <indexterm zone="jdk javap">
622 <primary sortas="b-javap">javap</primary>
623 </indexterm>
624 </listitem>
625 </varlistentry>
626
627 <varlistentry id="java-rmi.cgi">
628 <term><command>java-rmi.cgi</command></term>
629 <listitem>
630 <para>is the Java RMI client.</para>
631 <indexterm zone="jdk java-rmi.cgi">
632 <primary sortas="b-java-rmi.cgi">java-rmi.cgi</primary>
633 </indexterm>
634 </listitem>
635 </varlistentry>
636
637 <varlistentry id="javaws">
638 <term><command>javaws</command></term>
639 <listitem>
640 <para>launches Java application/applets hosted on a network.</para>
641 <indexterm zone="jdk javaws">
642 <primary sortas="b-javaws">javaws</primary>
643 </indexterm>
644 </listitem>
645 </varlistentry>
646
647 <varlistentry id="jconsole">
648 <term><command>jconsole</command></term>
649 <listitem>
650 <para>is a graphical console tool to monitor and manage both
651 local and remote Java applications and virtual machines.</para>
652 <indexterm zone="jdk jconsole">
653 <primary sortas="b-jconsole">jconsole</primary>
654 </indexterm>
655 </listitem>
656 </varlistentry>
657
658 <varlistentry id="jdb">
659 <term><command>jdb</command></term>
660 <listitem>
661 <para>is a simple command-line debugger for Java classes.</para>
662 <indexterm zone="jdk jdb">
663 <primary sortas="b-jdb">jdb</primary>
664 </indexterm>
665 </listitem>
666 </varlistentry>
667
668 <varlistentry id="jhat">
669 <term><command>jhat</command></term>
670 <listitem>
671 <para>parses a java heap dump file and allows viewing
672 in a webbrowser.</para>
673 <indexterm zone="jdk jhat">
674 <primary sortas="b-jhat">jhat</primary>
675 </indexterm>
676 </listitem>
677 </varlistentry>
678
679 <varlistentry id="jinfo">
680 <term><command>jinfo</command></term>
681 <listitem>
682 <para>prints Java configuration information for a given Java
683 process, core file, or a remote debug server.</para>
684 <indexterm zone="jdk jinfo">
685 <primary sortas="b-jinfo">jinfo</primary>
686 </indexterm>
687 </listitem>
688 </varlistentry>
689
690 <varlistentry id="jmap">
691 <term><command>jmap</command></term>
692 <listitem>
693 <para>prints shared object memory maps or heap memory details
694 of a given process, core file, or a remote debug server.</para>
695 <indexterm zone="jdk jmap">
696 <primary sortas="b-jmap">jmap</primary>
697 </indexterm>
698 </listitem>
699 </varlistentry>
700
701 <varlistentry id="jps">
702 <term><command>jps</command></term>
703 <listitem>
704 <para>lists the instrumented JVMs on the target system.</para>
705 <indexterm zone="jdk jps">
706 <primary sortas="b-jps">jps</primary>
707 </indexterm>
708 </listitem>
709 </varlistentry>
710
711 <varlistentry id="jrunscript">
712 <term><command>jrunscript</command></term>
713 <listitem>
714 <para>is a command line script shell.</para>
715 <indexterm zone="jdk jrunscript">
716 <primary sortas="b-jrunscript">jrunscript</primary>
717 </indexterm>
718 </listitem>
719 </varlistentry>
720
721 <varlistentry id="jsadebugd">
722 <term><command>jsadebugd</command></term>
723 <listitem>
724 <para>attaches to a Java process or core file and acts as a
725 debug server.</para>
726 <indexterm zone="jdk jsadebugd">
727 <primary sortas="b-jsadebugd">jsadebugd</primary>
728 </indexterm>
729 </listitem>
730 </varlistentry>
731
732 <varlistentry id="jstack">
733 <term><command>jstack</command></term>
734 <listitem>
735 <para>prints Java stack traces of Java threads for a given
736 Java process, core file, or a remote debug server.</para>
737 <indexterm zone="jdk jstack">
738 <primary sortas="b-jstack">jstack</primary>
739 </indexterm>
740 </listitem>
741 </varlistentry>
742
743 <varlistentry id="jstat">
744 <term><command>jstat</command></term>
745 <listitem>
746 <para>displays performance statistics for an instrumented JVM.</para>
747 <indexterm zone="jdk jstat">
748 <primary sortas="b-jstat">jstat</primary>
749 </indexterm>
750 </listitem>
751 </varlistentry>
752
753 <varlistentry id="jstatd">
754 <term><command>jstatd</command></term>
755 <listitem>
756 <para>is an RMI server application that monitors for the creation
757 and termination of instrumented JVMs.</para>
758 <indexterm zone="jdk jstatd">
759 <primary sortas="b-jstatd">jstatd</primary>
760 </indexterm>
761 </listitem>
762 </varlistentry>
763
764 <varlistentry id="keytool">
765 <term><command>keytool</command></term>
766 <listitem>
767 <para>is a key and certificate management utility.</para>
768 <indexterm zone="jdk keytool">
769 <primary sortas="b-keytool">keytool</primary>
770 </indexterm>
771 </listitem>
772 </varlistentry>
773
774 <varlistentry id="native2ascii">
775 <term><command>native2ascii</command></term>
776 <listitem>
777 <para> converts files that contain non-supported character encoding
778 into files containing Latin-1 or Unicode-encoded characters.</para>
779 <indexterm zone="jdk native2ascii">
780 <primary sortas="b-native2ascii">native2ascii</primary>
781 </indexterm>
782 </listitem>
783 </varlistentry>
784
785 <varlistentry id="orbd">
786 <term><command>orbd</command></term>
787 <listitem>
788 <para>is used to enable clients to transparently locate and invoke
789 persistent objects on servers in the CORBA environment.</para>
790 <indexterm zone="jdk orbd">
791 <primary sortas="b-orbd">orbd</primary>
792 </indexterm>
793 </listitem>
794 </varlistentry>
795
796 <varlistentry id="pack200">
797 <term><command>pack200</command></term>
798 <listitem>
799 <para>is a Java application that transforms a jar file into a
800 compressed pack200 file using the Java gzip compressor.</para>
801 <indexterm zone="jdk pack200">
802 <primary sortas="b-pack200">pack200</primary>
803 </indexterm>
804 </listitem>
805 </varlistentry>
806
807 <varlistentry id="policytool">
808 <term><command>policytool</command></term>
809 <listitem>
810 <para>creates and manages a policy file graphically.</para>
811 <indexterm zone="jdk policytool">
812 <primary sortas="b-policytool">policytool</primary>
813 </indexterm>
814 </listitem>
815 </varlistentry>
816
817 <varlistentry id="rmic">
818 <term><command>rmic</command></term>
819 <listitem>
820 <para>generates stub and skeleton class files for remote objects
821 from the names of compiled Java classes that contain remote
822 object implementations.</para>
823 <indexterm zone="jdk rmic">
824 <primary sortas="b-rmic">rmic</primary>
825 </indexterm>
826 </listitem>
827 </varlistentry>
828
829 <varlistentry id="rmid">
830 <term><command>rmid</command></term>
831 <listitem>
832 <para>starts the activation system daemon.</para>
833 <indexterm zone="jdk rmid">
834 <primary sortas="b-rmid">rmid</primary>
835 </indexterm>
836 </listitem>
837 </varlistentry>
838
839 <varlistentry id="rmiregistry">
840 <term><command>rmiregistry</command></term>
841 <listitem>
842 <para>creates and starts a remote object registry on the specified
843 port on the current host.</para>
844 <indexterm zone="jdk rmiregistry">
845 <primary sortas="b-rmiregistry">rmiregistry</primary>
846 </indexterm>
847 </listitem>
848 </varlistentry>
849
850 <varlistentry id="schemagen">
851 <term><command>schemagen</command></term>
852 <listitem>
853 <para>is a Java XML binding schema generator.</para>
854 <indexterm zone="jdk schemagen">
855 <primary sortas="b-schemagen">schemagen</primary>
856 </indexterm>
857 </listitem>
858 </varlistentry>
859
860 <varlistentry id="serialver">
861 <term><command>serialver</command></term>
862 <listitem>
863 <para>returns the serialVersionUID for one or more classes in a
864 form suitable for copying into an evolving class.</para>
865 <indexterm zone="jdk serialver">
866 <primary sortas="b-serialver">serialver</primary>
867 </indexterm>
868 </listitem>
869 </varlistentry>
870
871 <varlistentry id="servertool">
872 <term><command>servertool</command></term>
873 <listitem>
874 <para>provides an ease-of-use interface for application programmers
875 to register, unregister, startup and shutdown a server.</para>
876 <indexterm zone="jdk servertool">
877 <primary sortas="b-servertool">servertool</primary>
878 </indexterm>
879 </listitem>
880 </varlistentry>
881
882 <varlistentry id="tnameserv">
883 <term><command>tnameserv</command></term>
884 <listitem>
885 <para>starts the Java IDL name server.</para>
886 <indexterm zone="jdk tnameserv">
887 <primary sortas="b-tnameserv">tnameserv</primary>
888 </indexterm>
889 </listitem>
890 </varlistentry>
891
892 <varlistentry id="unpack200">
893 <term><command>unpack200</command></term>
894 <listitem>
895 <para>is a native implementation that transforms a packed file
896 produced by <application>pack200</application> into a jar
897 file.</para>
898 <indexterm zone="jdk unpack200">
899 <primary sortas="b-unpack200">unpack200</primary>
900 </indexterm>
901 </listitem>
902 </varlistentry>
903
904 <varlistentry id="wsgen">
905 <term><command>wsgen</command></term>
906 <listitem>
907 <para>generates JAX-WS portable artifacts used in JAX-WS
908 web services.</para>
909 <indexterm zone="jdk wsgen">
910 <primary sortas="b-wsgen">wsgen</primary>
911 </indexterm>
912 </listitem>
913 </varlistentry>
914
915 <varlistentry id="wsimport">
916 <term><command>wsimport</command></term>
917 <listitem>
918 <para>generates JAX-WS portable artifacts.</para>
919 <indexterm zone="jdk wsimport">
920 <primary sortas="b-wsimport">wsimport</primary>
921 </indexterm>
922 </listitem>
923 </varlistentry>
924
925 <varlistentry id="xjc">
926 <term><command>xjc</command></term>
927 <listitem>
928 <para>is a Java XML binding compiler.</para>
929 <indexterm zone="jdk xjc">
930 <primary sortas="b-xjc">xjc</primary>
931 </indexterm>
932 </listitem>
933 </varlistentry>
934
935 </variablelist>
936
937 </sect2>
938
939</sect1>
Note: See TracBrowser for help on using the repository browser.