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 ojdk-upd "121">
|
---|
8 | <!ENTITY ojdk-bd "b13">
|
---|
9 | <!ENTITY ojdk-tarball "jdk8u&ojdk-upd;-&ojdk-bd;.tar.bz2">
|
---|
10 | <!ENTITY ojdk-repo "http://hg.openjdk.java.net/jdk8u/jdk8u">
|
---|
11 | <!ENTITY ojdk-download "&ojdk-repo;/archive/&ojdk-tarball;">
|
---|
12 |
|
---|
13 | <!ENTITY anduin-download "&sources-anduin-http;/OpenJDK/OpenJDK-&openjdk-version;">
|
---|
14 |
|
---|
15 | <!ENTITY ojdk-md5sum "5f3def798fa3a0b2c60ae891856dc9c5">
|
---|
16 | <!ENTITY ojdk-size "401 KB">
|
---|
17 |
|
---|
18 | <!ENTITY corba-md5sum "9c052259b93646687fdcfb71643b69b4">
|
---|
19 | <!ENTITY hotspot-md5sum "0ca6e85dcbd96dfa24ac1bdd833aab2e">
|
---|
20 | <!ENTITY jaxp-md5sum "c2b5c1947c4aef684b27a463e4149d06">
|
---|
21 | <!ENTITY jaxws-md5sum "5a83842eca3881c7bf6abeaccac8f05d">
|
---|
22 | <!ENTITY jdk-md5sum "0325b88a2b39d7d72ef0726e91ea4a1d">
|
---|
23 | <!ENTITY langtools-md5sum "4dbe002af94423cbe382dda03e3e6a9d">
|
---|
24 | <!ENTITY nashorn-md5sum "c87f96bc7ba9596fb5587e307a8f1ec6">
|
---|
25 | <!ENTITY total-download-size "63 MB">
|
---|
26 |
|
---|
27 | <!ENTITY jtreg-version "4.2-b05-747">
|
---|
28 | <!ENTITY jtreg-download "&anduin-download;/jtreg-&jtreg-version;.tar.gz">
|
---|
29 | <!ENTITY jtreg-md5sum "560d275d055112487ea879c44a985b30">
|
---|
30 | <!ENTITY jtreg-size "7.2 MB">
|
---|
31 |
|
---|
32 | <!ENTITY icedtea-web-download "http://icedtea.classpath.org/download/source/icedtea-web-&icedtea-web-version;.tar.gz">
|
---|
33 |
|
---|
34 | <!ENTITY ojdk-buildsize "3.5 GB (additional 420 MB for tests)">
|
---|
35 | <!ENTITY ojdk-time "5 SBU with 4 jobs in parallel (up to 120 SBU for tests, see below)">
|
---|
36 | ]>
|
---|
37 |
|
---|
38 | <sect1 id="openjdk"
|
---|
39 | xreflabel="OpenJDK-&openjdk-version;">
|
---|
40 | <?dbhtml filename="openjdk.html" ?>
|
---|
41 |
|
---|
42 | <sect1info>
|
---|
43 | <othername>$LastChangedBy$</othername>
|
---|
44 | <date>$Date$</date>
|
---|
45 | </sect1info>
|
---|
46 |
|
---|
47 | <title>OpenJDK-&openjdk-version;</title>
|
---|
48 |
|
---|
49 | <indexterm zone="openjdk">
|
---|
50 | <primary sortas="a-OpenJDK">OpenJDK</primary>
|
---|
51 | </indexterm>
|
---|
52 |
|
---|
53 | <sect2 role="package">
|
---|
54 | <title>Introduction to OpenJDK</title>
|
---|
55 |
|
---|
56 | <para>
|
---|
57 | <application>OpenJDK</application> is an open-source implementation
|
---|
58 | of Oracle's Java Standard Edition platform.
|
---|
59 | <application>OpenJDK</application> is useful for developing
|
---|
60 | <application>Java</application> programs, and provides a complete
|
---|
61 | runtime environment to run <application>Java</application> programs.
|
---|
62 | </para>
|
---|
63 |
|
---|
64 | &lfs80_checked;
|
---|
65 |
|
---|
66 | <note>
|
---|
67 | <para>
|
---|
68 | A browser plugin and webstart implementation is provided by the
|
---|
69 | Icedtea project. To provide a complete implementation, you will
|
---|
70 | need to later install <xref linkend="icedtea-web"/>.
|
---|
71 | </para>
|
---|
72 | </note>
|
---|
73 |
|
---|
74 | <para>
|
---|
75 | OpenJDK is GPL'd code, with a special exception made for non-free
|
---|
76 | projects to use these classes in their proprietary products.
|
---|
77 | In similar fashion to the LGPL, which allows non-free programs to link
|
---|
78 | to libraries provided by free software, the
|
---|
79 | <ulink url="http://openjdk.java.net/legal/gplv2+ce.html">GNU
|
---|
80 | General Public License, version 2, with the Classpath Exception</ulink>
|
---|
81 | allows third party programs to use classes provided by free software
|
---|
82 | without the requirement that the third party software also be free. As
|
---|
83 | with the LGPL, any modifications made to the free software portions of a
|
---|
84 | third party application, must also be made freely available.
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | <note>
|
---|
88 | <para>
|
---|
89 | The <application>OpenJDK</application> source includes a very
|
---|
90 | thorough, open source test suite using the
|
---|
91 | <application>JTreg</application> test harness. The testing instructions
|
---|
92 | below allow to test the just built JDK for reasonable compatibility
|
---|
93 | with the proprietary Oracle JDK. However, in order for an independent
|
---|
94 | implementation to claim compatibility, it must pass a proprietary
|
---|
95 | <application>JCK/TCK</application> test suite. No claims of
|
---|
96 | compatibility, even partial compatibility, may be made without passing
|
---|
97 | an approved test suite.
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | Oracle does provide free community access, on a case by case basis, to
|
---|
102 | a closed toolkit to ensure 100% compatibility with its proprietary JDK.
|
---|
103 | Neither the binary version provided on the <xref linkend="java"/> page
|
---|
104 | nor the JVM built with the instructions below have been tested against
|
---|
105 | the <ulink
|
---|
106 | url="http://openjdk.java.net/groups/conformance/JckAccess/jck-access.html">
|
---|
107 | TCK</ulink>. Any version that is built using the instructions given,
|
---|
108 | cannot claim to be compatible with the proprietary JDK, without the
|
---|
109 | user applying for, and completing the compatibility tests themselves.
|
---|
110 | </para>
|
---|
111 |
|
---|
112 | <para>
|
---|
113 | With that in mind, the binaries produced using this build method are
|
---|
114 | regularly tested against the TCK by the members listed on the site
|
---|
115 | above. In addition to the community license above, an educational,
|
---|
116 | non-commercial license for the TCK can be obtained from <ulink
|
---|
117 | url="http://www.oracle.com/technetwork/java/index-137188.html">
|
---|
118 | here</ulink>.
|
---|
119 | </para>
|
---|
120 | </note>
|
---|
121 |
|
---|
122 | <bridgehead renderas="sect3">Source Package Information</bridgehead>
|
---|
123 | <itemizedlist spacing="compact">
|
---|
124 | <listitem>
|
---|
125 | <para>OpenJDK Root Package
|
---|
126 | <simplelist>
|
---|
127 | <member>Download: <ulink url="&ojdk-download;"/></member>
|
---|
128 | <member>Download MD5 sum: &ojdk-md5sum;</member>
|
---|
129 | <member>Download Size: &ojdk-size;</member>
|
---|
130 | </simplelist>
|
---|
131 | </para>
|
---|
132 | </listitem>
|
---|
133 | <listitem>
|
---|
134 | <para>
|
---|
135 | In addition to the root package, the instructions below first
|
---|
136 | download seven subproject tarballs,
|
---|
137 | whose total size is &total-download-size;.
|
---|
138 | </para>
|
---|
139 | </listitem>
|
---|
140 | <listitem>
|
---|
141 | <para>Estimated disk space required: &ojdk-buildsize;</para>
|
---|
142 | </listitem>
|
---|
143 | <listitem>
|
---|
144 | <para>Estimated build time: &ojdk-time;</para>
|
---|
145 | </listitem>
|
---|
146 | </itemizedlist>
|
---|
147 |
|
---|
148 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
149 |
|
---|
150 | <itemizedlist spacing='compact'>
|
---|
151 | <listitem>
|
---|
152 | <para>Optional test harness
|
---|
153 | <simplelist>
|
---|
154 | <member>Download: <ulink url="&jtreg-download;"/></member>
|
---|
155 | <member>Download MD5 sum: &jtreg-md5sum;</member>
|
---|
156 | <member>Download Size: &jtreg-size;</member>
|
---|
157 | </simplelist>
|
---|
158 | </para>
|
---|
159 | </listitem>
|
---|
160 | <listitem>
|
---|
161 | <para>
|
---|
162 | Optional package (to get an icon for the
|
---|
163 | <filename>openjdk-8-policytool.desktop</filename> file):
|
---|
164 | <ulink url="&icedtea-web-download;"/>
|
---|
165 | </para>
|
---|
166 | </listitem>
|
---|
167 | </itemizedlist>
|
---|
168 |
|
---|
169 | <bridgehead renderas="sect3">OpenJDK Dependencies</bridgehead>
|
---|
170 |
|
---|
171 | <bridgehead renderas="sect4">Required Dependencies</bridgehead>
|
---|
172 | <para role="required">
|
---|
173 | An existing binary (<xref linkend="java"/> or an earlier built
|
---|
174 | version of this package. The instructions below assume that
|
---|
175 | you are using <xref linkend="ojdk-conf"/>),
|
---|
176 | <xref linkend="alsa-lib"/>,
|
---|
177 | <xref linkend="cpio"/>,
|
---|
178 | <xref linkend="cups"/>,
|
---|
179 | <xref linkend="unzip"/>,
|
---|
180 | <xref linkend="which"/>,
|
---|
181 | <xref linkend="xorg7-lib"/>, and
|
---|
182 | <xref linkend="zip"/>
|
---|
183 | </para>
|
---|
184 |
|
---|
185 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
186 | <para role="recommended">
|
---|
187 | <xref linkend="cacerts"/>,
|
---|
188 | <xref linkend="giflib"/>, and
|
---|
189 | <xref linkend="wget"/>
|
---|
190 | </para>
|
---|
191 |
|
---|
192 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
193 | <para role="optional">
|
---|
194 | <xref linkend="mercurial"/> and
|
---|
195 | an X Window manager such as <xref linkend="twm"/> (for the tests)
|
---|
196 | </para>
|
---|
197 |
|
---|
198 | <para condition="html" role="usernotes">User Notes:
|
---|
199 | <ulink url="&blfs-wiki;/openjdk"/></para>
|
---|
200 |
|
---|
201 | </sect2>
|
---|
202 |
|
---|
203 | <sect2 role="installation">
|
---|
204 | <title>Installation of OpenJDK</title>
|
---|
205 |
|
---|
206 | <para>
|
---|
207 | Unlike other packages in BLFS, the <application>OpenJDK</application>
|
---|
208 | source packages are distributed in multiple tar balls. You need to first
|
---|
209 | extract the source root from <filename>&ojdk-tarball;</filename>, change
|
---|
210 | into the extracted directory, then proceed with the following
|
---|
211 | instructions:
|
---|
212 | </para>
|
---|
213 |
|
---|
214 | <screen><userinput>cat > subprojects.md5 << EOF &&
|
---|
215 | &corba-md5sum; corba.tar.bz2
|
---|
216 | &hotspot-md5sum; hotspot.tar.bz2
|
---|
217 | &jaxp-md5sum; jaxp.tar.bz2
|
---|
218 | &jaxws-md5sum; jaxws.tar.bz2
|
---|
219 | &langtools-md5sum; langtools.tar.bz2
|
---|
220 | &jdk-md5sum; jdk.tar.bz2
|
---|
221 | &nashorn-md5sum; nashorn.tar.bz2
|
---|
222 | EOF
|
---|
223 |
|
---|
224 | for subproject in corba hotspot jaxp jaxws langtools jdk nashorn; do
|
---|
225 | wget -c &ojdk-repo;/${subproject}/archive/&ojdk-tarball; \
|
---|
226 | -O ${subproject}.tar.bz2
|
---|
227 | done &&
|
---|
228 |
|
---|
229 | md5sum -c subprojects.md5 &&
|
---|
230 |
|
---|
231 | for subproject in corba hotspot jaxp jaxws langtools jdk nashorn; do
|
---|
232 | mkdir -pv ${subproject} &&
|
---|
233 | tar -xf ${subproject}.tar.bz2 --strip-components=1 -C ${subproject}
|
---|
234 | done</userinput></screen>
|
---|
235 |
|
---|
236 | <para>
|
---|
237 | If you have downloaded the optional test harness, unpack it too:
|
---|
238 | </para>
|
---|
239 |
|
---|
240 | <screen><userinput>tar -xf ../jtreg-&jtreg-version;.tar.gz</userinput></screen>
|
---|
241 |
|
---|
242 | <!--TODO: it might be better to add instructions for the cacerts file at
|
---|
243 | this place and to use the switch "with-cacerts-file" -->
|
---|
244 |
|
---|
245 | <note>
|
---|
246 | <para>
|
---|
247 | Before proceeding, you should ensure that your environment
|
---|
248 | <envar>PATH</envar> variable contains the location of the Java
|
---|
249 | compilers used for bootstrapping <application>OpenJDK</application>.
|
---|
250 | This is the only requirement for the environment. Modern Java
|
---|
251 | installations do not need <envar>JAVA_HOME</envar> and
|
---|
252 | <envar>CLASSPATH</envar> is not used here. Furthermore, OpenJDK
|
---|
253 | developers recommend to unset <envar>JAVA_HOME</envar>.
|
---|
254 | </para>
|
---|
255 |
|
---|
256 | <para>
|
---|
257 | The build system does not support the <option>-j</option> switch in
|
---|
258 | <envar>MAKEFLAGS</envar>.
|
---|
259 | </para>
|
---|
260 | </note>
|
---|
261 |
|
---|
262 | <para>
|
---|
263 | Configure and build the package with the following commands
|
---|
264 | (--with-milestone value can be modified to fit user preferences):
|
---|
265 | </para>
|
---|
266 |
|
---|
267 | <screen><userinput>unset JAVA_HOME &&
|
---|
268 | sh ./configure \
|
---|
269 | --with-update-version=&ojdk-upd; \
|
---|
270 | --with-build-number=&ojdk-bd; \
|
---|
271 | --with-milestone=BLFS \
|
---|
272 | --enable-unlimited-crypto \
|
---|
273 | --with-zlib=system \
|
---|
274 | --with-giflib=system \
|
---|
275 | --with-extra-cflags="-std=c++98 -Wno-error -fno-delete-null-pointer-checks -fno-lifetime-dse" \
|
---|
276 | --with-extra-cxxflags="-std=c++98 -fno-delete-null-pointer-checks -fno-lifetime-dse" &&
|
---|
277 | make DEBUG_BINARIES=true SCTP_WERROR= all &&
|
---|
278 | find build/*/images/j2sdk-image -iname \*.diz -delete
|
---|
279 | </userinput></screen>
|
---|
280 |
|
---|
281 | <note>
|
---|
282 | <para>
|
---|
283 | Testing will involve the interplay of pairs of JVMs using the
|
---|
284 | networking interface, so networking must be started. If it
|
---|
285 | isn't, not only will these tests fail, but the test cleanup
|
---|
286 | will leave orphaned JVMs running. There will be many of
|
---|
287 | them. Rebooting may be the easiest recovery.
|
---|
288 | </para>
|
---|
289 | </note>
|
---|
290 |
|
---|
291 | <para>
|
---|
292 | Testing the newly built JVM involves several steps.
|
---|
293 | First, it is better to run the test suite in a frame buffer on a
|
---|
294 | different display, using Xvfb:
|
---|
295 | </para>
|
---|
296 |
|
---|
297 | <!-- Careful with the && below:
|
---|
298 | "export DISPLAY=... && somecommand &" exports only DISPLAY to "somecommand"
|
---|
299 | but not to the current environment, and
|
---|
300 | "echo $! .... &&" does not echo the right PID. So all && suppressed.-->
|
---|
301 | <screen role='nodump'><userinput>if [ -n "$DISPLAY" ]; then
|
---|
302 | OLD_DISP=$DISPLAY
|
---|
303 | fi
|
---|
304 | export DISPLAY=:20
|
---|
305 | nohup Xvfb $DISPLAY \
|
---|
306 | -fbdir $(pwd) \
|
---|
307 | -pixdepths 8 16 24 32 > Xvfb.out 2>&1 &
|
---|
308 | echo $! > Xvfb.pid
|
---|
309 | echo Waiting for Xvfb to initialize; sleep 1
|
---|
310 | nohup twm -display $DISPLAY \
|
---|
311 | -f /dev/null > twm.out 2>&1 &
|
---|
312 | echo $! > twm.pid
|
---|
313 | echo Waiting for twm to initialize; sleep 1
|
---|
314 | xhost +</userinput></screen>
|
---|
315 |
|
---|
316 | <para>
|
---|
317 | Then, it is necessary to modify some files:
|
---|
318 | </para>
|
---|
319 |
|
---|
320 | <screen role='nodump'><userinput>echo -e "
|
---|
321 | jdk_all = :jdk_core \\
|
---|
322 | :jdk_svc \\
|
---|
323 | :jdk_beans \\
|
---|
324 | :jdk_imageio \\
|
---|
325 | :jdk_sound \\
|
---|
326 | :jdk_sctp \\
|
---|
327 | com/sun/awt \\
|
---|
328 | javax/accessibility \\
|
---|
329 | javax/print \\
|
---|
330 | sun/pisces \\
|
---|
331 | com/sun/java/swing" >> jdk/test/TEST.groups &&
|
---|
332 | sed -e 's/all:.*jck.*/all: jtreg/' \
|
---|
333 | -e '/^JTREG /s@\$(JT_PLATFORM)/@@' \
|
---|
334 | -i langtools/test/Makefile</userinput></screen>
|
---|
335 |
|
---|
336 | <para>
|
---|
337 | Some variables have to be set:
|
---|
338 | </para>
|
---|
339 |
|
---|
340 | <screen role='nodump'><userinput>JT_JAVA=$(type -p javac | sed 's@/bin.*@@') &&
|
---|
341 | JT_HOME=$(pwd)/jtreg &&
|
---|
342 | PRODUCT_HOME=$(echo $(pwd)/build/*/images/j2sdk-image)</userinput></screen>
|
---|
343 |
|
---|
344 | <para>
|
---|
345 | The tests are run as follows:
|
---|
346 | </para>
|
---|
347 |
|
---|
348 | <!-- no && here either, because the first "make" may return an error -->
|
---|
349 | <screen role='nodump'><userinput>LANG=C make -k -C test \
|
---|
350 | JT_HOME=${JT_HOME} \
|
---|
351 | JT_JAVA=${JT_JAVA} \
|
---|
352 | PRODUCT_HOME=${PRODUCT_HOME} all
|
---|
353 | LANG=C ${JT_HOME}/bin/jtreg -a -v:fail,error \
|
---|
354 | -dir:$(pwd)/hotspot/test \
|
---|
355 | -k:\!ignore \
|
---|
356 | -jdk:${PRODUCT_HOME} \
|
---|
357 | :jdk</userinput></screen>
|
---|
358 |
|
---|
359 | <para>
|
---|
360 | Tests duration depends on various factors such as the network speed
|
---|
361 | and the number of concurrent VM, which is computed from the number
|
---|
362 | of cores and threads, and the amount of RAM installed. A maximum of
|
---|
363 | 120 SBU has been observed, but it may be as <quote>low</quote> as 80 SBU.
|
---|
364 | </para>
|
---|
365 |
|
---|
366 | <para>
|
---|
367 | The test results can be compared to <ulink
|
---|
368 | url="http://download.java.net/openjdk/testresults/8/">these
|
---|
369 | results</ulink>, although they usually are run on a newer version. Some
|
---|
370 | failures can be expected, the number of which depends on various
|
---|
371 | conditions, like whether the computer is connected to network. Also, some
|
---|
372 | tests may timeout if the machine is under load. Those are the reasons for
|
---|
373 | considering the tests optional, although we would rather recommend them.
|
---|
374 | </para>
|
---|
375 |
|
---|
376 | <para>
|
---|
377 | Next some cleanup has to be done. The instructions below only stop the
|
---|
378 | frame buffer, but it has been reported that some java VM may be left
|
---|
379 | running after the tests, so it is necessary to check orphaned processes:
|
---|
380 | </para>
|
---|
381 |
|
---|
382 | <screen role='nodump'><userinput>kill -9 `cat twm.pid` &&
|
---|
383 | kill -9 `cat Xvfb.pid` &&
|
---|
384 | rm -f Xvfb.out twm.out &&
|
---|
385 | rm -f Xvfb.pid twm.pid &&
|
---|
386 | if [ -n "$OLD_DISP" ]; then
|
---|
387 | DISPLAY=$OLD_DISP
|
---|
388 | fi</userinput></screen>
|
---|
389 |
|
---|
390 | <para>Install the package with the following commands as the
|
---|
391 | <systemitem class="username">root</systemitem> user:</para>
|
---|
392 |
|
---|
393 | <screen role="root"><userinput>cp -RT build/*/images/j2sdk-image /opt/OpenJDK-&openjdk-version; &&
|
---|
394 | chown -R root:root /opt/OpenJDK-&openjdk-version;</userinput></screen>
|
---|
395 |
|
---|
396 | <para>
|
---|
397 | There are now two <application>OpenJDK</application> SDKs installed
|
---|
398 | in <filename class="directory">/opt</filename>. You should decide on
|
---|
399 | which one you would like to use as the default. Normally, you would opt
|
---|
400 | for the just installed <application>OpenJDK</application>. If so, do
|
---|
401 | the following as the <systemitem class="username">root</systemitem>
|
---|
402 | user:
|
---|
403 | </para>
|
---|
404 |
|
---|
405 | <screen role="root"><userinput>ln -v -nsf OpenJDK-&openjdk-version; /opt/jdk</userinput></screen>
|
---|
406 |
|
---|
407 | <para>If desired, you may install a .desktop file corresponding to an entry
|
---|
408 | in a desktop menu for <command>policytool</command>. First, you need to
|
---|
409 | obtain an icon from <xref linkend="icedtea-web"/>:</para>
|
---|
410 |
|
---|
411 | <screen><userinput>tar -xf ../icedtea-web-&icedtea-web-version;.tar.gz \
|
---|
412 | icedtea-web-&icedtea-web-version;/javaws.png \
|
---|
413 | --strip-components=1</userinput></screen>
|
---|
414 |
|
---|
415 | <para>Now, as <systemitem class="username">root</systemitem> user:</para>
|
---|
416 |
|
---|
417 | <screen role="root"><userinput>mkdir -pv /usr/share/applications &&
|
---|
418 |
|
---|
419 | cat > /usr/share/applications/openjdk-8-policytool.desktop << "EOF" &&
|
---|
420 | <literal>[Desktop Entry]
|
---|
421 | Name=OpenJDK Java Policy Tool
|
---|
422 | Name[pt_BR]=OpenJDK Java - Ferramenta de Política
|
---|
423 | Comment=OpenJDK Java Policy Tool
|
---|
424 | Comment[pt_BR]=OpenJDK Java - Ferramenta de Política
|
---|
425 | Exec=/opt/jdk/bin/policytool
|
---|
426 | Terminal=false
|
---|
427 | Type=Application
|
---|
428 | Icon=javaws
|
---|
429 | Categories=Settings;</literal>
|
---|
430 | EOF
|
---|
431 |
|
---|
432 | install -v -Dm0644 javaws.png /usr/share/pixmaps/javaws.png</userinput></screen>
|
---|
433 |
|
---|
434 | <para>The choice of pt_BR is just an example. You can add any translation
|
---|
435 | by adding lines corresponding to your locale, e.g. for fr_FR,
|
---|
436 | <quote>Name[fr_FR]=</quote> and <quote>Comment[fr_FR]=</quote> with the
|
---|
437 | appropriate text as values.</para>
|
---|
438 |
|
---|
439 | </sect2>
|
---|
440 |
|
---|
441 | <sect2 role="commands">
|
---|
442 | <title>Command Explanations</title>
|
---|
443 |
|
---|
444 | <para>
|
---|
445 | <command>sh configure...</command>: the top level
|
---|
446 | <filename>configure</filename> is a wrapper around the autotools one.
|
---|
447 | It is not executable and must be run through <command>sh</command>.
|
---|
448 | </para>
|
---|
449 |
|
---|
450 | <para>
|
---|
451 | <option>--with-boot-jdk</option>: This switch provides the
|
---|
452 | location of the temporary <application>JDK</application>. It is normally
|
---|
453 | not needed if <command>java</command> is found in the <envar>PATH</envar>.
|
---|
454 | </para>
|
---|
455 |
|
---|
456 | <para>
|
---|
457 | <parameter>--with-update-version</parameter>: Currently, the build
|
---|
458 | system does not include the update number in the version string. It has
|
---|
459 | to be specified here.
|
---|
460 | </para>
|
---|
461 |
|
---|
462 | <para>
|
---|
463 | <parameter>--with-build-number</parameter>: Again, the build
|
---|
464 | system does not include the build number in the version string. It has
|
---|
465 | to be specified here too.
|
---|
466 | </para>
|
---|
467 |
|
---|
468 | <para>
|
---|
469 | <parameter>--with-milestone</parameter>: Used to customize the
|
---|
470 | version string.
|
---|
471 | </para>
|
---|
472 |
|
---|
473 | <para>
|
---|
474 | <parameter>--enable-unlimited-crypto</parameter>: Because of limitations
|
---|
475 | on the usage of cryptography in some countries, there is the possibility
|
---|
476 | to limit the size of encryption keys and the use of some algorithms in a
|
---|
477 | policy file. This switch allows to ship a policy file with no
|
---|
478 | restriction. It is the responsibility of the user to ensure proper
|
---|
479 | adherence to the law.
|
---|
480 | </para>
|
---|
481 |
|
---|
482 | <para>
|
---|
483 | <parameter>--with-zlib=system, --with-giflib=system</parameter>: Allows
|
---|
484 | to use the system libraries instead of the bundled ones.
|
---|
485 | </para>
|
---|
486 |
|
---|
487 | <para>
|
---|
488 | <parameter>--with-extra-cflags=... --with-extra-cxxflags=...</parameter>:
|
---|
489 | Works around some defects in the code brought to light by the GCC 6
|
---|
490 | more rigorous checking of the C/C++ constructs. Remove those switches
|
---|
491 | if compiling with GCC 5.
|
---|
492 | </para>
|
---|
493 |
|
---|
494 | <para>
|
---|
495 | <option>--with-jobs=N</option>: Allows setting the number
|
---|
496 | of jobs for <command>make</command> equal to N. The default is the
|
---|
497 | result of a calculation involving the available memory and the number
|
---|
498 | of processors. Note that even if you specify N=1, some parallelization
|
---|
499 | may be used during the build. The SBU given above are with N=4, on
|
---|
500 | a single processor, 4-core, virtual machine, with 4 GB of memory.
|
---|
501 | </para>
|
---|
502 |
|
---|
503 | <para>
|
---|
504 | <option>--with-cacerts-file=...</option>: Specifies where to find a
|
---|
505 | <filename>cacerts</filename> file, typically <filename>
|
---|
506 | /opt/jdk/jre/lib/security</filename>. Otherwise, an empty one is created.
|
---|
507 | You can get it from an earlier version of the package, or use the
|
---|
508 | script below to generate one.
|
---|
509 | </para>
|
---|
510 |
|
---|
511 | <para>
|
---|
512 | <command>make DEBUG_BINARIES=true SCTP_WERROR= all</command>: The build
|
---|
513 | fails on 32 bit machines if DEBUG_BINARIES is not set to true. Unsetting
|
---|
514 | SCTP_WERROR is part of the workarounds needed to use GCC 6. You may omit
|
---|
515 | that part of the command if using GCC 5.
|
---|
516 | </para>
|
---|
517 |
|
---|
518 | <para>
|
---|
519 | <command>find ... -iname '*.diz' -delete</command>: This command
|
---|
520 | removes redundant files.
|
---|
521 | </para>
|
---|
522 |
|
---|
523 | </sect2>
|
---|
524 |
|
---|
525 | <sect2 role="configuration"
|
---|
526 | id="openjdk-config"
|
---|
527 | xreflabel="Configuring OpenJDK">
|
---|
528 | <title>Configuring OpenJDK</title>
|
---|
529 |
|
---|
530 | <sect3>
|
---|
531 | <title>Configuration Information</title>
|
---|
532 |
|
---|
533 | <para>
|
---|
534 | Normally, the JAVA environment has been configured after installing
|
---|
535 | the binary version, and can be used with the just built package as well.
|
---|
536 | Review <xref linkend="ojdk-conf"/> in case you want to modify
|
---|
537 | something.
|
---|
538 | </para>
|
---|
539 |
|
---|
540 | <para>
|
---|
541 | To test if the man pages are correctly installed, issue
|
---|
542 | <command>source /etc/profile</command> and <command>man java</command>
|
---|
543 | to display the respective man page.
|
---|
544 | </para>
|
---|
545 |
|
---|
546 | </sect3>
|
---|
547 |
|
---|
548 | <sect3 id='ojdk-certs' xreflabel='JRE Certificate Authority Certificates'>
|
---|
549 | <title>Install or update the JRE Certificate Authority Certificates
|
---|
550 | (cacerts) file</title>
|
---|
551 |
|
---|
552 | <para>
|
---|
553 | <application>OpenJDK</application> uses its own format for the
|
---|
554 | CA certificates. Those certificates are located in a file named
|
---|
555 | <filename>/etc/ssl/java/cacerts</filename>. That file should be
|
---|
556 | generated using the system PKI trust store. The instructions
|
---|
557 | on the <xref linkend="cacerts"/> page should be used to update the file
|
---|
558 | located in <filename>/etc/ssl/java</filename>. Setup a symlink in the
|
---|
559 | default location as the <systemitem class="username">root</systemitem>
|
---|
560 | user:
|
---|
561 | </para>
|
---|
562 |
|
---|
563 | <screen role="root"><userinput>ln -sfv /etc/ssl/java/cacerts /opt/jdk/jre/lib/security/cacerts</userinput></screen>
|
---|
564 |
|
---|
565 | <para>Use the following commands to check if the
|
---|
566 | <filename>cacerts</filename> file has been successfully installed:</para>
|
---|
567 |
|
---|
568 | <screen role="root"><userinput>cd /opt/jdk
|
---|
569 | bin/keytool -list -keystore /etc/ssl/java/cacerts</userinput></screen>
|
---|
570 |
|
---|
571 | <para>At the prompt "Enter keystore password:", enter "changeit" (the
|
---|
572 | default). If the <filename>cacerts</filename> file was installed
|
---|
573 | correctly, you will see a list of the certificates with related
|
---|
574 | information for each one. If not, you need to reinstall them.</para>
|
---|
575 |
|
---|
576 | </sect3>
|
---|
577 |
|
---|
578 | </sect2>
|
---|
579 |
|
---|
580 | <sect2 role="content">
|
---|
581 | <title>Contents</title>
|
---|
582 |
|
---|
583 | <segmentedlist>
|
---|
584 | <segtitle>Installed Programs</segtitle>
|
---|
585 | <segtitle>Installed Libraries</segtitle>
|
---|
586 | <segtitle>Installed Directory</segtitle>
|
---|
587 |
|
---|
588 | <seglistitem>
|
---|
589 | <seg>appletviewer, extcheck, idlj, jar,
|
---|
590 | jarsigner, java, javac, javadoc, javah, javap, java-rmi.cgi,
|
---|
591 | jcmd, jconsole, jdb, jdeps, jhat, jinfo, jjs, jmap, jps,
|
---|
592 | jrunscript, jsadebugd, jstack, jstat, jstatd, keytool,
|
---|
593 | native2ascii, orbd, pack200, policytool, rmic, rmid, rmiregistry,
|
---|
594 | schemagen, serialver, servertool, tnameserv, unpack200,
|
---|
595 | wsgen, wsimport, and xjc</seg>
|
---|
596 | <seg>/opt/OpenJDK-&openjdk-version;/lib/*, and
|
---|
597 | /opt/OpenJDK-&openjdk-version;/jre/lib/*</seg>
|
---|
598 | <seg>/opt/OpenJDK-&openjdk-version;</seg>
|
---|
599 | </seglistitem>
|
---|
600 | </segmentedlist>
|
---|
601 |
|
---|
602 | <variablelist>
|
---|
603 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
604 | <?dbfo list-presentation="list"?>
|
---|
605 | <?dbhtml list-presentation="table"?>
|
---|
606 |
|
---|
607 | <varlistentry id="appletviewer">
|
---|
608 | <term><command>appletviewer</command></term>
|
---|
609 | <listitem>
|
---|
610 | <para>allows to run applets outside of a web browser.</para>
|
---|
611 | <indexterm zone="openjdk appletviewer">
|
---|
612 | <primary sortas="b-appletviewer">appletviewer</primary>
|
---|
613 | </indexterm>
|
---|
614 | </listitem>
|
---|
615 | </varlistentry>
|
---|
616 |
|
---|
617 | <varlistentry id="extcheck">
|
---|
618 | <term><command>extcheck</command></term>
|
---|
619 | <listitem>
|
---|
620 | <para>checks a specified jar file for title and version conflicts
|
---|
621 | with any extensions installed in the
|
---|
622 | <application>OpenJDK</application> software.</para>
|
---|
623 | <indexterm zone="openjdk extcheck">
|
---|
624 | <primary sortas="b-extcheck">extcheck</primary>
|
---|
625 | </indexterm>
|
---|
626 | </listitem>
|
---|
627 | </varlistentry>
|
---|
628 |
|
---|
629 | <varlistentry id="idlj">
|
---|
630 | <term><command>idlj</command></term>
|
---|
631 | <listitem>
|
---|
632 | <para>generates Java bindings from a given IDL file.</para>
|
---|
633 | <indexterm zone="openjdk idlj">
|
---|
634 | <primary sortas="b-idlj">idlj</primary>
|
---|
635 | </indexterm>
|
---|
636 | </listitem>
|
---|
637 | </varlistentry>
|
---|
638 |
|
---|
639 | <varlistentry id="jar">
|
---|
640 | <term><command>jar</command></term>
|
---|
641 | <listitem>
|
---|
642 | <para>combines multiple files into a single jar archive.</para>
|
---|
643 | <indexterm zone="openjdk jar">
|
---|
644 | <primary sortas="b-jar">jar</primary>
|
---|
645 | </indexterm>
|
---|
646 | </listitem>
|
---|
647 | </varlistentry>
|
---|
648 |
|
---|
649 | <varlistentry id="jarsigner">
|
---|
650 | <term><command>jarsigner</command></term>
|
---|
651 | <listitem>
|
---|
652 | <para>signs jar files and verifies the signatures and integrity
|
---|
653 | of a signed jar file.</para>
|
---|
654 | <indexterm zone="openjdk jarsigner">
|
---|
655 | <primary sortas="b-jarsigner">jarsigner</primary>
|
---|
656 | </indexterm>
|
---|
657 | </listitem>
|
---|
658 | </varlistentry>
|
---|
659 |
|
---|
660 | <varlistentry id="java-prog">
|
---|
661 | <term><command>java</command></term>
|
---|
662 | <listitem>
|
---|
663 | <para>launches a Java application by starting a Java runtime
|
---|
664 | environment, loading a specified class and invoking its main
|
---|
665 | method.</para>
|
---|
666 | <indexterm zone="openjdk java-prog">
|
---|
667 | <primary sortas="b-java-prog">java</primary>
|
---|
668 | </indexterm>
|
---|
669 | </listitem>
|
---|
670 | </varlistentry>
|
---|
671 |
|
---|
672 | <varlistentry id="javac">
|
---|
673 | <term><command>javac</command></term>
|
---|
674 | <listitem>
|
---|
675 | <para>reads class and interface definitions, written in the
|
---|
676 | Java programming language, and compiles them into bytecode
|
---|
677 | class files.</para>
|
---|
678 | <indexterm zone="openjdk javac">
|
---|
679 | <primary sortas="b-javac">javac</primary>
|
---|
680 | </indexterm>
|
---|
681 | </listitem>
|
---|
682 | </varlistentry>
|
---|
683 |
|
---|
684 | <varlistentry id="javadoc">
|
---|
685 | <term><command>javadoc</command></term>
|
---|
686 | <listitem>
|
---|
687 | <para>parses the declarations and documentation comments in a
|
---|
688 | set of Java source files and produces a corresponding set of
|
---|
689 | HTML pages describing the classes, interfaces, constructors,
|
---|
690 | methods, and fields.</para>
|
---|
691 | <indexterm zone="openjdk javadoc">
|
---|
692 | <primary sortas="b-javadoc">javadoc</primary>
|
---|
693 | </indexterm>
|
---|
694 | </listitem>
|
---|
695 | </varlistentry>
|
---|
696 |
|
---|
697 | <varlistentry id="javah">
|
---|
698 | <term><command>javah</command></term>
|
---|
699 | <listitem>
|
---|
700 | <para>generates C header and source files
|
---|
701 | that are needed to implement native methods.</para>
|
---|
702 | <indexterm zone="openjdk javah">
|
---|
703 | <primary sortas="b-javah">javah</primary>
|
---|
704 | </indexterm>
|
---|
705 | </listitem>
|
---|
706 | </varlistentry>
|
---|
707 |
|
---|
708 | <varlistentry id="javap">
|
---|
709 | <term><command>javap</command></term>
|
---|
710 | <listitem>
|
---|
711 | <para>disassembles a Java class file.</para>
|
---|
712 | <indexterm zone="openjdk javap">
|
---|
713 | <primary sortas="b-javap">javap</primary>
|
---|
714 | </indexterm>
|
---|
715 | </listitem>
|
---|
716 | </varlistentry>
|
---|
717 |
|
---|
718 | <varlistentry id="java-rmi.cgi">
|
---|
719 | <term><command>java-rmi.cgi</command></term>
|
---|
720 | <listitem>
|
---|
721 | <para>is the Java RMI client.</para>
|
---|
722 | <indexterm zone="openjdk java-rmi.cgi">
|
---|
723 | <primary sortas="b-java-rmi.cgi">java-rmi.cgi</primary>
|
---|
724 | </indexterm>
|
---|
725 | </listitem>
|
---|
726 | </varlistentry>
|
---|
727 |
|
---|
728 | <varlistentry id="jcmd">
|
---|
729 | <term><command>jcmd</command></term>
|
---|
730 | <listitem>
|
---|
731 | <para>is a utility to send diagnostic command requests to a running
|
---|
732 | Java Virtual Machine.</para>
|
---|
733 | <indexterm zone="openjdk jcmd">
|
---|
734 | <primary sortas="b-jcmd">jcmd</primary>
|
---|
735 | </indexterm>
|
---|
736 | </listitem>
|
---|
737 | </varlistentry>
|
---|
738 |
|
---|
739 | <varlistentry id="jconsole">
|
---|
740 | <term><command>jconsole</command></term>
|
---|
741 | <listitem>
|
---|
742 | <para>is a graphical console tool to monitor and manage both
|
---|
743 | local and remote Java applications and virtual machines.</para>
|
---|
744 | <indexterm zone="openjdk jconsole">
|
---|
745 | <primary sortas="b-jconsole">jconsole</primary>
|
---|
746 | </indexterm>
|
---|
747 | </listitem>
|
---|
748 | </varlistentry>
|
---|
749 |
|
---|
750 | <varlistentry id="jdb">
|
---|
751 | <term><command>jdb</command></term>
|
---|
752 | <listitem>
|
---|
753 | <para>is a simple command-line debugger for Java classes.</para>
|
---|
754 | <indexterm zone="openjdk jdb">
|
---|
755 | <primary sortas="b-jdb">jdb</primary>
|
---|
756 | </indexterm>
|
---|
757 | </listitem>
|
---|
758 | </varlistentry>
|
---|
759 |
|
---|
760 | <varlistentry id="jdeps">
|
---|
761 | <term><command>jdeps</command></term>
|
---|
762 | <listitem>
|
---|
763 | <para>shows the package-level or class-level dependencies of
|
---|
764 | Java class files.</para>
|
---|
765 | <indexterm zone="openjdk jdeps">
|
---|
766 | <primary sortas="b-jdeps">jdeps</primary>
|
---|
767 | </indexterm>
|
---|
768 | </listitem>
|
---|
769 | </varlistentry>
|
---|
770 |
|
---|
771 | <varlistentry id="jhat">
|
---|
772 | <term><command>jhat</command></term>
|
---|
773 | <listitem>
|
---|
774 | <para>parses a java heap dump file and allows viewing it
|
---|
775 | in a web browser.</para>
|
---|
776 | <indexterm zone="openjdk jhat">
|
---|
777 | <primary sortas="b-jhat">jhat</primary>
|
---|
778 | </indexterm>
|
---|
779 | </listitem>
|
---|
780 | </varlistentry>
|
---|
781 |
|
---|
782 | <varlistentry id="jinfo">
|
---|
783 | <term><command>jinfo</command></term>
|
---|
784 | <listitem>
|
---|
785 | <para>prints Java configuration information for a given Java
|
---|
786 | process, core file, or a remote debug server.</para>
|
---|
787 | <indexterm zone="openjdk jinfo">
|
---|
788 | <primary sortas="b-jinfo">jinfo</primary>
|
---|
789 | </indexterm>
|
---|
790 | </listitem>
|
---|
791 | </varlistentry>
|
---|
792 |
|
---|
793 | <varlistentry id="jjs">
|
---|
794 | <term><command>jjs</command></term>
|
---|
795 | <listitem>
|
---|
796 | <para>is a command-line tool used to invoke the Nashorn engine. It
|
---|
797 | can be used to interpret one or several script files, or to run
|
---|
798 | an interactive shell.</para>
|
---|
799 | <indexterm zone="openjdk jjs">
|
---|
800 | <primary sortas="b-jjs">jjs</primary>
|
---|
801 | </indexterm>
|
---|
802 | </listitem>
|
---|
803 | </varlistentry>
|
---|
804 |
|
---|
805 | <varlistentry id="jmap">
|
---|
806 | <term><command>jmap</command></term>
|
---|
807 | <listitem>
|
---|
808 | <para>prints shared object memory maps or heap memory details
|
---|
809 | of a given process, core file, or a remote debug server.</para>
|
---|
810 | <indexterm zone="openjdk jmap">
|
---|
811 | <primary sortas="b-jmap">jmap</primary>
|
---|
812 | </indexterm>
|
---|
813 | </listitem>
|
---|
814 | </varlistentry>
|
---|
815 |
|
---|
816 | <varlistentry id="jps">
|
---|
817 | <term><command>jps</command></term>
|
---|
818 | <listitem>
|
---|
819 | <para>lists the instrumented JVMs on the target system.</para>
|
---|
820 | <indexterm zone="openjdk jps">
|
---|
821 | <primary sortas="b-jps">jps</primary>
|
---|
822 | </indexterm>
|
---|
823 | </listitem>
|
---|
824 | </varlistentry>
|
---|
825 |
|
---|
826 | <varlistentry id="jrunscript">
|
---|
827 | <term><command>jrunscript</command></term>
|
---|
828 | <listitem>
|
---|
829 | <para>is a command line script shell.</para>
|
---|
830 | <indexterm zone="openjdk jrunscript">
|
---|
831 | <primary sortas="b-jrunscript">jrunscript</primary>
|
---|
832 | </indexterm>
|
---|
833 | </listitem>
|
---|
834 | </varlistentry>
|
---|
835 |
|
---|
836 | <varlistentry id="jsadebugd">
|
---|
837 | <term><command>jsadebugd</command></term>
|
---|
838 | <listitem>
|
---|
839 | <para>attaches to a Java process or core file and acts as a
|
---|
840 | debug server.</para>
|
---|
841 | <indexterm zone="openjdk jsadebugd">
|
---|
842 | <primary sortas="b-jsadebugd">jsadebugd</primary>
|
---|
843 | </indexterm>
|
---|
844 | </listitem>
|
---|
845 | </varlistentry>
|
---|
846 |
|
---|
847 | <varlistentry id="jstack">
|
---|
848 | <term><command>jstack</command></term>
|
---|
849 | <listitem>
|
---|
850 | <para>prints Java stack traces of Java threads for a given
|
---|
851 | Java process, core file, or a remote debug server.</para>
|
---|
852 | <indexterm zone="openjdk jstack">
|
---|
853 | <primary sortas="b-jstack">jstack</primary>
|
---|
854 | </indexterm>
|
---|
855 | </listitem>
|
---|
856 | </varlistentry>
|
---|
857 |
|
---|
858 | <varlistentry id="jstat">
|
---|
859 | <term><command>jstat</command></term>
|
---|
860 | <listitem>
|
---|
861 | <para>displays performance statistics for an instrumented JVM.</para>
|
---|
862 | <indexterm zone="openjdk jstat">
|
---|
863 | <primary sortas="b-jstat">jstat</primary>
|
---|
864 | </indexterm>
|
---|
865 | </listitem>
|
---|
866 | </varlistentry>
|
---|
867 |
|
---|
868 | <varlistentry id="jstatd">
|
---|
869 | <term><command>jstatd</command></term>
|
---|
870 | <listitem>
|
---|
871 | <para>is an RMI server application that monitors for the creation
|
---|
872 | and termination of instrumented JVMs.</para>
|
---|
873 | <indexterm zone="openjdk jstatd">
|
---|
874 | <primary sortas="b-jstatd">jstatd</primary>
|
---|
875 | </indexterm>
|
---|
876 | </listitem>
|
---|
877 | </varlistentry>
|
---|
878 |
|
---|
879 | <varlistentry id="keytool">
|
---|
880 | <term><command>keytool</command></term>
|
---|
881 | <listitem>
|
---|
882 | <para>is a key and certificate management utility.</para>
|
---|
883 | <indexterm zone="openjdk keytool">
|
---|
884 | <primary sortas="b-keytool">keytool</primary>
|
---|
885 | </indexterm>
|
---|
886 | </listitem>
|
---|
887 | </varlistentry>
|
---|
888 |
|
---|
889 | <varlistentry id="native2ascii">
|
---|
890 | <term><command>native2ascii</command></term>
|
---|
891 | <listitem>
|
---|
892 | <para> converts files that contain non-supported character encoding
|
---|
893 | into files containing Latin-1 or Unicode-encoded characters.</para>
|
---|
894 | <indexterm zone="openjdk native2ascii">
|
---|
895 | <primary sortas="b-native2ascii">native2ascii</primary>
|
---|
896 | </indexterm>
|
---|
897 | </listitem>
|
---|
898 | </varlistentry>
|
---|
899 |
|
---|
900 | <varlistentry id="orbd">
|
---|
901 | <term><command>orbd</command></term>
|
---|
902 | <listitem>
|
---|
903 | <para>is used to enable clients to transparently locate and invoke
|
---|
904 | persistent objects on servers in the CORBA environment.</para>
|
---|
905 | <indexterm zone="openjdk orbd">
|
---|
906 | <primary sortas="b-orbd">orbd</primary>
|
---|
907 | </indexterm>
|
---|
908 | </listitem>
|
---|
909 | </varlistentry>
|
---|
910 |
|
---|
911 | <varlistentry id="pack200">
|
---|
912 | <term><command>pack200</command></term>
|
---|
913 | <listitem>
|
---|
914 | <para>is a Java application that transforms a jar file into a
|
---|
915 | compressed pack200 file using the Java gzip compressor.</para>
|
---|
916 | <indexterm zone="openjdk pack200">
|
---|
917 | <primary sortas="b-pack200">pack200</primary>
|
---|
918 | </indexterm>
|
---|
919 | </listitem>
|
---|
920 | </varlistentry>
|
---|
921 |
|
---|
922 | <varlistentry id="policytool">
|
---|
923 | <term><command>policytool</command></term>
|
---|
924 | <listitem>
|
---|
925 | <para>creates and manages a policy file graphically.</para>
|
---|
926 | <indexterm zone="openjdk policytool">
|
---|
927 | <primary sortas="b-policytool">policytool</primary>
|
---|
928 | </indexterm>
|
---|
929 | </listitem>
|
---|
930 | </varlistentry>
|
---|
931 |
|
---|
932 | <varlistentry id="rmic">
|
---|
933 | <term><command>rmic</command></term>
|
---|
934 | <listitem>
|
---|
935 | <para>generates stub and skeleton class files for remote objects
|
---|
936 | from the names of compiled Java classes that contain remote
|
---|
937 | object implementations.</para>
|
---|
938 | <indexterm zone="openjdk rmic">
|
---|
939 | <primary sortas="b-rmic">rmic</primary>
|
---|
940 | </indexterm>
|
---|
941 | </listitem>
|
---|
942 | </varlistentry>
|
---|
943 |
|
---|
944 | <varlistentry id="rmid">
|
---|
945 | <term><command>rmid</command></term>
|
---|
946 | <listitem>
|
---|
947 | <para>starts the activation system daemon.</para>
|
---|
948 | <indexterm zone="openjdk rmid">
|
---|
949 | <primary sortas="b-rmid">rmid</primary>
|
---|
950 | </indexterm>
|
---|
951 | </listitem>
|
---|
952 | </varlistentry>
|
---|
953 |
|
---|
954 | <varlistentry id="rmiregistry">
|
---|
955 | <term><command>rmiregistry</command></term>
|
---|
956 | <listitem>
|
---|
957 | <para>creates and starts a remote object registry on the specified
|
---|
958 | port on the current host.</para>
|
---|
959 | <indexterm zone="openjdk rmiregistry">
|
---|
960 | <primary sortas="b-rmiregistry">rmiregistry</primary>
|
---|
961 | </indexterm>
|
---|
962 | </listitem>
|
---|
963 | </varlistentry>
|
---|
964 |
|
---|
965 | <varlistentry id="schemagen">
|
---|
966 | <term><command>schemagen</command></term>
|
---|
967 | <listitem>
|
---|
968 | <para>is a Java XML binding schema generator.</para>
|
---|
969 | <indexterm zone="openjdk schemagen">
|
---|
970 | <primary sortas="b-schemagen">schemagen</primary>
|
---|
971 | </indexterm>
|
---|
972 | </listitem>
|
---|
973 | </varlistentry>
|
---|
974 |
|
---|
975 | <varlistentry id="serialver">
|
---|
976 | <term><command>serialver</command></term>
|
---|
977 | <listitem>
|
---|
978 | <para>returns the serialVersionUID for one or more classes in a
|
---|
979 | form suitable for copying into an evolving class.</para>
|
---|
980 | <indexterm zone="openjdk serialver">
|
---|
981 | <primary sortas="b-serialver">serialver</primary>
|
---|
982 | </indexterm>
|
---|
983 | </listitem>
|
---|
984 | </varlistentry>
|
---|
985 |
|
---|
986 | <varlistentry id="servertool">
|
---|
987 | <term><command>servertool</command></term>
|
---|
988 | <listitem>
|
---|
989 | <para>provides an ease-of-use interface for application programmers
|
---|
990 | to register, unregister, startup and shutdown a server.</para>
|
---|
991 | <indexterm zone="openjdk servertool">
|
---|
992 | <primary sortas="b-servertool">servertool</primary>
|
---|
993 | </indexterm>
|
---|
994 | </listitem>
|
---|
995 | </varlistentry>
|
---|
996 |
|
---|
997 | <varlistentry id="tnameserv">
|
---|
998 | <term><command>tnameserv</command></term>
|
---|
999 | <listitem>
|
---|
1000 | <para>starts the Java IDL name server.</para>
|
---|
1001 | <indexterm zone="openjdk tnameserv">
|
---|
1002 | <primary sortas="b-tnameserv">tnameserv</primary>
|
---|
1003 | </indexterm>
|
---|
1004 | </listitem>
|
---|
1005 | </varlistentry>
|
---|
1006 |
|
---|
1007 | <varlistentry id="unpack200">
|
---|
1008 | <term><command>unpack200</command></term>
|
---|
1009 | <listitem>
|
---|
1010 | <para>is a native implementation that transforms a packed file
|
---|
1011 | produced by <application>pack200</application> into a jar
|
---|
1012 | file.</para>
|
---|
1013 | <indexterm zone="openjdk unpack200">
|
---|
1014 | <primary sortas="b-unpack200">unpack200</primary>
|
---|
1015 | </indexterm>
|
---|
1016 | </listitem>
|
---|
1017 | </varlistentry>
|
---|
1018 |
|
---|
1019 | <varlistentry id="wsgen">
|
---|
1020 | <term><command>wsgen</command></term>
|
---|
1021 | <listitem>
|
---|
1022 | <para>generates JAX-WS portable artifacts used in JAX-WS
|
---|
1023 | web services.</para>
|
---|
1024 | <indexterm zone="openjdk wsgen">
|
---|
1025 | <primary sortas="b-wsgen">wsgen</primary>
|
---|
1026 | </indexterm>
|
---|
1027 | </listitem>
|
---|
1028 | </varlistentry>
|
---|
1029 |
|
---|
1030 | <varlistentry id="wsimport">
|
---|
1031 | <term><command>wsimport</command></term>
|
---|
1032 | <listitem>
|
---|
1033 | <para>generates JAX-WS portable artifacts.</para>
|
---|
1034 | <indexterm zone="openjdk wsimport">
|
---|
1035 | <primary sortas="b-wsimport">wsimport</primary>
|
---|
1036 | </indexterm>
|
---|
1037 | </listitem>
|
---|
1038 | </varlistentry>
|
---|
1039 |
|
---|
1040 | <varlistentry id="xjc">
|
---|
1041 | <term><command>xjc</command></term>
|
---|
1042 | <listitem>
|
---|
1043 | <para>is a Java XML binding compiler.</para>
|
---|
1044 | <indexterm zone="openjdk xjc">
|
---|
1045 | <primary sortas="b-xjc">xjc</primary>
|
---|
1046 | </indexterm>
|
---|
1047 | </listitem>
|
---|
1048 | </varlistentry>
|
---|
1049 |
|
---|
1050 | </variablelist>
|
---|
1051 |
|
---|
1052 | </sect2>
|
---|
1053 |
|
---|
1054 | </sect1>
|
---|