source: general/prog/jdk.xml@ 9f12e36

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 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 9f12e36 was 9f12e36, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed 'keywordset' blocks and extra spaces from the XML files (note this was by accident as I meant to do just in the gnome directory but I was in the root of BOOK when I ran the script, but this was going to happen anyway so I don't think it is a big deal)

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

  • Property mode set to 100644
File size: 26.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY jdk-download-source "https://tiger.dev.java.net/jdk_5_0_05.html">
8 <!ENTITY jdk-download-binary "http://java.sun.com/j2se/1.5.0/download.jsp">
9 <!ENTITY jdk-source-md5sum "&sources-anduin-http;/j/jdk-&jdk-src-version;.md5sums">
10 <!ENTITY jdk-bin-md5sum "3cdad4a383b93680f02f6f06198c2227">
11 <!ENTITY jdk-bin-size "46.7 MB">
12 <!ENTITY jdk-src-size "64.4 MB (three .jar files)">
13 <!ENTITY jdk-src-buildsize "1553 MB">
14 <!ENTITY jdk-time "29 SBU">
15]>
16
17<sect1 id="jdk" xreflabel="JDK-&jdk-src-version;">
18 <?dbhtml filename="jdk.html" ?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>JDK-&jdk-src-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 <para>The <application>JDK</application> comes in two flavors, a
42 precompiled binary and a source package. Previously, the plugin included
43 in the <application>JDK</application> binary package was unusable on LFS
44 owing to incompatibilities with <application>GCC</application>-3 compiled
45 browsers. This is not the case anymore.</para>
46
47 <para>In order to use the source code and patches, you must read and agree
48 to the Sun <ulink url="http://www.java.net/jrl.csp"> Java Research
49 License</ulink> or optionally, the Sun <ulink
50 url="http://java.net/jiul.csp">Java Internal Use License</ulink>. In
51 addition, the source code is not allowed to be downloaded to some
52 countries, so for users in those countries, the binary is the only
53 option.</para>
54
55 <para>You will first need to download and install the binary version of the
56 <application>JDK</application>.</para>
57
58 <para>To build from the source, you will also need to download the
59 additional files and patches to complete the source build as detailed
60 below.</para>
61
62 <bridgehead renderas="sect3">Package Information</bridgehead>
63 <itemizedlist spacing="compact">
64 <listitem>
65 <para>Binary download: <ulink url="&jdk-download-binary;"/>
66 (to download jdk-&jdk-bin-string;-linux-i586.bin)</para>
67 </listitem>
68 <listitem>
69 <para>Download MD5 sum (binary): &jdk-bin-md5sum;</para>
70 </listitem>
71 <listitem>
72 <para>Source download: <ulink url="&jdk-download-source;"/>
73 (to download jdk-&jdk-src-string;-fcs-src-b05-jrl-13_oct_2005.jar (or
74 optionally the JIUL version),
75 jdk-&jdk-src-string;-fcs-bin-b05-13_oct_2005.jar, and
76 jdk-&jdk-src-string;-mozilla_headers-b05-unix-26_aug_2005.jar)</para>
77 </listitem>
78
79 <listitem>
80 <para>Download MD5 sums (source):
81 <simplelist>
82 <member>215c5175e54c2facccc2c7845e339725
83 jdk-&jdk-src-string;-fcs-bin-b05-13_oct_2005.jar
84 </member>
85 <member>884dd87faa082d294f725857c895b6f6
86 jdk-&jdk-src-string;-fcs-src-b05-jrl-13_oct_2005.jar
87 </member>
88 <member>3a3627ab55c6a63cddc90d5b3fad4b83
89 jdk-&jdk-src-string;-mozilla_headers-b05-unix-26_aug_2005.jar
90 </member>
91 </simplelist>
92 </para>
93 </listitem>
94
95 <listitem>
96 <para>Download size (binary): &jdk-bin-size;</para>
97 </listitem>
98 <listitem>
99 <para>Download size (source): &jdk-src-size;</para>
100 </listitem>
101 <listitem>
102 <para>Estimated disk space required: &jdk-src-buildsize;</para>
103 </listitem>
104 <listitem>
105 <para>Estimated build time: &jdk-time;</para>
106 </listitem>
107 </itemizedlist>
108
109 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
110
111 <bridgehead renderas="sect4">Required Patches</bridgehead>
112 <itemizedlist spacing='compact'>
113 <listitem>
114 <para><ulink
115 url="&patch-root;/jdk-&jdk-src-version;-gcc4-1.patch"/></para>
116 </listitem>
117 <listitem>
118 <para><ulink
119 url="&patch-root;/jdk-&jdk-src-version;-motif_fixes-1.patch"/></para>
120 </listitem>
121 <listitem>
122 <para><ulink
123 url="&patch-root;/jdk-&jdk-src-version;-nptl-1.patch"/></para></listitem>
124 <listitem>
125 <para><ulink
126 url="&patch-root;/jdk-&jdk-src-version;-remove_broken_demo-1.patch"/></para>
127 </listitem>
128 <listitem>
129 <para><ulink
130 url="&patch-root;/jdk-&jdk-src-version;-remove_fixed_paths-1.patch"/></para>
131 </listitem>
132 <listitem>
133 <para><ulink
134 url="&patch-root;/jdk-&jdk-src-version;-xorg-6.8.1-1.patch"/></para>
135 </listitem>
136 </itemizedlist>
137
138 <bridgehead renderas="sect4">Recommended Patches</bridgehead>
139 <itemizedlist spacing='compact'>
140 <listitem>
141 <para><ulink
142 url="&patch-root;/jdk-&jdk-src-version;-remove_debug_image-1.patch"/>
143 (skips compiling of the <application>JDK</application> debug image)</para>
144 </listitem>
145 <listitem>
146 <para><ulink
147 url="&patch-root;/jdk-&jdk-src-version;-static_cxx-1.patch"/>
148 (forces dynamic linking to <application>GCC</application> libs)</para></listitem>
149 </itemizedlist>
150
151 <bridgehead renderas="sect3">JDK Dependencies</bridgehead>
152
153 <bridgehead renderas="sect4">Required (to Build JDK from Source)</bridgehead>
154 <para role="required"><xref linkend="x-window-system"/>,
155 <xref linkend="zip"/>,
156 <xref linkend="unzip"/>,
157 <xref linkend="cpio"/>,
158 <xref linkend="alsa-lib"/>, and
159 <xref linkend="tcsh"/></para>
160
161 <para condition="html" role="usernotes">User Notes:
162 <ulink url="&blfs-wiki;/jdk"/></para>
163
164 </sect2>
165
166 <sect2 role="installation">
167 <title>Installation of JDK</title>
168
169 <para>Both the binary and source built versions will be installed. You may
170 choose to keep either or both.</para>
171
172 <tip>
173 <para>The <command>./jdk-&jdk-bin-string;-linux-i?86.bin</command>
174 command below unpacks the distribution into a
175 <filename class='directory'>jdk&jdk-bin-version;</filename> directory.
176 You will be required to view, and then accept (by entering a
177 <keycap>y</keycap> keypress), a license agreement before any files are
178 unpacked. If you are scripting (automating) the build, you'll need to
179 account for this. There is information about automating build commands
180 in the <xref linkend="automating-builds"/> section of Chapter 2. Towards
181 the end of this section, specific information for automating this type of
182 installation is discussed.</para>
183 </tip>
184
185 <para>Normally in BLFS, the files are unpacked into a subdirectory
186 and the starting point for the installation procedures is that
187 location. For this application only, start in the directory where all
188 the downloaded files are located.</para>
189
190 <para>Install the precompiled <application>JDK</application> with the
191 following commands:</para>
192
193<screen><userinput>cp jdk-&jdk-bin-string;-linux-i?86.bin jdk-mod.bin &amp;&amp;
194sed -i "s:^PATH=.*::" jdk-mod.bin &amp;&amp;
195chmod -v +x jdk-mod.bin &amp;&amp;
196./jdk-mod.bin</userinput></screen>
197
198 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
199
200<screen role="root"><userinput>cd jdk&jdk-bin-version; &amp;&amp;
201install -v -d /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
202mv -v * /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
203chown -v -R root:root /opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
204ln -v -sf motif21/libmawt.so \
205 /opt/jdk/jdk-precompiled-&jdk-bin-version;/jre/lib/i386/ &amp;&amp;
206cd ..</userinput></screen>
207
208 <para>The binary version is now installed.</para>
209
210 <para>If you don't want to compile the source or are not in a position to
211 download the source owing to license restrictions, skip ahead to the
212 configuration section.</para>
213
214 <para>Save the existing path, and append the recently installed
215 <application>JDK</application>.</para>
216
217<screen><userinput>export JAVA_HOME=/opt/jdk/jdk-precompiled-&jdk-bin-version; &amp;&amp;
218export PATH_HOLD=${PATH} &amp;&amp;
219export PATH=${PATH}:${JAVA_HOME}/bin</userinput></screen>
220
221 <para>The source code is contained in self-extracting
222 <filename class='extension'>jar</filename> files. You
223 will need to be in a windowed environment to extract the sources.
224 Create a directory to store the extracted sources. Choose the newly
225 created <filename class="directory">jdk-build</filename> directory
226 when prompted for the target directory.</para>
227
228<screen><userinput>mkdir jdk-build &amp;&amp;
229cd jdk-build &amp;&amp;
230for JAR in ../jdk-&jdk-src-string;*.jar
231 do java -jar ${JAR}
232done</userinput></screen>
233
234 <para>Apply all the patches downloaded above:</para>
235
236<screen><userinput>for PATCH in ../jdk-&jdk-src-version;*.patch
237 do patch -Np1 -i ${PATCH}
238done</userinput></screen>
239
240 <para>If your X Window System is installed in any prefix other than
241 <filename class="directory">/usr/X11R6</filename>, adjust as necessary and
242 execute the following command:</para>
243
244<screen><userinput>find . -type f -exec sed -i 's@/usr/X11R6@<replaceable>&lt;/usr&gt;</replaceable>@g' {} \;</userinput></screen>
245
246 <para>Set/unset some variables which affect the build:</para>
247
248<screen><userinput>export ALT_BOOTDIR="$JAVA_HOME" &amp;&amp;
249unset JAVA_HOME &amp;&amp;
250unset CLASSPATH
251unset CFLAGS
252unset CXXFLAGS
253unset LDFLAGS
254export ALT_DEVTOOLS_PATH="/usr/bin" &amp;&amp;
255export BUILD_NUMBER="update-05" &amp;&amp;
256export DEV_ONLY=true &amp;&amp;
257export ALT_MOZILLA_HEADERS_PATH=$PWD/share/plugin/ &amp;&amp;
258export INSANE=true &amp;&amp;
259export MAKE_VERBOSE=true &amp;&amp;
260export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts</userinput></screen>
261
262 <warning>
263 <para>Setting CFLAGS/CXXFLAGS/LDFLAGS is guaranteed to make the build
264 fail. If you are interested in optimizing the build, set
265 OTHER_CFLAGS/OTHER_CXXFLAGS/OTHER_LDFLAGS instead. -O3, even in
266 OTHER_C{,XX}FLAGS, is known to cause a build failure.</para>
267 </warning>
268
269 <para>Additionally, if you would like to <command>make</command> in
270 parallel, add the following:</para>
271
272<screen><userinput>export HOTSPOT_BUILD_JOBS=<replaceable>&lt;3&gt;</replaceable></userinput></screen>
273
274 <para>Build the <application>JDK</application> with the following
275 commands. There will be a lot of messages about missing files that look like
276 errors. These are caused by not meeting the expected build environment
277 (Red Hat). As long as the build doesn't stop, the messages
278 are harmless.</para>
279
280<screen><userinput>cd control/make &amp;&amp;
281make &amp;&amp;
282cd ../build/linux-i?86</userinput></screen>
283
284 <para>To test the results, you can run one of the provided demo programs
285 using the newly created <command>java</command> binary. Issue the
286 following commands:</para>
287
288<screen><userinput>cd j2sdk-image/demo/jfc/Java2D &amp;&amp;
289../../../bin/java -jar Java2Demo.jar &amp;&amp;
290cd ../../../..</userinput></screen>
291
292 <para>Now, as the <systemitem class="username">root</systemitem> user,
293 install the <application>JDK</application>:</para>
294
295<screen role="root"><userinput>cp -v -a j2sdk-image /opt/jdk/jdk-&jdk-src-version; &amp;&amp;
296chown -v -R root:root /opt/jdk/jdk-&jdk-src-version; &amp;&amp;
297ln -sf motif21/libmawt.so /opt/jdk/jdk-&jdk-src-version;/jre/lib/i386/</userinput></screen>
298
299 <para>Restore the unprivileged user's environment using the following
300 commands:</para>
301
302<screen><userinput>unset ALT_BOOTDIR &amp;&amp;
303unset ALT_DEVTOOLS_PATH &amp;&amp;
304unset BUILD_NUMBER &amp;&amp;
305unset DEV_ONLY &amp;&amp;
306unset ALT_MOZILLA_HEADERS_PATH &amp;&amp;
307unset INSANE &amp;&amp;
308unset MAKE_VERBOSE &amp;&amp;
309unset ALT_CACERTS_FILE &amp;&amp;
310export PATH=${PATH_HOLD} &amp;&amp;
311unset PATH_HOLD</userinput></screen>
312
313 </sect2>
314
315 <sect2 role="commands">
316 <title>Command Explanations</title>
317
318 <para><command>export ALT_BOOTDIR="$JAVA_HOME"</command>: This variable sets
319 the location of the bootstrap <application>JDK</application>.</para>
320
321 <para><command>export ALT_MOZILLA_HEADERS_PATH=$PWD/share/plugin/</command>:
322 This tells the build exactly where to find the
323 <application>Mozilla</application> headers. This has changed since the
324 previous version and is not mentioned in the installation documentation
325 included with the package source.</para>
326
327 <para><command>export ALT_DEVTOOLS_PATH="/usr/bin"</command>: This
328 changes the location where the build finds the needed executables.</para>
329
330 <para><command>export BUILD_NUMBER="blfs-&blfs-version;"</command>:
331 This will help you identify the compiled version of the runtime environment
332 and virtual machine by appending this information to the version
333 string.</para>
334
335 <para><command>export DEV_ONLY=true</command>: This command
336 skips compiling the documentation and eliminates a dependency on
337 <application>rpm</application>.</para>
338
339 <para><command>unset JAVA_HOME</command>: This clears the
340 <envar>JAVA_HOME</envar> variable as recommended by the build
341 instructions.</para>
342
343 <para><command>unset CLASSPATH</command>: This clears the
344 <envar>CLASSPATH</envar> variable as recommended by the build
345 instructions.</para>
346
347 <para><command>unset CFLAGS/CXXFLAGS...</command>: These variables cause
348 miscompilation of the build. Never set them.</para>
349
350 <para><command>export INSANE=true</command>: The certified platform for the
351 build is Redhat Enterprise Advanced Server 2.1. This variable ensures that
352 all the errors related to compiling on a non-certified platform will be
353 displayed as warnings instead of errors.</para>
354
355 <para><command>export MAKE_VERBOSE=true</command>: Allows the compiler
356 commands to be displayed on the console.</para>
357
358 <para><command>export ALT_CACERTS_FILE...</command>: Specifies the
359 certificate file to use (from the installed binary
360 <application>JDK</application>).</para>
361
362 <para><command>ln -sf motif21/libmawt.so
363 /opt/jdk/jdk-&jdk-src-version;/jre/lib/i386/</command>: This fixes
364 linking issues with other applications that expect to find the
365 <application>motif</application> libraries with the other
366 <application>JDK</application> libraries.</para>
367
368 </sect2>
369
370 <sect2 role="configuration">
371 <title>Configuring JDK</title>
372
373 <sect3>
374 <title>Configuration Information</title>
375
376 <para>There are now two Java 2 SDKs installed in
377 <filename>/opt/jdk</filename>. You should decide on which one you
378 would like to use as the default. For example if you decide to use the
379 source compiled <application>JDK</application>, do the following as the
380 <systemitem class="username">root</systemitem> user:</para>
381
382<screen role="root"><userinput>ln -v -nsf jdk-&jdk-src-version; /opt/jdk/jdk</userinput></screen>
383
384 <para>Add the following <filename>jdk.sh</filename> shell startup file to
385 the <filename>/etc/profile.d</filename> directory with the following
386 commands as the <systemitem class="username">root</systemitem> user:</para>
387
388<screen role="root"><userinput>cat &gt; /etc/profile.d/jdk.sh &lt;&lt; "EOF"
389<literal># Begin /etc/profile.d/jdk.sh
390
391# Set JAVA_HOME directory
392JAVA_HOME=/opt/jdk/jdk
393export JAVA_HOME
394
395# Adjust PATH
396pathappend ${JAVA_HOME}/bin PATH
397
398# Auto Java Classpath Updating
399# Create symlinks to this directory for auto classpath setting
400AUTO_CLASSPATH_DIR=/usr/lib/classpath
401if [ -z ${CLASSPATH} ]; then
402 CLASSPATH=.:${AUTO_CLASSPATH_DIR}
403else
404 CLASSPATH="${CLASSPATH}:.:${AUTO_CLASSPATH_DIR}"
405fi
406
407# Check for empty AUTO_CLASSPATH_DIR
408ls ${AUTO_CLASSPATH_DIR}/*.jar &amp;> /dev/null &amp;&amp;
409for i in ${AUTO_CLASSPATH_DIR}/*.jar
410 do CLASSPATH=${CLASSPATH}:"${i}"
411done
412export CLASSPATH
413
414# End /etc/profile.d/jdk.sh</literal>
415EOF</userinput></screen>
416
417 <para>The <application>Java</application> plugin is located in
418 <filename class="directory">$JAVA_HOME/jre/plugin/i?86/ns7/</filename>.
419 Make a symbolic link to the file in that directory from your browser(s)
420 plugins directory.</para>
421
422 <important>
423 <para>The plugin must be a symlink for it to work. If not, the browsers
424 will crash when you attempt to load a <application>Java</application>
425 application.</para>
426 </important>
427
428 </sect3>
429
430 </sect2>
431
432 <sect2 role="content">
433 <title>Contents</title>
434
435 <segmentedlist>
436 <segtitle>Installed Programs</segtitle>
437 <segtitle>Installed Libraries</segtitle>
438 <segtitle>Installed Directory</segtitle>
439
440 <seglistitem>
441 <seg>appletviewer, extcheck, idlj, jar, jarsigner, java, javac,
442 javadoc,javah, javap, javaws, jdb, keytool, native2ascii, orbd,
443 policytool, rmic, rmid, rmiregistry, serialver, servertool, and
444 tnameserv</seg>
445 <seg><envar>$JAVA_HOME</envar>/lib/*,
446 <envar>$JAVA_HOME</envar>/jre/lib/*,
447 and libjavaplugin_oji.so</seg>
448 <seg>/opt/jdk</seg>
449 </seglistitem>
450 </segmentedlist>
451
452 <variablelist>
453 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
454 <?dbfo list-presentation="list"?>
455 <?dbhtml list-presentation="table"?>
456
457 <varlistentry id="appletviewer">
458 <term><command>appletviewer</command></term>
459 <listitem>
460 <para>runs <application>Java</application> applets outside of the
461 context of a browser.</para>
462 <indexterm zone="jdk appletviewer">
463 <primary sortas="b-appletviewer">appletviewer</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
467
468 <varlistentry id="extcheck">
469 <term><command>extcheck</command></term>
470 <listitem>
471 <para>checks a specified <filename>JAR</filename> file for title
472 and version conflicts with any extensions installed in the
473 <application>JDK</application> software.</para>
474 <indexterm zone="jdk extcheck">
475 <primary sortas="b-extcheck">extcheck</primary>
476 </indexterm>
477 </listitem>
478 </varlistentry>
479
480 <varlistentry id="idlj">
481 <term><command>idlj</command></term>
482 <listitem>
483 <para>generates <application>Java</application> bindings from a
484 given IDL file.</para>
485 <indexterm zone="jdk idlj">
486 <primary sortas="b-idlj">idlj</primary>
487 </indexterm>
488 </listitem>
489 </varlistentry>
490
491 <varlistentry id="jar">
492 <term><command>jar</command></term>
493 <listitem>
494 <para>combines multiple files into a single <filename>JAR</filename>
495 archive file.</para>
496 <indexterm zone="jdk jar">
497 <primary sortas="b-jar">jar</primary>
498 </indexterm>
499 </listitem>
500 </varlistentry>
501
502 <varlistentry id="jarsigner">
503 <term><command>jarsigner</command></term>
504 <listitem>
505 <para>signs <filename>JAR</filename> (Java ARchive) files and verifies the
506 signatures and integrity of a signed <filename>JAR</filename>.</para>
507 <indexterm zone="jdk jarsigner">
508 <primary sortas="b-jarsigner">jarsigner</primary>
509 </indexterm>
510 </listitem>
511 </varlistentry>
512
513 <varlistentry id="java">
514 <term><command>java</command></term>
515 <listitem>
516 <para>launches a <application>Java</application> application by
517 starting a <application>Java</application> runtime environment, loading a
518 specified class and invoking its main method.</para>
519 <indexterm zone="jdk java">
520 <primary sortas="b-java">java</primary>
521 </indexterm>
522 </listitem>
523 </varlistentry>
524
525 <varlistentry id="javac">
526 <term><command>javac</command></term>
527 <listitem>
528 <para>reads class and interface definitions, written in the
529 <application>Java</application> programming language, and compiles
530 them into bytecode class files.</para>
531 <indexterm zone="jdk javac">
532 <primary sortas="b-javac">javac</primary>
533 </indexterm>
534 </listitem>
535 </varlistentry>
536
537 <varlistentry id="javadoc">
538 <term><command>javadoc</command></term>
539 <listitem>
540 <para>parses the declarations and documentation comments in a set of
541 <application>Java</application> source files and produces a corresponding
542 set of HTML pages describing the classes, interfaces,
543 constructors, methods, and fields.</para>
544 <indexterm zone="jdk javadoc">
545 <primary sortas="b-javadoc">javadoc</primary>
546 </indexterm>
547 </listitem>
548 </varlistentry>
549
550 <varlistentry id="javah">
551 <term><command>javah</command></term>
552 <listitem>
553 <para>generates <application>C</application> header and source files
554 that are needed to implement native methods.</para>
555 <indexterm zone="jdk javah">
556 <primary sortas="b-javah">javah</primary>
557 </indexterm>
558 </listitem>
559 </varlistentry>
560
561 <varlistentry id="javap">
562 <term><command>javap</command></term>
563 <listitem>
564 <para>disassembles a <application>Java</application> class file.</para>
565 <indexterm zone="jdk javap">
566 <primary sortas="b-javap">javap</primary>
567 </indexterm>
568 </listitem>
569 </varlistentry>
570
571 <varlistentry id="javaws">
572 <term><command>javaws</command></term>
573 <listitem>
574 <para>launches <application>Java </application>application/applets
575 hosted on a network.</para>
576 <indexterm zone="jdk javaws">
577 <primary sortas="b-javaws">javaws</primary>
578 </indexterm>
579 </listitem>
580 </varlistentry>
581
582 <varlistentry id="jdb">
583 <term><command>jdb</command></term>
584 <listitem>
585 <para>is a simple command-line debugger for
586 <application>Java</application> classes.</para>
587 <indexterm zone="jdk jdb">
588 <primary sortas="b-jdb">jdb</primary>
589 </indexterm>
590 </listitem>
591 </varlistentry>
592
593 <varlistentry id="keytool">
594 <term><command>keytool</command></term>
595 <listitem>
596 <para>is a key and certificate management utility.</para>
597 <indexterm zone="jdk keytool">
598 <primary sortas="b-keytool">keytool</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602
603 <varlistentry id="native2ascii">
604 <term><command>native2ascii</command></term>
605 <listitem>
606 <para> converts files that contain non-supported character encoding
607 into files containing Latin-1 or Unicode-encoded characters.</para>
608 <indexterm zone="jdk native2ascii">
609 <primary sortas="b-native2ascii">native2ascii</primary>
610 </indexterm>
611 </listitem>
612 </varlistentry>
613
614 <varlistentry id="orbd">
615 <term><command>orbd</command></term>
616 <listitem>
617 <para>is used to enable clients to transparently locate and invoke
618 persistent objects on servers in the CORBA environment.</para>
619 <indexterm zone="jdk orbd">
620 <primary sortas="b-orbd">orbd</primary>
621 </indexterm>
622 </listitem>
623 </varlistentry>
624
625 <varlistentry id="policytool">
626 <term><command>policytool</command></term>
627 <listitem>
628 <para>creates and manages a policy file graphically.</para>
629 <indexterm zone="jdk policytool">
630 <primary sortas="b-policytool">policytool</primary>
631 </indexterm>
632 </listitem>
633 </varlistentry>
634
635 <varlistentry id="rmic">
636 <term><command>rmic</command></term>
637 <listitem>
638 <para>generates stub and skeleton class files for remote objects
639 from the names of compiled <application>Java</application> classes that
640 contain remote object implementations.</para>
641 <indexterm zone="jdk rmic">
642 <primary sortas="b-rmic">rmic</primary>
643 </indexterm>
644 </listitem>
645 </varlistentry>
646
647 <varlistentry id="rmid">
648 <term><command>rmid</command></term>
649 <listitem>
650 <para>starts the activation system daemon.</para>
651 <indexterm zone="jdk rmid">
652 <primary sortas="b-rmid">rmid</primary>
653 </indexterm>
654 </listitem>
655 </varlistentry>
656
657 <varlistentry id="rmiregistry">
658 <term><command>rmiregistry</command></term>
659 <listitem>
660 <para>creates and starts a remote object registry on the specified
661 port on the current host.</para>
662 <indexterm zone="jdk rmiregistry">
663 <primary sortas="b-rmiregistry">rmiregistry</primary>
664 </indexterm>
665 </listitem>
666 </varlistentry>
667
668 <varlistentry id="serialver">
669 <term><command>serialver</command></term>
670 <listitem>
671 <para>returns the serialVersionUID for one or more classes in a
672 form suitable for copying into an evolving class.</para>
673 <indexterm zone="jdk serialver">
674 <primary sortas="b-serialver">serialver</primary>
675 </indexterm>
676 </listitem>
677 </varlistentry>
678
679 <varlistentry id="servertool">
680 <term><command>servertool</command></term>
681 <listitem>
682 <para>provides an ease-of-use interface for application programmers
683 to register, unregister, startup and shutdown a server.</para>
684 <indexterm zone="jdk servertool">
685 <primary sortas="b-servertool">servertool</primary>
686 </indexterm>
687 </listitem>
688 </varlistentry>
689
690 <varlistentry id="tnameserv">
691 <term><command>tnameserv</command></term>
692 <listitem>
693 <para>starts the <application>Java</application> IDL name server.</para>
694 <indexterm zone="jdk tnameserv">
695 <primary sortas="b-tnameserv">tnameserv</primary>
696 </indexterm>
697 </listitem>
698 </varlistentry>
699
700 </variablelist>
701
702 </sect2>
703
704</sect1>
Note: See TracBrowser for help on using the repository browser.