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 "http://java.sun.com/j2se/jrl_download.html">
|
---|
8 | <!ENTITY jdk-download-binary "http://java.sun.com/j2se/1.5.0/download.jsp">
|
---|
9 | <!ENTITY jdk-source-md5sum "http://anduin.linuxfromscratch.org/sources/BLFS/SVN/I-K/jdk/jdk-&jdk-src-version;.md5sums">
|
---|
10 | <!ENTITY jdk-bin-md5sum "562d9797af801bfbe2b5e44417d8ccc4">
|
---|
11 | <!ENTITY jdk-bin-size "45 MB">
|
---|
12 | <!ENTITY jdk-src-size "65.7 MB (three .zip files)">
|
---|
13 | <!ENTITY jdk-src-buildsize "1444 MB">
|
---|
14 | <!ENTITY jdk-time "33.06 SBU">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="jdk" xreflabel="JDK-&jdk-src-version;">
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 | <?dbhtml filename="jdk.html" ?>
|
---|
23 | <title><application>JDK</application>-&jdk-src-version;</title>
|
---|
24 | <indexterm zone="jdk">
|
---|
25 | <primary sortas="a-JDK">JDK</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2>
|
---|
29 | <title>Introduction to
|
---|
30 | <application>JDK</application></title>
|
---|
31 |
|
---|
32 | <para>The <application>JDK</application> package contains
|
---|
33 | Sun's <application>Java</application> development environment. This is useful
|
---|
34 | for developing <application>Java</application> programs and provides the
|
---|
35 | runtime environment necessary to run <application>Java</application> programs.
|
---|
36 | It also includes a plug-in for browsers so that they can be
|
---|
37 | <application>Java</application> aware.</para>
|
---|
38 |
|
---|
39 | <para>The <acronym>JDK</acronym> comes in two flavors, a precompiled binary
|
---|
40 | and a source package. Previously, the plugin included in the
|
---|
41 | <acronym>JDK</acronym> binary package was unusable on <acronym>LFS</acronym>
|
---|
42 | owing to incompatibilities with <acronym>GCC</acronym>-3 compiled browsers.
|
---|
43 | This is not the case anymore.</para>
|
---|
44 |
|
---|
45 | <para>In order to use the source code and patches, you must read and agree
|
---|
46 | to the Sun <ulink url="http://java.sun.com/j2se/1.5.0/jrl_5.0-license.txt">
|
---|
47 | Java Research License</ulink>. In addition, the source code cannot be
|
---|
48 | downloaded from some countries, so for users from those countries, the binary
|
---|
49 | is the only option.</para>
|
---|
50 |
|
---|
51 | <para>If you plan on compiling the <acronym>JDK</acronym> source, you
|
---|
52 | will still need to download the binary version to bootstrap the
|
---|
53 | <acronym>JDK</acronym> build. You will need to download a total of four
|
---|
54 | files to complete the source build:
|
---|
55 | <filename>jdk-1_5_0_02-linux-i586.bin</filename>;
|
---|
56 | <filename>jdk-1_5_0-src-jrl.zip</filename>;
|
---|
57 | <filename>jdk-1_5_0-bin-jrl.zip</filename>;
|
---|
58 | and <filename>jdk-1_5_0-mozilla_headers-unix.zip</filename>.</para>
|
---|
59 |
|
---|
60 | <sect3><title>Package information</title>
|
---|
61 | <itemizedlist spacing='compact'>
|
---|
62 | <listitem><para>Binary download:
|
---|
63 | <ulink url="&jdk-download-binary;"/></para></listitem>
|
---|
64 | <listitem><para>Version used (binary):
|
---|
65 | &jdk-bin-version;</para></listitem>
|
---|
66 | <listitem><para>Download MD5 sum (binary):
|
---|
67 | &jdk-bin-md5sum;</para></listitem>
|
---|
68 | <listitem><para>Source download:
|
---|
69 | <ulink url="&jdk-download-source;"/></para></listitem>
|
---|
70 | <listitem><para>Download MD5 sum (source):
|
---|
71 | <ulink url="&jdk-source-md5sum;"/></para></listitem>
|
---|
72 | <listitem><para>Download size (binary):
|
---|
73 | &jdk-bin-size;</para></listitem>
|
---|
74 | <listitem><para>Download size (source):
|
---|
75 | &jdk-src-size;</para></listitem>
|
---|
76 | <listitem><para>Estimated disk space required:
|
---|
77 | &jdk-src-buildsize;</para></listitem>
|
---|
78 | <listitem><para>Estimated build time:
|
---|
79 | &jdk-time;</para></listitem></itemizedlist>
|
---|
80 | </sect3>
|
---|
81 |
|
---|
82 | <sect3><title>Required Patches</title>
|
---|
83 | <itemizedlist spacing='compact'>
|
---|
84 | <listitem><para><ulink
|
---|
85 | url="&patch-root;/jdk-&jdk-src-version;-gcc_3.4.2+-3.patch"/></para>
|
---|
86 | </listitem>
|
---|
87 | <listitem><para><ulink
|
---|
88 | url="&patch-root;/jdk-&jdk-src-version;-motif_mkmsgcat-1.patch"/></para>
|
---|
89 | </listitem>
|
---|
90 | <listitem><para><ulink
|
---|
91 | url="&patch-root;/jdk-&jdk-src-version;-nptl-1.patch"/></para></listitem>
|
---|
92 | <listitem><para><ulink
|
---|
93 | url="&patch-root;/jdk-&jdk-src-version;-remove_broken_demo-1.patch"/></para>
|
---|
94 | </listitem>
|
---|
95 | <listitem><para><ulink
|
---|
96 | url="&patch-root;/jdk-&jdk-src-version;-remove_fixed_paths-1.patch"/></para>
|
---|
97 | </listitem>
|
---|
98 | </itemizedlist>
|
---|
99 | </sect3>
|
---|
100 |
|
---|
101 | <sect3><title>Recommended Patches</title>
|
---|
102 | <itemizedlist spacing='compact'>
|
---|
103 | <listitem><para><ulink
|
---|
104 | url="&patch-root;/jdk-&jdk-src-version;-remove_debug_image-1.patch"/>
|
---|
105 | (Skips compiling of the <application>JDK</application> debug image)</para>
|
---|
106 | </listitem>
|
---|
107 | <listitem><para><ulink
|
---|
108 | url="&patch-root;/jdk-&jdk-src-version;-static_cxx-1.patch"/>
|
---|
109 | (Forces dynamic linking to gcc libs)</para></listitem>
|
---|
110 | <listitem><para><ulink
|
---|
111 | url="&patch-root;/jdk-&jdk-src-version;-xorg-6.8.1-1.patch"/>
|
---|
112 | (Only required if building agianst <xref linkend="xorg"/>)</para></listitem>
|
---|
113 | </itemizedlist>
|
---|
114 | </sect3>
|
---|
115 |
|
---|
116 |
|
---|
117 | <sect3><title><application>JDK</application> dependencies</title>
|
---|
118 | <sect4><title>Required (to build <application>JDK</application> from
|
---|
119 | source)</title>
|
---|
120 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
121 | <xref linkend="zip"/>,
|
---|
122 | <xref linkend="unzip"/>,
|
---|
123 | <xref linkend="cpio"/>,
|
---|
124 | <xref linkend="alsa"/>, and
|
---|
125 | <xref linkend="tcsh"/></para>
|
---|
126 | </sect4>
|
---|
127 | </sect3>
|
---|
128 |
|
---|
129 | </sect2>
|
---|
130 |
|
---|
131 | <sect2>
|
---|
132 | <title>Installation of <application>JDK</application></title>
|
---|
133 |
|
---|
134 | <para>Both versions will be installed in parallel. You may choose to keep
|
---|
135 | either or both.</para>
|
---|
136 |
|
---|
137 | <para>Install the precompiled <acronym>JDK</acronym> with the
|
---|
138 | following commands:</para>
|
---|
139 |
|
---|
140 | <screen><userinput><command>export VERSION=&jdk-bin-version; &&
|
---|
141 | export MV=`echo $VERSION | cut -d "_" -f 1,1` &&
|
---|
142 | export V=`echo ${VERSION} | sed -e "s/\./_/g"` &&
|
---|
143 | sed -i "s:^PATH=.*::" jdk-${V}-linux-i?86.bin &&
|
---|
144 | chmod +x jdk-${V}-linux-i?86.bin &&
|
---|
145 | mkdir -p bin &&
|
---|
146 | ln -sf /bin/true bin/more &&
|
---|
147 | yes | PATH=$PWD/bin:$PATH ./jdk-${V}-linux-i?86.bin &&
|
---|
148 | cd jdk${VERSION}</command></userinput></screen>
|
---|
149 |
|
---|
150 | <para>Now, as the root user:</para>
|
---|
151 |
|
---|
152 | <screen><userinput role='root'><command>install -d /opt/jdk/jdk-precompiled-${MV} &&
|
---|
153 | mv * /opt/jdk/jdk-precompiled-${MV}
|
---|
154 | chown -R root:root /opt/jdk/jdk-precompiled-${MV}</command></userinput></screen>
|
---|
155 |
|
---|
156 | <para>The binary version is now installed.</para>
|
---|
157 |
|
---|
158 | <para>If you don't want to compile the source or are not in a position to
|
---|
159 | download the source owing to license restrictions, skip ahead to the
|
---|
160 | configuration section.</para>
|
---|
161 |
|
---|
162 | <para>Add the recently installed <acronym>JDK</acronym> to the path.</para>
|
---|
163 |
|
---|
164 | <screen><userinput><command>export JAVA_HOME=/opt/jdk/jdk-precompiled-${MV} &&
|
---|
165 | export PATH=$PATH:${JAVA_HOME}/bin</command></userinput></screen>
|
---|
166 |
|
---|
167 | <para>Unzip the sources:</para>
|
---|
168 |
|
---|
169 | <screen><userinput><command>mkdir jdk-build &&
|
---|
170 | cd jdk-build &&
|
---|
171 | VERSION=&jdk-src-version; &&
|
---|
172 | V=`echo $VERSION | sed -e "s/\./_/g"` &&
|
---|
173 | unzip ../jdk-${V}-src-jrl.zip &&
|
---|
174 | unzip ../jdk-${V}-bin-jrl.zip &&
|
---|
175 | unzip ../jdk-${V}-mozilla_headers-unix.zip</command></userinput></screen>
|
---|
176 |
|
---|
177 | <para>Apply all the patches downloaded above.</para>
|
---|
178 |
|
---|
179 | <screen><userinput><command>for PATCH in ../jdk-&jdk-src-version;*.patch
|
---|
180 | do patch -Np1 -i ${PATCH}
|
---|
181 | done</command></userinput></screen>
|
---|
182 |
|
---|
183 | <para>Set/unset some variables which affect the build:</para>
|
---|
184 |
|
---|
185 | <screen><userinput><command>export ALT_BOOTDIR="$JAVA_HOME" &&
|
---|
186 | unset JAVA_HOME &&
|
---|
187 | unset CLASSPATH
|
---|
188 | unset CFLAGS
|
---|
189 | unset CXXFLAGS
|
---|
190 | unset LDFLAGS
|
---|
191 | export ALT_DEVTOOLS_PATH="/usr/bin" &&
|
---|
192 | export BUILD_NUMBER="blfs-&blfs-version;" &&
|
---|
193 | export DEV_ONLY=true &&
|
---|
194 | export ALT_MOZILLA_PATH=$PWD &&
|
---|
195 | export INSANE=true &&
|
---|
196 | export MAKE_VERBOSE=true &&
|
---|
197 | export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts</command></userinput></screen>
|
---|
198 |
|
---|
199 | <warning><para>Setting CFLAGS/CXXFLAGS/LDFLAGS is guaranteed to make the build
|
---|
200 | fail. If you are interested in optimizing the build, set
|
---|
201 | OTHER_CFLAGS/OTHER_CXXFLAGS/OTHER_LDFLAGS instead.</para></warning>
|
---|
202 |
|
---|
203 | <para>Additionally, if you would like to make in parallel, add the
|
---|
204 | following:</para>
|
---|
205 |
|
---|
206 | <screen><userinput><command>export HOTSPOT_BUILD_JOBS=<replaceable>[3]</replaceable></command></userinput></screen>
|
---|
207 |
|
---|
208 | <para>Build the <application>JDK</application> with the following
|
---|
209 | commands. There will be a lot of messages about missing files that look like
|
---|
210 | errors. These are caused by not meeting the expected build environemnt
|
---|
211 | (Red Hat). As long as the build doesn't stop, the messages
|
---|
212 | are harmless.</para>
|
---|
213 |
|
---|
214 | <screen><userinput><command>cd control/make &&
|
---|
215 | make &&
|
---|
216 | cd ../build/linux-i?86</command></userinput></screen>
|
---|
217 |
|
---|
218 | <para>Now, as the root user, install the <application>JDK</application>:</para>
|
---|
219 |
|
---|
220 | <screen><userinput role='root'><command>cp -a j2sdk-image /opt/jdk/jdk-&jdk-src-version; &&
|
---|
221 | chown -R root:root /opt/jdk/jdk-&jdk-src-version;</command></userinput></screen>
|
---|
222 |
|
---|
223 | <para>Restore the environment using the following commands:</para>
|
---|
224 |
|
---|
225 | <screen><userinput><command>unset VERSION &&
|
---|
226 | unset MV &&
|
---|
227 | unset V &&
|
---|
228 | unset ALT_BOOTDIR &&
|
---|
229 | unset ALT_DEVTOOLS_PATH &&
|
---|
230 | unset BUILD_NUMBER &&
|
---|
231 | unset DEV_ONLY &&
|
---|
232 | unset ALT_MOZILLA_PATH &&
|
---|
233 | unset INSANE &&
|
---|
234 | unset MAKE_VERBOSE &&
|
---|
235 | unset ALT_CACERTS_FILE</command></userinput></screen>
|
---|
236 |
|
---|
237 | </sect2>
|
---|
238 |
|
---|
239 | <sect2>
|
---|
240 | <title>Command explanations</title>
|
---|
241 |
|
---|
242 | <para><command>export ALT_BOOTDIR="$JAVA_HOME"</command>: This var sets
|
---|
243 | the location of the bootstrap <acronym>JDK</acronym>.</para>
|
---|
244 |
|
---|
245 | <para><command>export ALT_MOZILLA_PATH=$PWD</command>: This tells the build
|
---|
246 | where to find the base directory of the plugin path (which contains the
|
---|
247 | <application>Mozilla</application> headers).</para>
|
---|
248 |
|
---|
249 | <para><command>export ALT_DEVTOOLS_PATH="/usr/bin"</command>: This
|
---|
250 | changes the location where the build finds the needed executables.</para>
|
---|
251 |
|
---|
252 | <para><command>export BUILD_NUMBER="blfs-&blfs-version;"</command>:
|
---|
253 | This will help you identify the compiled version of the runtime environment
|
---|
254 | and virtual machine by appending this information to the version
|
---|
255 | string.</para>
|
---|
256 |
|
---|
257 | <para><command>export DEV_ONLY=true</command>: This command
|
---|
258 | skips compiling the documentation and eliminates a dependency on
|
---|
259 | <application>rpm</application>.</para>
|
---|
260 |
|
---|
261 | <para><command>unset JAVA_HOME</command>: This clears the
|
---|
262 | <envar>JAVA_HOME</envar> variable as recommended by the build
|
---|
263 | instructions.</para>
|
---|
264 |
|
---|
265 | <para><command>unset CLASSPATH</command>: This clears the
|
---|
266 | <envar>CLASSPATH</envar> variable as per the recommendations in the build
|
---|
267 | instructions.</para>
|
---|
268 |
|
---|
269 | <para><command>unset CFLAGS/CXXFLAGS...</command>: These variables cause
|
---|
270 | miscompilation of the build. Never set them.</para>
|
---|
271 |
|
---|
272 | <para><command>export INSANE=true</command>: The certified platform for the
|
---|
273 | build is Redhat Enterprise Advanced Server 2.1. This variable ensures that
|
---|
274 | all the errors related to compiling on a non-certified platform will be
|
---|
275 | displayed as warnings instead of errors.</para>
|
---|
276 |
|
---|
277 | <para><command>export MAKE_VERBOSE=true</command>: Allows the compiler
|
---|
278 | commands to be displayed on the console.</para>
|
---|
279 |
|
---|
280 | <para><command>export ALT_CACERTS_FILE...</command>: Specifies the
|
---|
281 | certificate file to use (from the installed binary
|
---|
282 | <application>JDK</application>).</para>
|
---|
283 |
|
---|
284 | </sect2>
|
---|
285 |
|
---|
286 | <sect2>
|
---|
287 | <title>Configuring <application>JDK</application></title>
|
---|
288 |
|
---|
289 | <sect3><title>Configuration Information</title>
|
---|
290 |
|
---|
291 | <para>There are now two Java 2 <acronym>SDK</acronym>'s installed in
|
---|
292 | <filename>/opt/jdk</filename>. You should decide on which one you
|
---|
293 | would like to use as the default. For example if you decide to use the source
|
---|
294 | compiled <application>JDK</application>, do the following:</para>
|
---|
295 |
|
---|
296 | <screen><userinput><command>ln -nsf jdk-&jdk-src-version; /opt/jdk/jdk</command></userinput></screen>
|
---|
297 |
|
---|
298 | <para>Add the following <filename>jdk.sh</filename> shell startup file to
|
---|
299 | the <filename>/etc/profile.d</filename> directory with the following
|
---|
300 | commands:</para>
|
---|
301 |
|
---|
302 | <screen><userinput><command>cat > /etc/profile.d/jdk.sh << "EOF"</command>
|
---|
303 | # Begin /etc/profile.d/jdk.sh
|
---|
304 |
|
---|
305 | # Set JAVA_HOME directory
|
---|
306 | JAVA_HOME=/opt/jdk/jdk
|
---|
307 | export JAVA_HOME
|
---|
308 |
|
---|
309 | # Adjust PATH and MANPATH
|
---|
310 | pathappend ${JAVA_HOME}/bin PATH
|
---|
311 | pathappend ${JAVA_HOME}/man MANPATH
|
---|
312 |
|
---|
313 | # Auto Java Classpath Updating
|
---|
314 | # Create symlinks to this directory for auto classpath setting
|
---|
315 | AUTO_CLASSPATH_DIR=/usr/lib/classpath
|
---|
316 | if [ -z ${CLASSPATH} ]; then
|
---|
317 | CLASSPATH=.:${AUTO_CLASSPATH_DIR}
|
---|
318 | else
|
---|
319 | pathappend . CLASSPATH
|
---|
320 | pathappend ${AUTO_CLASSPATH_DIR} CLASSPATH
|
---|
321 | fi
|
---|
322 |
|
---|
323 | for i in $(ls ${AUTO_CLASSPATH_DIR}/*.jar 2>/dev/null)
|
---|
324 | do pathappend ${i} CLASSPATH
|
---|
325 | done
|
---|
326 |
|
---|
327 | # End /etc/profile.d/jdk.sh
|
---|
328 | <command>EOF</command></userinput></screen>
|
---|
329 |
|
---|
330 | <para>The <application>Java</application> plugin is loacated in
|
---|
331 | <filename class="directory">$JAVA_HOME/jre/plugin/i?86/ns7/</filename>.
|
---|
332 | Make a symbolic link to the file in that directory from your browser
|
---|
333 | plugins directory.</para>
|
---|
334 |
|
---|
335 | <note><para>The plugin must be a symlink for it to work. If not, the browsers
|
---|
336 | just crash when you attempt to load a <application>Java</application>
|
---|
337 | application.</para></note>
|
---|
338 |
|
---|
339 | </sect3>
|
---|
340 |
|
---|
341 | </sect2>
|
---|
342 |
|
---|
343 | <sect2>
|
---|
344 | <title>Contents</title>
|
---|
345 |
|
---|
346 | <segmentedlist>
|
---|
347 | <segtitle>Installed Programs</segtitle>
|
---|
348 | <segtitle>Installed Libraries</segtitle>
|
---|
349 | <segtitle>Installed Directory</segtitle>
|
---|
350 |
|
---|
351 | <seglistitem>
|
---|
352 | <seg>appletviewer, extcheck, idlj, jar, jarsigner, java, javac, javadoc,
|
---|
353 | javah, javap, javaws, jdb, keytool, native2ascii, orbd, policytool, rmic, rmid,
|
---|
354 | rmiregistry, serialver, servertool and tnameserv</seg>
|
---|
355 | <seg><envar>$JAVA_HOME</envar>/lib/*, <envar>$JAVA_HOME</envar>/jre/lib/*
|
---|
356 | and libjavaplugin_oji.so</seg>
|
---|
357 | <seg>/opt/jdk</seg>
|
---|
358 | </seglistitem>
|
---|
359 | </segmentedlist>
|
---|
360 |
|
---|
361 | <variablelist>
|
---|
362 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
363 | <?dbfo list-presentation="list"?>
|
---|
364 |
|
---|
365 | <varlistentry id="appletviewer">
|
---|
366 | <term><command>appletviewer</command></term>
|
---|
367 | <listitem><para>runs <application>Java</application> applets outside of the
|
---|
368 | context of a browser.</para>
|
---|
369 | <indexterm zone="jdk appletviewer">
|
---|
370 | <primary sortas="b-appletviewer">appletviewer</primary>
|
---|
371 | </indexterm></listitem>
|
---|
372 | </varlistentry>
|
---|
373 |
|
---|
374 | <varlistentry id="extcheck">
|
---|
375 | <term><command>extcheck</command></term>
|
---|
376 | <listitem><para>checks a specified <filename>JAR</filename> file for title
|
---|
377 | and version conflicts with any extensions installed in the
|
---|
378 | <acronym>JDK</acronym> software.</para>
|
---|
379 | <indexterm zone="jdk extcheck">
|
---|
380 | <primary sortas="b-extcheck">extcheck</primary>
|
---|
381 | </indexterm></listitem>
|
---|
382 | </varlistentry>
|
---|
383 |
|
---|
384 | <varlistentry id="idlj">
|
---|
385 | <term><command>idlj</command></term>
|
---|
386 | <listitem><para>generates <application>Java</application> bindings from a
|
---|
387 | given <acronym>IDL</acronym> file.</para>
|
---|
388 | <indexterm zone="jdk idlj">
|
---|
389 | <primary sortas="b-idlj">idlj</primary>
|
---|
390 | </indexterm></listitem>
|
---|
391 | </varlistentry>
|
---|
392 |
|
---|
393 | <varlistentry id="jar">
|
---|
394 | <term><command>jar</command></term>
|
---|
395 | <listitem><para>combines multiple files into a single <acronym>JAR</acronym>
|
---|
396 | archive file.</para>
|
---|
397 | <indexterm zone="jdk jar">
|
---|
398 | <primary sortas="b-jar">jar</primary>
|
---|
399 | </indexterm></listitem>
|
---|
400 | </varlistentry>
|
---|
401 |
|
---|
402 | <varlistentry id="jarsigner">
|
---|
403 | <term><command>jarsigner</command></term>
|
---|
404 | <listitem><para>signs <filename>JAR</filename> (Java ARchive) files and
|
---|
405 | verifies the signatures and integrity of a signed
|
---|
406 | <filename>JAR</filename>.</para>
|
---|
407 | <indexterm zone="jdk jarsigner">
|
---|
408 | <primary sortas="b-jarsigner">jarsigner</primary>
|
---|
409 | </indexterm></listitem>
|
---|
410 | </varlistentry>
|
---|
411 |
|
---|
412 | <varlistentry id="java">
|
---|
413 | <term><command>java</command></term>
|
---|
414 | <listitem><para>launches a <application>Java</application> application by
|
---|
415 | starting a <application>Java</application> runtime environment, loading a
|
---|
416 | specified class and invoking its main method.</para>
|
---|
417 | <indexterm zone="jdk java">
|
---|
418 | <primary sortas="b-java">java</primary>
|
---|
419 | </indexterm></listitem>
|
---|
420 | </varlistentry>
|
---|
421 |
|
---|
422 | <varlistentry id="javac">
|
---|
423 | <term><command>javac</command></term>
|
---|
424 | <listitem><para>reads class and interface definitions, written in the
|
---|
425 | <application>Java</application> programming language, and compiles them into
|
---|
426 | bytecode class files.</para>
|
---|
427 | <indexterm zone="jdk javac">
|
---|
428 | <primary sortas="b-javac">javac</primary>
|
---|
429 | </indexterm></listitem>
|
---|
430 | </varlistentry>
|
---|
431 |
|
---|
432 | <varlistentry id="javadoc">
|
---|
433 | <term><command>javadoc</command></term>
|
---|
434 | <listitem><para>parses the declarations and documentation comments in a set of
|
---|
435 | <application>Java</application> source files and produces a corresponding set
|
---|
436 | of <acronym>HTML</acronym> pages describing the classes, interfaces,
|
---|
437 | constructors, methods, and fields.</para>
|
---|
438 | <indexterm zone="jdk javadoc">
|
---|
439 | <primary sortas="b-javadoc">javadoc</primary>
|
---|
440 | </indexterm></listitem>
|
---|
441 | </varlistentry>
|
---|
442 |
|
---|
443 | <varlistentry id="javah">
|
---|
444 | <term><command>javah</command></term>
|
---|
445 | <listitem><para>generates <application>C</application> header and source files
|
---|
446 | that are needed to implement native methods.</para>
|
---|
447 | <indexterm zone="jdk javah">
|
---|
448 | <primary sortas="b-javah">javah</primary>
|
---|
449 | </indexterm></listitem>
|
---|
450 | </varlistentry>
|
---|
451 |
|
---|
452 | <varlistentry id="javap">
|
---|
453 | <term><command>javap</command></term>
|
---|
454 | <listitem><para>disassembles a <application>Java</application> class
|
---|
455 | file.</para>
|
---|
456 | <indexterm zone="jdk javap">
|
---|
457 | <primary sortas="b-javap">javap</primary>
|
---|
458 | </indexterm></listitem>
|
---|
459 | </varlistentry>
|
---|
460 |
|
---|
461 | <varlistentry id="javaws">
|
---|
462 | <term><command>javaws</command></term>
|
---|
463 | <listitem><para>launches java application/applets hosted on a network.</para>
|
---|
464 | <indexterm zone="jdk javaws">
|
---|
465 | <primary sortas="b-javaws">javaws</primary>
|
---|
466 | </indexterm></listitem>
|
---|
467 | </varlistentry>
|
---|
468 |
|
---|
469 | <varlistentry id="jdb">
|
---|
470 | <term><command>jdb</command></term>
|
---|
471 | <listitem><para>is a simple command-line debugger for
|
---|
472 | <application>Java</application> classes.</para>
|
---|
473 | <indexterm zone="jdk jdb">
|
---|
474 | <primary sortas="b-jdb">jdb</primary>
|
---|
475 | </indexterm></listitem>
|
---|
476 | </varlistentry>
|
---|
477 |
|
---|
478 | <varlistentry id="keytool">
|
---|
479 | <term><command>keytool</command></term>
|
---|
480 | <listitem><para>is a key and certificate management utility.</para>
|
---|
481 | <indexterm zone="jdk keytool">
|
---|
482 | <primary sortas="b-keytool">keytool</primary>
|
---|
483 | </indexterm></listitem>
|
---|
484 | </varlistentry>
|
---|
485 |
|
---|
486 | <varlistentry id="native2ascii">
|
---|
487 | <term><command>native2ascii</command></term>
|
---|
488 | <listitem><para> converts files that contain non-supported character encoding
|
---|
489 | into files containing Latin-1 or Unicode-encoded characters.</para>
|
---|
490 | <indexterm zone="jdk native2ascii">
|
---|
491 | <primary sortas="b-native2ascii">native2ascii</primary>
|
---|
492 | </indexterm></listitem>
|
---|
493 | </varlistentry>
|
---|
494 |
|
---|
495 | <varlistentry id="orbd">
|
---|
496 | <term><command>orbd</command></term>
|
---|
497 | <listitem><para>is used to enable clients to transparently locate and invoke
|
---|
498 | persistent objects on servers in the <acronym>CORBA</acronym>
|
---|
499 | environment.</para>
|
---|
500 | <indexterm zone="jdk orbd">
|
---|
501 | <primary sortas="b-orbd">orbd</primary>
|
---|
502 | </indexterm></listitem>
|
---|
503 | </varlistentry>
|
---|
504 |
|
---|
505 | <varlistentry id="policytool">
|
---|
506 | <term><command>policytool</command></term>
|
---|
507 | <listitem><para>creates and manages a policy file graphically.</para>
|
---|
508 | <indexterm zone="jdk policytool">
|
---|
509 | <primary sortas="b-policytool">policytool</primary>
|
---|
510 | </indexterm></listitem>
|
---|
511 | </varlistentry>
|
---|
512 |
|
---|
513 | <varlistentry id="rmic">
|
---|
514 | <term><command>rmic</command></term>
|
---|
515 | <listitem><para>generates stub and skeleton class files for remote objects
|
---|
516 | from the names of compiled <application>Java</application> classes that
|
---|
517 | contain remote object implementations.</para>
|
---|
518 | <indexterm zone="jdk rmic">
|
---|
519 | <primary sortas="b-rmic">rmic</primary>
|
---|
520 | </indexterm></listitem>
|
---|
521 | </varlistentry>
|
---|
522 |
|
---|
523 | <varlistentry id="rmid">
|
---|
524 | <term><command>rmid</command></term>
|
---|
525 | <listitem><para>starts the activation system daemon.</para>
|
---|
526 | <indexterm zone="jdk rmid">
|
---|
527 | <primary sortas="b-rmid">rmid</primary>
|
---|
528 | </indexterm></listitem>
|
---|
529 | </varlistentry>
|
---|
530 |
|
---|
531 | <varlistentry id="rmiregistry">
|
---|
532 | <term><command>rmiregistry</command></term>
|
---|
533 | <listitem><para>creates and starts a remote object registry on the specified
|
---|
534 | port on the current host.</para>
|
---|
535 | <indexterm zone="jdk rmiregistry">
|
---|
536 | <primary sortas="b-rmiregistry">rmiregistry</primary>
|
---|
537 | </indexterm></listitem>
|
---|
538 | </varlistentry>
|
---|
539 |
|
---|
540 | <varlistentry id="serialver">
|
---|
541 | <term><command>serialver</command></term>
|
---|
542 | <listitem><para>returns the serialVersionUID for one or more classes in a
|
---|
543 | form suitable for copying into an evolving class.</para>
|
---|
544 | <indexterm zone="jdk serialver">
|
---|
545 | <primary sortas="b-serialver">serialver</primary>
|
---|
546 | </indexterm></listitem>
|
---|
547 | </varlistentry>
|
---|
548 |
|
---|
549 | <varlistentry id="servertool">
|
---|
550 | <term><command>servertool</command></term>
|
---|
551 | <listitem><para>provides an ease-of-use interface for application programmers
|
---|
552 | to register, unregister, startup and shutdown a server.</para>
|
---|
553 | <indexterm zone="jdk servertool">
|
---|
554 | <primary sortas="b-servertool">servertool</primary>
|
---|
555 | </indexterm></listitem>
|
---|
556 | </varlistentry>
|
---|
557 |
|
---|
558 | <varlistentry id="tnameserv">
|
---|
559 | <term><command>tnameserv</command></term>
|
---|
560 | <listitem><para>starts the <application>Java</application>
|
---|
561 | <acronym>IDL</acronym> name server.</para>
|
---|
562 | <indexterm zone="jdk tnameserv">
|
---|
563 | <primary sortas="b-tnameserv">tnameserv</primary>
|
---|
564 | </indexterm></listitem>
|
---|
565 | </varlistentry>
|
---|
566 | </variablelist>
|
---|
567 |
|
---|
568 | </sect2>
|
---|
569 |
|
---|
570 | </sect1>
|
---|
571 |
|
---|