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