[2c25a56] | 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 |
|
---|
[5aa8088] | 7 | <!ENTITY ojdk-upd "60">
|
---|
| 8 | <!ENTITY ojdk-bd "b27">
|
---|
[042f456] | 9 | <!ENTITY ojdk-tarball "jdk8u&ojdk-upd;-&ojdk-bd;.tar.bz2">
|
---|
[3053ed81] | 10 | <!ENTITY ojdk-repo "http://hg.openjdk.java.net/jdk8u/jdk8u60">
|
---|
[042f456] | 11 | <!ENTITY ojdk-download "&ojdk-repo;/archive/&ojdk-tarball;">
|
---|
[49b50d4] | 12 |
|
---|
[a29486e4] | 13 | <!ENTITY anduin-download "&sources-anduin-http;/OpenJDK/OpenJDK-&openjdk-version;">
|
---|
[49b50d4] | 14 |
|
---|
[5aa8088] | 15 | <!ENTITY ojdk-md5sum "bcaf6f51627e8f052eff0fdcd8578b4f">
|
---|
| 16 | <!ENTITY ojdk-size "395 KB">
|
---|
[49b50d4] | 17 |
|
---|
[5aa8088] | 18 | <!ENTITY corba-md5sum "002432f496bab8c85f6baf61d65dca27">
|
---|
| 19 | <!ENTITY hotspot-md5sum "a4ebec7c61aa154804761127a1f75eae">
|
---|
| 20 | <!ENTITY jaxp-md5sum "9a7b2a534b4a01ebb559b60023882809">
|
---|
| 21 | <!ENTITY jaxws-md5sum "7ff3e1154d79d208ae89c24355254b49">
|
---|
| 22 | <!ENTITY jdk-md5sum "2f5874a62c2bc74b99118f66d82886da">
|
---|
| 23 | <!ENTITY langtools-md5sum "57ccac8dc86d993e64ff920feb9e54ab">
|
---|
| 24 | <!ENTITY nashorn-md5sum "a8fccf7be7451205e6048b9b2fcd5b24">
|
---|
| 25 | <!ENTITY total-download-size "52 MB">
|
---|
[49b50d4] | 26 |
|
---|
[5aa8088] | 27 | <!ENTITY jtreg-version "4.1-b12-389">
|
---|
| 28 | <!ENTITY jtreg-download "&anduin-download;/jtreg-&jtreg-version;.tar.gz">
|
---|
| 29 | <!ENTITY jtreg-md5sum "30a99ab95186741778ae3fa2b248b83b">
|
---|
| 30 | <!ENTITY jtreg-size "7.4 MB">
|
---|
[b1129a10] | 31 |
|
---|
[042f456] | 32 | <!ENTITY icedtea-web-download "http://icedtea.classpath.org/download/source/icedtea-web-&icedtea-web-version;.tar.gz">
|
---|
| 33 |
|
---|
[5aa8088] | 34 | <!ENTITY ojdk-buildsize "3.7 GB (additional 371 MB for tests)">
|
---|
| 35 | <!ENTITY ojdk-time "12 SBU (additional 100 SBU for tests)">
|
---|
[2c25a56] | 36 | ]>
|
---|
| 37 |
|
---|
[b1129a10] | 38 | <sect1 id="openjdk"
|
---|
[042f456] | 39 | xreflabel="OpenJDK-&openjdk-version;">
|
---|
[49b50d4] | 40 | <?dbhtml filename="openjdk.html" ?>
|
---|
[2c25a56] | 41 |
|
---|
| 42 | <sect1info>
|
---|
| 43 | <othername>$LastChangedBy$</othername>
|
---|
| 44 | <date>$Date$</date>
|
---|
| 45 | </sect1info>
|
---|
| 46 |
|
---|
[042f456] | 47 | <title>OpenJDK-&openjdk-version;</title>
|
---|
[2c25a56] | 48 |
|
---|
[49b50d4] | 49 | <indexterm zone="openjdk">
|
---|
| 50 | <primary sortas="a-OpenJDK">OpenJDK</primary>
|
---|
[2c25a56] | 51 | </indexterm>
|
---|
| 52 |
|
---|
| 53 | <sect2 role="package">
|
---|
[042f456] | 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>
|
---|
[2c25a56] | 63 |
|
---|
[5aa8088] | 64 | &lfs78_checked;
|
---|
[efd03f7] | 65 |
|
---|
[042f456] | 66 | <note>
|
---|
| 67 | <para>
|
---|
| 68 | A browser plugin and webstart implementation, as well as a
|
---|
| 69 | pulseaudio sound backend are provided by the Icedtea project. To provide
|
---|
| 70 | a complete implementation, you will need to later install
|
---|
| 71 | <xref linkend="icedtea-web"/> and <xref linkend="icedtea-sound"/>.
|
---|
| 72 | </para>
|
---|
| 73 | </note>
|
---|
| 74 |
|
---|
| 75 | <para>
|
---|
| 76 | OpenJDK is GPL'd code, with a special exception made for non-free
|
---|
| 77 | projects to use these classes in their proprietary products.
|
---|
| 78 | In similar fashion to the LGPL, which allows non-free programs to link
|
---|
| 79 | to libraries provided by free software, the
|
---|
| 80 | <ulink url="http://openjdk.java.net/legal/gplv2+ce.html">GNU
|
---|
| 81 | General Public License, version 2, with the Classpath Exception</ulink>
|
---|
| 82 | allows third party programs to use classes provided by free software
|
---|
| 83 | without the requirement that the third party software also be free. As
|
---|
| 84 | with the LGPL, any modifications made to the free software portions of a
|
---|
| 85 | third party application, must also be made freely available.
|
---|
| 86 | </para>
|
---|
[2c25a56] | 87 |
|
---|
| 88 | <note>
|
---|
[042f456] | 89 | <para>
|
---|
| 90 | The <application>OpenJDK</application> source includes a very
|
---|
| 91 | thorough, open source test suite using the
|
---|
| 92 | <application>JTreg</application> test harness. The testing instructions
|
---|
| 93 | below allow to test the just built JDK for reasonable compatibility
|
---|
| 94 | with the proprietary Oracle JDK. However, in order for an independent
|
---|
| 95 | implementation to claim compatibility, it must pass a proprietary
|
---|
| 96 | <application>JCK/TCK</application> test suite. No claims of
|
---|
| 97 | compatibility, even partial compatibility, may be made without passing
|
---|
| 98 | an approved test suite.
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <para>
|
---|
| 102 | Oracle does provide free community access, on a case by case basis, to
|
---|
| 103 | a closed toolkit to ensure 100% compatibility with its proprietary JDK.
|
---|
| 104 | Neither the binary version provided on the <xref linkend="java"/> page
|
---|
| 105 | nor the JVM built with the instructions below have been tested against
|
---|
| 106 | the <ulink
|
---|
| 107 | url="http://openjdk.java.net/groups/conformance/JckAccess/jck-access.html">
|
---|
| 108 | TCK</ulink>. Any version that is built using the instructions given,
|
---|
| 109 | cannot claim to be compatible with the proprietary JDK, without the
|
---|
| 110 | user applying for, and completing the compatibility tests themselves.
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <para>
|
---|
| 114 | With that in mind, the binaries produced using this build method are
|
---|
| 115 | regularly tested against the TCK by the members listed on the site
|
---|
| 116 | above. In addition to the community license above, an educational,
|
---|
| 117 | non-commercial license for the TCK can be obtained from <ulink
|
---|
| 118 | url="http://www.oracle.com/technetwork/java/index-137188.html">
|
---|
| 119 | here</ulink>.
|
---|
| 120 | </para>
|
---|
[2c25a56] | 121 | </note>
|
---|
| 122 |
|
---|
| 123 | <bridgehead renderas="sect3">Source Package Information</bridgehead>
|
---|
| 124 | <itemizedlist spacing="compact">
|
---|
| 125 | <listitem>
|
---|
[042f456] | 126 | <para>OpenJDK Root Package
|
---|
[2c25a56] | 127 | <simplelist>
|
---|
[042f456] | 128 | <member>Download: <ulink url="&ojdk-download;"/></member>
|
---|
| 129 | <member>Download MD5 sum: &ojdk-md5sum;</member>
|
---|
| 130 | <member>Download Size: &ojdk-size;</member>
|
---|
[2c25a56] | 131 | </simplelist>
|
---|
| 132 | </para>
|
---|
| 133 | </listitem>
|
---|
[49b50d4] | 134 | <listitem>
|
---|
[5aa8088] | 135 | <para>
|
---|
| 136 | In addition to the root package, the instructions below first
|
---|
| 137 | download seven subproject tarballs,
|
---|
| 138 | whose total size is &total-download-size;.
|
---|
[042f456] | 139 | </para>
|
---|
[2c25a56] | 140 | </listitem>
|
---|
| 141 | <listitem>
|
---|
[042f456] | 142 | <para>Estimated disk space required: &ojdk-buildsize;</para>
|
---|
| 143 | </listitem>
|
---|
| 144 | <listitem>
|
---|
| 145 | <para>Estimated build time: &ojdk-time;</para>
|
---|
[2c25a56] | 146 | </listitem>
|
---|
| 147 | </itemizedlist>
|
---|
| 148 |
|
---|
| 149 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 150 |
|
---|
| 151 | <itemizedlist spacing='compact'>
|
---|
| 152 | <listitem>
|
---|
[b1129a10] | 153 | <para>
|
---|
[042f456] | 154 | Optional package (to get an icon for the
|
---|
| 155 | <filename>openjdk-8-policytool.desktop</filename> file):
|
---|
| 156 | <ulink url="&icedtea-web-download;"/>
|
---|
[b1129a10] | 157 | </para>
|
---|
[870e4acf] | 158 | </listitem>
|
---|
[2c25a56] | 159 | <listitem>
|
---|
[b1129a10] | 160 | <para>
|
---|
[df15e9f] | 161 | Recommended test harness: <ulink url="&jtreg-download;"/>
|
---|
[b1129a10] | 162 | </para>
|
---|
[2c25a56] | 163 | </listitem>
|
---|
| 164 | </itemizedlist>
|
---|
| 165 |
|
---|
[49b50d4] | 166 | <bridgehead renderas="sect3">OpenJDK Dependencies</bridgehead>
|
---|
[bc00982] | 167 |
|
---|
[92b1341] | 168 | <bridgehead renderas="sect4">Required Dependencies</bridgehead>
|
---|
[2e41a4f] | 169 | <para role="required">
|
---|
[042f456] | 170 | An existing binary (<xref linkend="java"/> or an earlier built
|
---|
[710fb64] | 171 | version of this package),
|
---|
[52a4df28] | 172 | <xref linkend="alsa-lib"/>,
|
---|
[92b1341] | 173 | <xref linkend="cpio"/>,
|
---|
[de930747] | 174 | <xref linkend="cups"/>,
|
---|
[2e41a4f] | 175 | <xref linkend="unzip"/>,
|
---|
[92b1341] | 176 | <xref linkend="which"/>,
|
---|
[042f456] | 177 | <xref linkend="xorg7-lib"/>, and
|
---|
[2e41a4f] | 178 | <xref linkend="zip"/>
|
---|
| 179 | </para>
|
---|
[2c25a56] | 180 |
|
---|
[52a4df28] | 181 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 182 | <para role="recommended">
|
---|
[5aa8088] | 183 | <xref linkend="cacerts"/>,
|
---|
| 184 | <xref linkend="giflib"/>, and
|
---|
| 185 | <xref linkend="wget"/>
|
---|
[52a4df28] | 186 | </para>
|
---|
| 187 |
|
---|
[e01f402] | 188 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 189 | <para role="optional">
|
---|
[042f456] | 190 | <xref linkend="mercurial"/> and
|
---|
[7c546dc3] | 191 | an X Window manager such as <xref linkend="twm"/> (for the tests)
|
---|
[e01f402] | 192 | </para>
|
---|
| 193 |
|
---|
[2c25a56] | 194 | <para condition="html" role="usernotes">User Notes:
|
---|
[49b50d4] | 195 | <ulink url="&blfs-wiki;/openjdk"/></para>
|
---|
[2c25a56] | 196 |
|
---|
| 197 | </sect2>
|
---|
| 198 |
|
---|
| 199 | <sect2 role="installation">
|
---|
[49b50d4] | 200 | <title>Installation of OpenJDK</title>
|
---|
[2c25a56] | 201 |
|
---|
[042f456] | 202 | <para>
|
---|
| 203 | Unlike other packages in BLFS, the <application>OpenJDK</application>
|
---|
| 204 | source packages are distributed in multiple tar balls. You need to first
|
---|
| 205 | extract the source root from <filename>&ojdk-tarball;</filename>, change
|
---|
| 206 | into the extracted directory, then proceed with the following
|
---|
| 207 | instructions:
|
---|
| 208 | </para>
|
---|
[2c25a56] | 209 |
|
---|
[5aa8088] | 210 | <screen><userinput>cat > subprojects.md5 << EOF &&
|
---|
| 211 | &corba-md5sum; corba.tar.bz2
|
---|
| 212 | &hotspot-md5sum; hotspot.tar.bz2
|
---|
| 213 | &jaxp-md5sum; jaxp.tar.bz2
|
---|
| 214 | &jaxws-md5sum; jaxws.tar.bz2
|
---|
| 215 | &langtools-md5sum; langtools.tar.bz2
|
---|
| 216 | &jdk-md5sum; jdk.tar.bz2
|
---|
| 217 | &nashorn-md5sum; nashorn.tar.bz2
|
---|
| 218 | EOF
|
---|
[bc00982] | 219 |
|
---|
[5aa8088] | 220 | for subproject in corba hotspot jaxp jaxws langtools jdk nashorn; do
|
---|
| 221 | wget -c &ojdk-repo;/${subproject}/archive/&ojdk-tarball; \
|
---|
| 222 | -O ${subproject}.tar.bz2
|
---|
| 223 | done &&
|
---|
[2c25a56] | 224 |
|
---|
[5aa8088] | 225 | md5sum -c subprojects.md5 &&
|
---|
[49b50d4] | 226 |
|
---|
[5aa8088] | 227 | for subproject in corba hotspot jaxp jaxws langtools jdk nashorn; do
|
---|
| 228 | mkdir -pv ${subproject} &&
|
---|
| 229 | tar -xf ${subproject}.tar.bz2 --strip-components=1 -C ${subproject}
|
---|
| 230 | done</userinput></screen>
|
---|
[49b50d4] | 231 |
|
---|
[042f456] | 232 | <para>
|
---|
[5aa8088] | 233 | If you have downloaded the recommended test harness, unpack it too:
|
---|
[042f456] | 234 | </para>
|
---|
[6f01fd2e] | 235 |
|
---|
[5aa8088] | 236 | <screen><userinput>tar -xf ../jtreg-&jtreg-version;.tar.gz</userinput></screen>
|
---|
[bc00982] | 237 |
|
---|
[5aa8088] | 238 | <!--TODO: it might be better to add instructions for the cacerts file at
|
---|
| 239 | this place and to use the switch "with-cacerts-file" -->
|
---|
[d4decee] | 240 |
|
---|
[042f456] | 241 | <note>
|
---|
| 242 | <para>
|
---|
| 243 | Before proceeding, you should ensure that your environment
|
---|
| 244 | <envar>PATH</envar> variable contains the location of the Java
|
---|
| 245 | compilers used for bootstrapping <application>OpenJDK</application>.
|
---|
| 246 | This is the only requirement for the environment. Modern Java
|
---|
| 247 | installations do not need <envar>JAVA_HOME</envar> and
|
---|
| 248 | <envar>CLASSPATH</envar> is not used here. Furthermore, OpenJDK
|
---|
[b82dab5] | 249 | developers recommend to unset <envar>JAVA_HOME</envar>.
|
---|
[042f456] | 250 | </para>
|
---|
[49b50d4] | 251 |
|
---|
[042f456] | 252 | <para>
|
---|
| 253 | The build system does not support the <option>-j</option> switch in
|
---|
| 254 | <envar>MAKEFLAGS</envar>.
|
---|
| 255 | </para>
|
---|
| 256 | </note>
|
---|
[870e4acf] | 257 |
|
---|
[5aa8088] | 258 | <para>
|
---|
| 259 | Configure and build the package with the following commands
|
---|
| 260 | (--with-milestone value can be modified to fit user preferences):
|
---|
| 261 | </para>
|
---|
[042f456] | 262 |
|
---|
| 263 | <screen><userinput>unset JAVA_HOME &&
|
---|
| 264 | sh ./configure \
|
---|
| 265 | --with-update-version=&ojdk-upd; \
|
---|
| 266 | --with-build-number=&ojdk-bd; \
|
---|
| 267 | --with-milestone=BLFS \
|
---|
| 268 | --enable-unlimited-crypto \
|
---|
| 269 | --with-zlib=system \
|
---|
| 270 | --with-giflib=system &&
|
---|
[5aa8088] | 271 | make DEBUG_BINARIES=true all &&
|
---|
[7c546dc3] | 272 | find build/*/images/j2sdk-image -iname \*.diz -delete
|
---|
| 273 | </userinput></screen>
|
---|
[870e4acf] | 274 |
|
---|
[df15e9f] | 275 | <note>
|
---|
| 276 | <para>
|
---|
| 277 | Testing will involve the interplay of pairs of JVMs using the
|
---|
| 278 | networking interface, so networking must be started. If it
|
---|
| 279 | isn't, not only will these tests fail, but the test cleanup
|
---|
| 280 | will leave orphaned JVMs running. There will be many of
|
---|
| 281 | them. Rebooting may be the easiest recovery.
|
---|
| 282 | </para>
|
---|
| 283 | </note>
|
---|
| 284 |
|
---|
[042f456] | 285 | <para>
|
---|
[df15e9f] | 286 | Testing the newly built JVM involves several steps.
|
---|
[042f456] | 287 | First, it is better to run the test suite in a frame buffer on a
|
---|
| 288 | different display, using Xvfb:
|
---|
| 289 | </para>
|
---|
[49b50d4] | 290 |
|
---|
[042f456] | 291 | <!-- Careful with the && below:
|
---|
| 292 | "export DISPLAY=... && somecommand &" exports only DISPLAY to "somecommand"
|
---|
| 293 | but not to the current environment, and
|
---|
[5aa8088] | 294 | "echo $! .... &&" does not echo the right PID. So all && suppressed.-->
|
---|
[042f456] | 295 | <screen role='nodump'><userinput>if [ -n "$DISPLAY" ]; then
|
---|
| 296 | OLD_DISP=$DISPLAY
|
---|
| 297 | fi
|
---|
| 298 | export DISPLAY=:20
|
---|
| 299 | nohup Xvfb $DISPLAY \
|
---|
| 300 | -fbdir $(pwd) \
|
---|
| 301 | -pixdepths 8 16 24 32 > Xvfb.out 2>&1 &
|
---|
| 302 | echo $! > Xvfb.pid
|
---|
| 303 | echo Waiting for Xvfb to initialize; sleep 1
|
---|
| 304 | nohup twm -display $DISPLAY \
|
---|
| 305 | -f /dev/null > twm.out 2>&1 &
|
---|
| 306 | echo $! > twm.pid
|
---|
| 307 | echo Waiting for twm to initialize; sleep 1
|
---|
| 308 | xhost +</userinput></screen>
|
---|
[49b50d4] | 309 |
|
---|
[042f456] | 310 | <para>
|
---|
[7c546dc3] | 311 | Then, it is necessary to modify some files<!-- (replace <N> with the
|
---|
| 312 | number of JAVA VM allowed to run concurrently)-->:
|
---|
[042f456] | 313 | </para>
|
---|
| 314 |
|
---|
| 315 | <screen role='nodump'><userinput>echo -e "
|
---|
| 316 | jdk_all = :jdk_core \\
|
---|
| 317 | :jdk_svc \\
|
---|
| 318 | :jdk_beans \\
|
---|
| 319 | :jdk_imageio \\
|
---|
| 320 | :jdk_sound \\
|
---|
| 321 | :jdk_sctp \\
|
---|
| 322 | com/sun/awt \\
|
---|
| 323 | javax/accessibility \\
|
---|
| 324 | javax/print \\
|
---|
| 325 | sun/pisces \\
|
---|
| 326 | com/sun/java/swing" >> jdk/test/TEST.groups &&
|
---|
[6675fcd] | 327 | sed -e 's/all:.*jck.*/all: jtreg/' \
|
---|
[7c546dc3] | 328 | -e '/^JTREG /s@\$(JT_PLATFORM)/@@' \
|
---|
| 329 | -i langtools/test/Makefile<!-- &&
|
---|
[6675fcd] | 330 | sed -i 's@/win32@@' jdk/test/Makefile &&
|
---|
| 331 | sed -e 's@JTREG_HOME@JT_PLATFORM="" &@' \
|
---|
| 332 | -e 's@TEST="@CONCURRENCY=<N> &@' \
|
---|
[7c546dc3] | 333 | -i test/Makefile--></userinput></screen>
|
---|
[042f456] | 334 |
|
---|
| 335 | <para>
|
---|
| 336 | Some variables have to be set:
|
---|
| 337 | </para>
|
---|
| 338 |
|
---|
| 339 | <screen role='nodump'><userinput>JT_JAVA=$(type -p javac | sed 's@/bin.*@@') &&
|
---|
| 340 | JT_HOME=$(pwd)/jtreg &&
|
---|
| 341 | PRODUCT_HOME=$(echo $(pwd)/build/*/images/j2sdk-image)</userinput></screen>
|
---|
| 342 |
|
---|
| 343 | <para>
|
---|
| 344 | The tests are run as follows:
|
---|
| 345 | </para>
|
---|
| 346 |
|
---|
[0214fca] | 347 | <!-- no && here either, because the first "make" may return an error -->
|
---|
[042f456] | 348 | <screen role='nodump'><userinput>LANG=C make -k -C test \
|
---|
| 349 | JT_HOME=${JT_HOME} \
|
---|
| 350 | JT_JAVA=${JT_JAVA} \
|
---|
[0214fca] | 351 | PRODUCT_HOME=${PRODUCT_HOME} all
|
---|
[6675fcd] | 352 | LANG=C ${JT_HOME}/bin/jtreg -a -v:fail,error \
|
---|
| 353 | -dir:$(pwd)/hotspot/test \
|
---|
| 354 | -k:\!ignore \
|
---|
| 355 | -jdk:${PRODUCT_HOME} \
|
---|
[7c546dc3] | 356 | <!-- -agentvm -conc:<N> \
|
---|
| 357 | --> :jdk</userinput></screen>
|
---|
[042f456] | 358 |
|
---|
| 359 | <para>
|
---|
| 360 | The test results can be compared to
|
---|
| 361 | <ulink url="http://download.java.net/openjdk/testresults/8/">these
|
---|
[7c546dc3] | 362 | results</ulink>, although they usually are run on a newer version.
|
---|
[df15e9f] | 363 | Some failures can be expected, the number of which depends on various
|
---|
[7c546dc3] | 364 | conditions, like whether the computer is connected to network. Also, some
|
---|
[ca8bcae9] | 365 | tests may timeout if the machine is under load.
|
---|
[7c546dc3] | 366 | </para>
|
---|
| 367 |
|
---|
| 368 | <para>
|
---|
| 369 | Next some cleanup has to be done. The instructions below only stop the
|
---|
[5aa8088] | 370 | frame buffer, but it has been reported that some java VM may be left
|
---|
| 371 | running after the tests, so it is necessary to check orphaned processes:
|
---|
[042f456] | 372 | </para>
|
---|
| 373 |
|
---|
| 374 | <screen role='nodump'><userinput>kill -9 `cat twm.pid` &&
|
---|
[92b1341] | 375 | kill -9 `cat Xvfb.pid` &&
|
---|
[042f456] | 376 | rm -f Xvfb.out twm.out &&
|
---|
| 377 | rm -f Xvfb.pid twm.pid &&
|
---|
| 378 | if [ -n "$OLD_DISP" ]; then
|
---|
| 379 | DISPLAY=$OLD_DISP
|
---|
| 380 | fi</userinput></screen>
|
---|
[92b1341] | 381 |
|
---|
[2c25a56] | 382 | <para>Install the package with the following commands as the
|
---|
| 383 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 384 |
|
---|
[d4decee] | 385 | <screen role="root"><userinput>cp -RT build/*/images/j2sdk-image /opt/OpenJDK-&openjdk-version; &&
|
---|
[49b50d4] | 386 | chown -R root:root /opt/OpenJDK-&openjdk-version;</userinput></screen>
|
---|
[2c25a56] | 387 |
|
---|
[58cba7f0] | 388 | <para>
|
---|
| 389 | There are now two <application>OpenJDK</application> SDKs installed
|
---|
| 390 | in <filename class="directory">/opt</filename>. You should decide on
|
---|
| 391 | which one you would like to use as the default. Normally, you would opt
|
---|
| 392 | for the just installed <application>OpenJDK</application>. If so, do
|
---|
| 393 | the following as the <systemitem class="username">root</systemitem>
|
---|
| 394 | user:
|
---|
| 395 | </para>
|
---|
| 396 |
|
---|
| 397 | <screen role="root"><userinput>ln -v -nsf OpenJDK-&openjdk-version; /opt/jdk</userinput></screen>
|
---|
| 398 |
|
---|
[cc2a12d] | 399 | <para>If desired, you may install a .desktop file corresponding to an entry
|
---|
| 400 | in a desktop menu for <command>policytool</command>. First, you need to
|
---|
| 401 | obtain an icon from <xref linkend="icedtea-web"/>:</para>
|
---|
[5a78947] | 402 |
|
---|
[b1129a10] | 403 | <screen><userinput>tar -xf ../icedtea-web-&icedtea-web-version;.tar.gz \
|
---|
[cc2a12d] | 404 | icedtea-web-&icedtea-web-version;/javaws.png \
|
---|
| 405 | --strip-components=1</userinput></screen>
|
---|
[5a78947] | 406 |
|
---|
| 407 | <para>Now, as <systemitem class="username">root</systemitem> user:</para>
|
---|
[76df61c] | 408 |
|
---|
[b1129a10] | 409 | <screen role="root"><userinput>mkdir -pv /usr/share/applications &&
|
---|
| 410 |
|
---|
[042f456] | 411 | cat > /usr/share/applications/openjdk-8-policytool.desktop << "EOF" &&
|
---|
[76df61c] | 412 | <literal>[Desktop Entry]
|
---|
[042f456] | 413 | Name=OpenJDK Java Policy Tool
|
---|
| 414 | Name[pt_BR]=OpenJDK Java - Ferramenta de Política
|
---|
| 415 | Comment=OpenJDK Java Policy Tool
|
---|
| 416 | Comment[pt_BR]=OpenJDK Java - Ferramenta de Política
|
---|
[76df61c] | 417 | Exec=/opt/jdk/bin/policytool
|
---|
| 418 | Terminal=false
|
---|
| 419 | Type=Application
|
---|
| 420 | Icon=javaws
|
---|
| 421 | Categories=Settings;</literal>
|
---|
| 422 | EOF
|
---|
| 423 |
|
---|
[5a78947] | 424 | install -v -Dm0644 javaws.png /usr/share/pixmaps/javaws.png</userinput></screen>
|
---|
| 425 |
|
---|
[b1129a10] | 426 | <para>The choice of pt_BR is just an example. You can add any translation
|
---|
| 427 | by adding lines corresponding to your locale, e.g. for fr_FR,
|
---|
[88b2f2ef] | 428 | <quote>Name[fr_FR]=</quote> and <quote>Comment[fr_FR]=</quote> with the
|
---|
| 429 | appropriate text as values.</para>
|
---|
[76df61c] | 430 |
|
---|
[2c25a56] | 431 | </sect2>
|
---|
| 432 |
|
---|
| 433 | <sect2 role="commands">
|
---|
| 434 | <title>Command Explanations</title>
|
---|
| 435 |
|
---|
[042f456] | 436 | <para>
|
---|
| 437 | <command>sh configure...</command>: the top level
|
---|
| 438 | <filename>configure</filename> is a wrapper around the autotools one.
|
---|
| 439 | It is not executable and must be run through <command>sh</command>.
|
---|
| 440 | </para>
|
---|
[2c25a56] | 441 |
|
---|
[042f456] | 442 | <para>
|
---|
| 443 | <option>--with-boot-jdk</option>: This switch provides the
|
---|
| 444 | location of the temporary <application>JDK</application>. It is normally
|
---|
| 445 | not needed if <command>java</command> is found in the <envar>PATH</envar>.
|
---|
| 446 | </para>
|
---|
[2c25a56] | 447 |
|
---|
[042f456] | 448 | <para>
|
---|
| 449 | <parameter>--with-update-version</parameter>: Currently, the build
|
---|
| 450 | system does not include the update number in the version string. It has
|
---|
| 451 | to be specified here.
|
---|
| 452 | </para>
|
---|
[5292423] | 453 |
|
---|
[042f456] | 454 | <para>
|
---|
| 455 | <parameter>--with-build-number</parameter>: Again, the build
|
---|
[13507eb] | 456 | system does not include the build number in the version string. It has
|
---|
[042f456] | 457 | to be specified here too.
|
---|
| 458 | </para>
|
---|
[5292423] | 459 |
|
---|
[042f456] | 460 | <para>
|
---|
| 461 | <parameter>--with-milestone</parameter>: Used to customize the
|
---|
| 462 | version string.
|
---|
| 463 | </para>
|
---|
[52a4df28] | 464 |
|
---|
[042f456] | 465 | <para>
|
---|
| 466 | <parameter>--enable-unlimited-crypto</parameter>: Because of limitations
|
---|
| 467 | on the usage of cryptography in some countries, there is the possibility
|
---|
| 468 | to limit the size of encryption keys and the use of some algorithms in a
|
---|
| 469 | policy file. This switch allows to ship a policy file with no
|
---|
| 470 | restriction. It is the responsability of the user to ensure proper
|
---|
| 471 | adherence to the law.
|
---|
| 472 | </para>
|
---|
[e01f402] | 473 |
|
---|
[042f456] | 474 | <para>
|
---|
| 475 | <parameter>--with-zlib=system, --with-giflib=system</parameter>: Allows
|
---|
| 476 | to use the system libraries instead of the bundled ones.
|
---|
| 477 | </para>
|
---|
[c770e18] | 478 |
|
---|
[042f456] | 479 | <para>
|
---|
[df15e9f] | 480 | <option>--with-jobs=N</option>: Allows setting the number
|
---|
[042f456] | 481 | of jobs for <command>make</command> equal to N. The default is the
|
---|
| 482 | result of a calculation involving the available memory and the number
|
---|
[0214fca] | 483 | of processors. Note that even if you specify N=1, some parallelization
|
---|
| 484 | may be used during the build. The SBU given above are with parallel jobs
|
---|
| 485 | disabled, on a single processor, single core, virtual machine.
|
---|
[042f456] | 486 | </para>
|
---|
| 487 |
|
---|
| 488 | <para>
|
---|
| 489 | <option>--with-cacerts-file=...</option>: Specifies where to find a
|
---|
[df15e9f] | 490 | <filename>cacerts</filename> file, typically <filename>
|
---|
| 491 | /opt/jdk/jre/lib/security</filename>. Otherwise, an empty one is created.
|
---|
[6cde8463] | 492 | You can get it from an earlier version of the package, or use the
|
---|
[042f456] | 493 | script below to generate one.
|
---|
| 494 | </para>
|
---|
[df15e9f] | 495 |
|
---|
[042f456] | 496 | <para>
|
---|
[5aa8088] | 497 | <command>make DEBUG_BINARIES=true all</command>: The build fails on
|
---|
| 498 | 32 bit machines if DEBUG_BINARIES is not set to true.
|
---|
[042f456] | 499 | </para>
|
---|
| 500 |
|
---|
| 501 | <para>
|
---|
[df15e9f] | 502 | <command>find ... -iname '*.diz' -delete</command>: This command
|
---|
| 503 | removes redundant files.
|
---|
[042f456] | 504 | </para>
|
---|
[5889b848] | 505 |
|
---|
[2c25a56] | 506 | </sect2>
|
---|
| 507 |
|
---|
[b1129a10] | 508 | <sect2 role="configuration"
|
---|
| 509 | id="openjdk-config"
|
---|
| 510 | xreflabel="Configuring OpenJDK">
|
---|
[49b50d4] | 511 | <title>Configuring OpenJDK</title>
|
---|
[2c25a56] | 512 |
|
---|
| 513 | <sect3>
|
---|
| 514 | <title>Configuration Information</title>
|
---|
| 515 |
|
---|
[5aa8088] | 516 | <para>
|
---|
| 517 | Normally, the JAVA environment has been configured after installing
|
---|
| 518 | the binary version, and can be used with the just built package as well.
|
---|
| 519 | Review <xref linkend="ojdk-conf"/> in case you want to modify
|
---|
| 520 | something.
|
---|
| 521 | </para>
|
---|
[2c25a56] | 522 |
|
---|
[5aa8088] | 523 | <para>
|
---|
| 524 | To test if the man pages are correctly installed, issue
|
---|
| 525 | <command>source /etc/profile</command> and <command>man java</command>
|
---|
| 526 | to display the respective man page.
|
---|
| 527 | </para>
|
---|
[76df61c] | 528 |
|
---|
[2c25a56] | 529 | </sect3>
|
---|
| 530 |
|
---|
[58cba7f0] | 531 | <sect3 id='ojdk-certs' xreflabel='JRE Certificate Authorithy Certificates'>
|
---|
[b1129a10] | 532 | <title>Install or update the JRE Certificate Authority Certificates
|
---|
| 533 | (cacerts) file</title>
|
---|
[8b9034a] | 534 |
|
---|
[042f456] | 535 | <para>
|
---|
[df15e9f] | 536 | <application>OpenJDK</application> uses its own format for the
|
---|
[5aa8088] | 537 | CA certificates. Those certificates are located in a file named
|
---|
| 538 | <filename>/opt/jdk/jre/lib/security/cacerts</filename>. That file
|
---|
| 539 | may be generated from the one installed using the instructions on the
|
---|
| 540 | <xref linkend="cacerts"/> page, with the following procedure.
|
---|
[df15e9f] | 541 | First, generate the <command>mkcacerts</command> script
|
---|
[042f456] | 542 | as the <systemitem class="username">root</systemitem> user:
|
---|
| 543 | </para>
|
---|
[8b9034a] | 544 |
|
---|
| 545 | <screen role="root"><userinput>cat > /opt/jdk/bin/mkcacerts << "EOF"
|
---|
| 546 | <literal>#!/bin/sh
|
---|
| 547 | # Simple script to extract x509 certificates and create a JRE cacerts file.
|
---|
| 548 |
|
---|
| 549 | function get_args()
|
---|
| 550 | {
|
---|
| 551 | if test -z "${1}" ; then
|
---|
| 552 | showhelp
|
---|
| 553 | exit 1
|
---|
| 554 | fi
|
---|
| 555 |
|
---|
| 556 | while test -n "${1}" ; do
|
---|
| 557 | case "${1}" in
|
---|
| 558 | -f | --cafile)
|
---|
| 559 | check_arg $1 $2
|
---|
| 560 | CAFILE="${2}"
|
---|
| 561 | shift 2
|
---|
| 562 | ;;
|
---|
| 563 | -d | --cadir)
|
---|
| 564 | check_arg $1 $2
|
---|
| 565 | CADIR="${2}"
|
---|
| 566 | shift 2
|
---|
| 567 | ;;
|
---|
| 568 | -o | --outfile)
|
---|
| 569 | check_arg $1 $2
|
---|
| 570 | OUTFILE="${2}"
|
---|
| 571 | shift 2
|
---|
| 572 | ;;
|
---|
| 573 | -k | --keytool)
|
---|
| 574 | check_arg $1 $2
|
---|
| 575 | KEYTOOL="${2}"
|
---|
| 576 | shift 2
|
---|
| 577 | ;;
|
---|
| 578 | -s | --openssl)
|
---|
| 579 | check_arg $1 $2
|
---|
| 580 | OPENSSL="${2}"
|
---|
| 581 | shift 2
|
---|
| 582 | ;;
|
---|
| 583 | -h | --help)
|
---|
| 584 | showhelp
|
---|
| 585 | exit 0
|
---|
| 586 | ;;
|
---|
| 587 | *)
|
---|
| 588 | showhelp
|
---|
| 589 | exit 1
|
---|
| 590 | ;;
|
---|
| 591 | esac
|
---|
| 592 | done
|
---|
| 593 | }
|
---|
| 594 |
|
---|
| 595 | function check_arg()
|
---|
| 596 | {
|
---|
| 597 | echo "${2}" | grep -v "^-" > /dev/null
|
---|
| 598 | if [ -z "$?" -o ! -n "$2" ]; then
|
---|
| 599 | echo "Error: $1 requires a valid argument."
|
---|
| 600 | exit 1
|
---|
| 601 | fi
|
---|
| 602 | }
|
---|
| 603 |
|
---|
| 604 | # The date binary is not reliable on 32bit systems for dates after 2038
|
---|
| 605 | function mydate()
|
---|
| 606 | {
|
---|
| 607 | local y=$( echo $1 | cut -d" " -f4 )
|
---|
| 608 | local M=$( echo $1 | cut -d" " -f1 )
|
---|
| 609 | local d=$( echo $1 | cut -d" " -f2 )
|
---|
| 610 | local m
|
---|
| 611 |
|
---|
| 612 | if [ ${d} -lt 10 ]; then d="0${d}"; fi
|
---|
| 613 |
|
---|
| 614 | case $M in
|
---|
| 615 | Jan) m="01";;
|
---|
| 616 | Feb) m="02";;
|
---|
| 617 | Mar) m="03";;
|
---|
| 618 | Apr) m="04";;
|
---|
| 619 | May) m="05";;
|
---|
| 620 | Jun) m="06";;
|
---|
| 621 | Jul) m="07";;
|
---|
| 622 | Aug) m="08";;
|
---|
| 623 | Sep) m="09";;
|
---|
| 624 | Oct) m="10";;
|
---|
| 625 | Nov) m="11";;
|
---|
| 626 | Dec) m="12";;
|
---|
| 627 | esac
|
---|
| 628 |
|
---|
| 629 | certdate="${y}${m}${d}"
|
---|
| 630 | }
|
---|
| 631 |
|
---|
| 632 | function showhelp()
|
---|
| 633 | {
|
---|
| 634 | echo "`basename ${0}` creates a valid cacerts file for use with IcedTea."
|
---|
| 635 | echo ""
|
---|
[b1129a10] | 636 | echo " -f --cafile The path to a file containing PEM"
|
---|
| 637 | echo " formated CA certificates. May not be"
|
---|
| 638 | echo " used with -d/--cadir."
|
---|
| 639 | echo ""
|
---|
| 640 | echo " -d --cadir The path to a directory of PEM formatted"
|
---|
| 641 | echo " CA certificates. May not be used with"
|
---|
| 642 | echo " -f/--cafile."
|
---|
| 643 | echo ""
|
---|
| 644 | echo " -o --outfile The path to the output file."
|
---|
[8b9034a] | 645 | echo ""
|
---|
[b1129a10] | 646 | echo " -k --keytool The path to the java keytool utility."
|
---|
[8b9034a] | 647 | echo ""
|
---|
[b1129a10] | 648 | echo " -s --openssl The path to the openssl utility."
|
---|
[8b9034a] | 649 | echo ""
|
---|
[b1129a10] | 650 | echo " -h --help Show this help message and exit."
|
---|
[8b9034a] | 651 | echo ""
|
---|
| 652 | echo ""
|
---|
| 653 | }
|
---|
| 654 |
|
---|
[a407a1c] | 655 | # Initialize empty variables so that the shell does not pollute the script
|
---|
[8b9034a] | 656 | CAFILE=""
|
---|
| 657 | CADIR=""
|
---|
| 658 | OUTFILE=""
|
---|
| 659 | OPENSSL=""
|
---|
| 660 | KEYTOOL=""
|
---|
| 661 | certdate=""
|
---|
| 662 | date=""
|
---|
| 663 | today=$( date +%Y%m%d )
|
---|
| 664 |
|
---|
| 665 | # Process command line arguments
|
---|
| 666 | get_args ${@}
|
---|
| 667 |
|
---|
| 668 | # Handle common errors
|
---|
| 669 | if test "${CAFILE}x" == "x" -a "${CADIR}x" == "x" ; then
|
---|
| 670 | echo "ERROR! You must provide an x509 certificate store!"
|
---|
| 671 | echo "\'$(basename ${0}) --help\' for more info."
|
---|
| 672 | echo ""
|
---|
| 673 | exit 1
|
---|
| 674 | fi
|
---|
| 675 |
|
---|
| 676 | if test "${CAFILE}x" != "x" -a "${CADIR}x" != "x" ; then
|
---|
| 677 | echo "ERROR! You cannot provide two x509 certificate stores!"
|
---|
| 678 | echo "\'$(basename ${0}) --help\' for more info."
|
---|
| 679 | echo ""
|
---|
| 680 | exit 1
|
---|
| 681 | fi
|
---|
| 682 |
|
---|
| 683 | if test "${KEYTOOL}x" == "x" ; then
|
---|
| 684 | echo "ERROR! You must provide a valid keytool program!"
|
---|
| 685 | echo "\'$(basename ${0}) --help\' for more info."
|
---|
| 686 | echo ""
|
---|
| 687 | exit 1
|
---|
| 688 | fi
|
---|
| 689 |
|
---|
| 690 | if test "${OPENSSL}x" == "x" ; then
|
---|
| 691 | echo "ERROR! You must provide a valid path to openssl!"
|
---|
| 692 | echo "\'$(basename ${0}) --help\' for more info."
|
---|
| 693 | echo ""
|
---|
| 694 | exit 1
|
---|
| 695 | fi
|
---|
| 696 |
|
---|
| 697 | if test "${OUTFILE}x" == "x" ; then
|
---|
| 698 | echo "ERROR! You must provide a valid output file!"
|
---|
| 699 | echo "\'$(basename ${0}) --help\' for more info."
|
---|
| 700 | echo ""
|
---|
| 701 | exit 1
|
---|
| 702 | fi
|
---|
| 703 |
|
---|
| 704 | # Get on with the work
|
---|
| 705 |
|
---|
| 706 | # If using a CAFILE, split it into individual files in a temp directory
|
---|
| 707 | if test "${CAFILE}x" != "x" ; then
|
---|
| 708 | TEMPDIR=`mktemp -d`
|
---|
| 709 | CADIR="${TEMPDIR}"
|
---|
| 710 |
|
---|
| 711 | # Get a list of staring lines for each cert
|
---|
| 712 | CERTLIST=`grep -n "^-----BEGIN" "${CAFILE}" | cut -d ":" -f 1`
|
---|
| 713 |
|
---|
| 714 | # Get a list of ending lines for each cert
|
---|
| 715 | ENDCERTLIST=`grep -n "^-----END" "${CAFILE}" | cut -d ":" -f 1`
|
---|
| 716 |
|
---|
| 717 | # Start a loop
|
---|
| 718 | for certbegin in `echo "${CERTLIST}"` ; do
|
---|
| 719 | for certend in `echo "${ENDCERTLIST}"` ; do
|
---|
| 720 | if test "${certend}" -gt "${certbegin}"; then
|
---|
| 721 | break
|
---|
| 722 | fi
|
---|
| 723 | done
|
---|
| 724 | sed -n "${certbegin},${certend}p" "${CAFILE}" > "${CADIR}/${certbegin}.pem"
|
---|
| 725 | keyhash=`${OPENSSL} x509 -noout -in "${CADIR}/${certbegin}.pem" -hash`
|
---|
| 726 | echo "Generated PEM file with hash: ${keyhash}."
|
---|
| 727 | done
|
---|
| 728 | fi
|
---|
| 729 |
|
---|
| 730 | # Write the output file
|
---|
| 731 | for cert in `find "${CADIR}" -type f -name "*.pem" -o -name "*.crt"`
|
---|
| 732 | do
|
---|
| 733 |
|
---|
| 734 | # Make sure the certificate date is valid...
|
---|
| 735 | date=$( ${OPENSSL} x509 -enddate -in "${cert}" -noout | sed 's/^notAfter=//' )
|
---|
| 736 | mydate "${date}"
|
---|
| 737 | if test "${certdate}" -lt "${today}" ; then
|
---|
| 738 | echo "${cert} expired on ${certdate}! Skipping..."
|
---|
| 739 | unset date certdate
|
---|
| 740 | continue
|
---|
| 741 | fi
|
---|
| 742 | unset date certdate
|
---|
| 743 | ls "${cert}"
|
---|
| 744 | tempfile=`mktemp`
|
---|
| 745 | certbegin=`grep -n "^-----BEGIN" "${cert}" | cut -d ":" -f 1`
|
---|
| 746 | certend=`grep -n "^-----END" "${cert}" | cut -d ":" -f 1`
|
---|
| 747 | sed -n "${certbegin},${certend}p" "${cert}" > "${tempfile}"
|
---|
[b1129a10] | 748 | echo yes | env LC_ALL=C "${KEYTOOL}" -import \
|
---|
| 749 | -alias `basename "${cert}"` \
|
---|
| 750 | -keystore "${OUTFILE}" \
|
---|
| 751 | -storepass 'changeit' \
|
---|
| 752 | -file "${tempfile}"
|
---|
[8b9034a] | 753 | rm "${tempfile}"
|
---|
| 754 | done
|
---|
| 755 |
|
---|
| 756 | if test "${TEMPDIR}x" != "x" ; then
|
---|
| 757 | rm -rf "${TEMPDIR}"
|
---|
| 758 | fi
|
---|
| 759 | exit 0</literal>
|
---|
| 760 | EOF
|
---|
| 761 |
|
---|
| 762 | chmod -c 0755 /opt/jdk/bin/mkcacerts</userinput></screen>
|
---|
[042f456] | 763 |
|
---|
[8b9034a] | 764 | <note>
|
---|
| 765 | <para>
|
---|
| 766 | Doing a very large copy/paste directly to a terminal may result in a
|
---|
| 767 | corrupted file. Copying to an editor may overcome this issue.
|
---|
| 768 | </para>
|
---|
| 769 | </note>
|
---|
| 770 |
|
---|
[df15e9f] | 771 | <para>
|
---|
| 772 | Generate the <application>OpenJDK</application> <filename>cacerts</filename>
|
---|
| 773 | file as the <systemitem class="username">root</systemitem> user:
|
---|
| 774 | </para>
|
---|
[8b9034a] | 775 |
|
---|
[df15e9f] | 776 | <screen role="root"><userinput>if [ -f /opt/jdk/jre/lib/security/cacerts ]; then
|
---|
| 777 | mv /opt/jdk/jre/lib/security/cacerts \
|
---|
| 778 | /opt/jdk/jre/lib/security/cacerts.bak
|
---|
| 779 | fi &&
|
---|
| 780 | /opt/jdk/bin/mkcacerts \
|
---|
| 781 | -d "/etc/ssl/certs/" \
|
---|
| 782 | -k "/opt/jdk/bin/keytool" \
|
---|
| 783 | -s "/usr/bin/openssl" \
|
---|
[b1129a10] | 784 | -o "/opt/jdk/jre/lib/security/cacerts"</userinput></screen>
|
---|
[8b9034a] | 785 |
|
---|
[5941d6e1] | 786 | <para>Use the following commands to check if the
|
---|
[a727127f] | 787 | <filename>cacerts</filename> file has been successfully installed:</para>
|
---|
| 788 |
|
---|
| 789 | <screen role="root"><userinput>cd /opt/jdk
|
---|
[5941d6e1] | 790 | bin/keytool -list -keystore jre/lib/security/cacerts</userinput></screen>
|
---|
| 791 |
|
---|
| 792 | <para>At the prompt "Enter keystore password:", press the "Enter" key if
|
---|
| 793 | there is no keystore password defined. If the <filename>cacerts</filename>
|
---|
| 794 | file was installed correctly, you will see a list of the certificates with
|
---|
| 795 | related information for each one. If not, you need to reinstall
|
---|
| 796 | them.</para>
|
---|
| 797 |
|
---|
[8b9034a] | 798 | </sect3>
|
---|
| 799 |
|
---|
[2c25a56] | 800 | </sect2>
|
---|
| 801 |
|
---|
| 802 | <sect2 role="content">
|
---|
| 803 | <title>Contents</title>
|
---|
| 804 |
|
---|
| 805 | <segmentedlist>
|
---|
| 806 | <segtitle>Installed Programs</segtitle>
|
---|
| 807 | <segtitle>Installed Libraries</segtitle>
|
---|
| 808 | <segtitle>Installed Directory</segtitle>
|
---|
| 809 |
|
---|
| 810 | <seglistitem>
|
---|
[042f456] | 811 | <seg>appletviewer, extcheck, idlj, jar,
|
---|
[2c25a56] | 812 | jarsigner, java, javac, javadoc, javah, javap, java-rmi.cgi,
|
---|
[042f456] | 813 | jcmd, jconsole, jdb, jdeps, jhat, jinfo, jjs, jmap, jps,
|
---|
[1c46121] | 814 | jrunscript, jsadebugd, jstack, jstat, jstatd, keytool, mkcacerts,
|
---|
[2c25a56] | 815 | native2ascii, orbd, pack200, policytool, rmic, rmid, rmiregistry,
|
---|
| 816 | schemagen, serialver, servertool, tnameserv, unpack200,
|
---|
| 817 | wsgen, wsimport, and xjc</seg>
|
---|
[4d180035] | 818 | <seg>/opt/OpenJDK-&openjdk-version;/lib/*, and
|
---|
| 819 | /opt/OpenJDK-&openjdk-version;/jre/lib/*</seg>
|
---|
| 820 | <seg>/opt/OpenJDK-&openjdk-version;</seg>
|
---|
[2c25a56] | 821 | </seglistitem>
|
---|
| 822 | </segmentedlist>
|
---|
| 823 |
|
---|
| 824 | <variablelist>
|
---|
| 825 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 826 | <?dbfo list-presentation="list"?>
|
---|
| 827 | <?dbhtml list-presentation="table"?>
|
---|
| 828 |
|
---|
[49b50d4] | 829 | <varlistentry id="appletviewer">
|
---|
| 830 | <term><command>appletviewer</command></term>
|
---|
| 831 | <listitem>
|
---|
[042f456] | 832 | <para>allows to run applets outside of a web browser.</para>
|
---|
[49b50d4] | 833 | <indexterm zone="openjdk appletviewer">
|
---|
| 834 | <primary sortas="b-appletviewer">appletviewer</primary>
|
---|
| 835 | </indexterm>
|
---|
| 836 | </listitem>
|
---|
| 837 | </varlistentry>
|
---|
| 838 |
|
---|
| 839 | <varlistentry id="extcheck">
|
---|
[2c25a56] | 840 | <term><command>extcheck</command></term>
|
---|
| 841 | <listitem>
|
---|
| 842 | <para>checks a specified jar file for title and version conflicts
|
---|
[49b50d4] | 843 | with any extensions installed in the
|
---|
| 844 | <application>OpenJDK</application> software.</para>
|
---|
| 845 | <indexterm zone="openjdk extcheck">
|
---|
[2c25a56] | 846 | <primary sortas="b-extcheck">extcheck</primary>
|
---|
| 847 | </indexterm>
|
---|
| 848 | </listitem>
|
---|
| 849 | </varlistentry>
|
---|
| 850 |
|
---|
[49b50d4] | 851 | <varlistentry id="idlj">
|
---|
[2c25a56] | 852 | <term><command>idlj</command></term>
|
---|
| 853 | <listitem>
|
---|
| 854 | <para>generates Java bindings from a given IDL file.</para>
|
---|
[49b50d4] | 855 | <indexterm zone="openjdk idlj">
|
---|
[2c25a56] | 856 | <primary sortas="b-idlj">idlj</primary>
|
---|
| 857 | </indexterm>
|
---|
| 858 | </listitem>
|
---|
| 859 | </varlistentry>
|
---|
| 860 |
|
---|
[49b50d4] | 861 | <varlistentry id="jar">
|
---|
[2c25a56] | 862 | <term><command>jar</command></term>
|
---|
| 863 | <listitem>
|
---|
| 864 | <para>combines multiple files into a single jar archive.</para>
|
---|
[49b50d4] | 865 | <indexterm zone="openjdk jar">
|
---|
[2c25a56] | 866 | <primary sortas="b-jar">jar</primary>
|
---|
| 867 | </indexterm>
|
---|
| 868 | </listitem>
|
---|
| 869 | </varlistentry>
|
---|
| 870 |
|
---|
[49b50d4] | 871 | <varlistentry id="jarsigner">
|
---|
[2c25a56] | 872 | <term><command>jarsigner</command></term>
|
---|
| 873 | <listitem>
|
---|
| 874 | <para>signs jar files and verifies the signatures and integrity
|
---|
| 875 | of a signed jar file.</para>
|
---|
[49b50d4] | 876 | <indexterm zone="openjdk jarsigner">
|
---|
[2c25a56] | 877 | <primary sortas="b-jarsigner">jarsigner</primary>
|
---|
| 878 | </indexterm>
|
---|
| 879 | </listitem>
|
---|
| 880 | </varlistentry>
|
---|
| 881 |
|
---|
[784a1a7f] | 882 | <varlistentry id="java-prog">
|
---|
[2c25a56] | 883 | <term><command>java</command></term>
|
---|
| 884 | <listitem>
|
---|
| 885 | <para>launches a Java application by starting a Java runtime
|
---|
| 886 | environment, loading a specified class and invoking its main
|
---|
| 887 | method.</para>
|
---|
[784a1a7f] | 888 | <indexterm zone="openjdk java-prog">
|
---|
| 889 | <primary sortas="b-java-prog">java</primary>
|
---|
[2c25a56] | 890 | </indexterm>
|
---|
| 891 | </listitem>
|
---|
| 892 | </varlistentry>
|
---|
| 893 |
|
---|
[49b50d4] | 894 | <varlistentry id="javac">
|
---|
[2c25a56] | 895 | <term><command>javac</command></term>
|
---|
| 896 | <listitem>
|
---|
| 897 | <para>reads class and interface definitions, written in the
|
---|
| 898 | Java programming language, and compiles them into bytecode
|
---|
| 899 | class files.</para>
|
---|
[49b50d4] | 900 | <indexterm zone="openjdk javac">
|
---|
[2c25a56] | 901 | <primary sortas="b-javac">javac</primary>
|
---|
| 902 | </indexterm>
|
---|
| 903 | </listitem>
|
---|
| 904 | </varlistentry>
|
---|
| 905 |
|
---|
[49b50d4] | 906 | <varlistentry id="javadoc">
|
---|
[2c25a56] | 907 | <term><command>javadoc</command></term>
|
---|
| 908 | <listitem>
|
---|
| 909 | <para>parses the declarations and documentation comments in a
|
---|
| 910 | set of Java source files and produces a corresponding set of
|
---|
[042f456] | 911 | HTML pages describing the classes, interfaces, constructors,
|
---|
[2c25a56] | 912 | methods, and fields.</para>
|
---|
[49b50d4] | 913 | <indexterm zone="openjdk javadoc">
|
---|
[2c25a56] | 914 | <primary sortas="b-javadoc">javadoc</primary>
|
---|
| 915 | </indexterm>
|
---|
| 916 | </listitem>
|
---|
| 917 | </varlistentry>
|
---|
| 918 |
|
---|
[49b50d4] | 919 | <varlistentry id="javah">
|
---|
[2c25a56] | 920 | <term><command>javah</command></term>
|
---|
| 921 | <listitem>
|
---|
| 922 | <para>generates C header and source files
|
---|
| 923 | that are needed to implement native methods.</para>
|
---|
[49b50d4] | 924 | <indexterm zone="openjdk javah">
|
---|
[2c25a56] | 925 | <primary sortas="b-javah">javah</primary>
|
---|
| 926 | </indexterm>
|
---|
| 927 | </listitem>
|
---|
| 928 | </varlistentry>
|
---|
| 929 |
|
---|
[49b50d4] | 930 | <varlistentry id="javap">
|
---|
[2c25a56] | 931 | <term><command>javap</command></term>
|
---|
| 932 | <listitem>
|
---|
| 933 | <para>disassembles a Java class file.</para>
|
---|
[49b50d4] | 934 | <indexterm zone="openjdk javap">
|
---|
[2c25a56] | 935 | <primary sortas="b-javap">javap</primary>
|
---|
| 936 | </indexterm>
|
---|
| 937 | </listitem>
|
---|
| 938 | </varlistentry>
|
---|
| 939 |
|
---|
[49b50d4] | 940 | <varlistentry id="java-rmi.cgi">
|
---|
[2c25a56] | 941 | <term><command>java-rmi.cgi</command></term>
|
---|
| 942 | <listitem>
|
---|
| 943 | <para>is the Java RMI client.</para>
|
---|
[49b50d4] | 944 | <indexterm zone="openjdk java-rmi.cgi">
|
---|
[2c25a56] | 945 | <primary sortas="b-java-rmi.cgi">java-rmi.cgi</primary>
|
---|
| 946 | </indexterm>
|
---|
| 947 | </listitem>
|
---|
| 948 | </varlistentry>
|
---|
| 949 |
|
---|
[49b50d4] | 950 | <varlistentry id="jcmd">
|
---|
| 951 | <term><command>jcmd</command></term>
|
---|
| 952 | <listitem>
|
---|
| 953 | <para>is a utility to send diagnostic command requests to a running
|
---|
| 954 | Java Virtual Machine.</para>
|
---|
| 955 | <indexterm zone="openjdk jcmd">
|
---|
| 956 | <primary sortas="b-jcmd">jcmd</primary>
|
---|
| 957 | </indexterm>
|
---|
| 958 | </listitem>
|
---|
| 959 | </varlistentry>
|
---|
| 960 |
|
---|
| 961 | <varlistentry id="jconsole">
|
---|
[2c25a56] | 962 | <term><command>jconsole</command></term>
|
---|
| 963 | <listitem>
|
---|
| 964 | <para>is a graphical console tool to monitor and manage both
|
---|
| 965 | local and remote Java applications and virtual machines.</para>
|
---|
[49b50d4] | 966 | <indexterm zone="openjdk jconsole">
|
---|
[2c25a56] | 967 | <primary sortas="b-jconsole">jconsole</primary>
|
---|
| 968 | </indexterm>
|
---|
| 969 | </listitem>
|
---|
| 970 | </varlistentry>
|
---|
| 971 |
|
---|
[49b50d4] | 972 | <varlistentry id="jdb">
|
---|
[2c25a56] | 973 | <term><command>jdb</command></term>
|
---|
| 974 | <listitem>
|
---|
| 975 | <para>is a simple command-line debugger for Java classes.</para>
|
---|
[49b50d4] | 976 | <indexterm zone="openjdk jdb">
|
---|
[2c25a56] | 977 | <primary sortas="b-jdb">jdb</primary>
|
---|
| 978 | </indexterm>
|
---|
| 979 | </listitem>
|
---|
| 980 | </varlistentry>
|
---|
| 981 |
|
---|
[042f456] | 982 | <varlistentry id="jdeps">
|
---|
| 983 | <term><command>jdeps</command></term>
|
---|
| 984 | <listitem>
|
---|
| 985 | <para>shows the package-level or class-level dependencies of
|
---|
| 986 | Java class files.</para>
|
---|
| 987 | <indexterm zone="openjdk jdeps">
|
---|
| 988 | <primary sortas="b-jdeps">jdeps</primary>
|
---|
| 989 | </indexterm>
|
---|
| 990 | </listitem>
|
---|
| 991 | </varlistentry>
|
---|
| 992 |
|
---|
[49b50d4] | 993 | <varlistentry id="jhat">
|
---|
[2c25a56] | 994 | <term><command>jhat</command></term>
|
---|
| 995 | <listitem>
|
---|
[042f456] | 996 | <para>parses a java heap dump file and allows viewing it
|
---|
[4d180035] | 997 | in a web browser.</para>
|
---|
[49b50d4] | 998 | <indexterm zone="openjdk jhat">
|
---|
[2c25a56] | 999 | <primary sortas="b-jhat">jhat</primary>
|
---|
| 1000 | </indexterm>
|
---|
| 1001 | </listitem>
|
---|
| 1002 | </varlistentry>
|
---|
| 1003 |
|
---|
[49b50d4] | 1004 | <varlistentry id="jinfo">
|
---|
[2c25a56] | 1005 | <term><command>jinfo</command></term>
|
---|
| 1006 | <listitem>
|
---|
| 1007 | <para>prints Java configuration information for a given Java
|
---|
| 1008 | process, core file, or a remote debug server.</para>
|
---|
[49b50d4] | 1009 | <indexterm zone="openjdk jinfo">
|
---|
[2c25a56] | 1010 | <primary sortas="b-jinfo">jinfo</primary>
|
---|
| 1011 | </indexterm>
|
---|
[042f456] | 1012 | </listitem>
|
---|
| 1013 | </varlistentry>
|
---|
| 1014 |
|
---|
| 1015 | <varlistentry id="jjs">
|
---|
| 1016 | <term><command>jjs</command></term>
|
---|
| 1017 | <listitem>
|
---|
| 1018 | <para>is a command-line tool used to invoke the Nashorn engine. It
|
---|
| 1019 | can be used to interpret one or several script files, or to run
|
---|
| 1020 | an interactive shell.</para>
|
---|
| 1021 | <indexterm zone="openjdk jjs">
|
---|
| 1022 | <primary sortas="b-jjs">jjs</primary>
|
---|
| 1023 | </indexterm>
|
---|
[2c25a56] | 1024 | </listitem>
|
---|
| 1025 | </varlistentry>
|
---|
| 1026 |
|
---|
[49b50d4] | 1027 | <varlistentry id="jmap">
|
---|
[2c25a56] | 1028 | <term><command>jmap</command></term>
|
---|
| 1029 | <listitem>
|
---|
| 1030 | <para>prints shared object memory maps or heap memory details
|
---|
| 1031 | of a given process, core file, or a remote debug server.</para>
|
---|
[49b50d4] | 1032 | <indexterm zone="openjdk jmap">
|
---|
[2c25a56] | 1033 | <primary sortas="b-jmap">jmap</primary>
|
---|
| 1034 | </indexterm>
|
---|
| 1035 | </listitem>
|
---|
| 1036 | </varlistentry>
|
---|
| 1037 |
|
---|
[49b50d4] | 1038 | <varlistentry id="jps">
|
---|
[2c25a56] | 1039 | <term><command>jps</command></term>
|
---|
| 1040 | <listitem>
|
---|
| 1041 | <para>lists the instrumented JVMs on the target system.</para>
|
---|
[49b50d4] | 1042 | <indexterm zone="openjdk jps">
|
---|
[2c25a56] | 1043 | <primary sortas="b-jps">jps</primary>
|
---|
| 1044 | </indexterm>
|
---|
| 1045 | </listitem>
|
---|
| 1046 | </varlistentry>
|
---|
| 1047 |
|
---|
[49b50d4] | 1048 | <varlistentry id="jrunscript">
|
---|
[2c25a56] | 1049 | <term><command>jrunscript</command></term>
|
---|
| 1050 | <listitem>
|
---|
| 1051 | <para>is a command line script shell.</para>
|
---|
[49b50d4] | 1052 | <indexterm zone="openjdk jrunscript">
|
---|
[2c25a56] | 1053 | <primary sortas="b-jrunscript">jrunscript</primary>
|
---|
| 1054 | </indexterm>
|
---|
| 1055 | </listitem>
|
---|
| 1056 | </varlistentry>
|
---|
| 1057 |
|
---|
[49b50d4] | 1058 | <varlistentry id="jsadebugd">
|
---|
[2c25a56] | 1059 | <term><command>jsadebugd</command></term>
|
---|
| 1060 | <listitem>
|
---|
| 1061 | <para>attaches to a Java process or core file and acts as a
|
---|
| 1062 | debug server.</para>
|
---|
[49b50d4] | 1063 | <indexterm zone="openjdk jsadebugd">
|
---|
[2c25a56] | 1064 | <primary sortas="b-jsadebugd">jsadebugd</primary>
|
---|
| 1065 | </indexterm>
|
---|
| 1066 | </listitem>
|
---|
| 1067 | </varlistentry>
|
---|
| 1068 |
|
---|
[49b50d4] | 1069 | <varlistentry id="jstack">
|
---|
[2c25a56] | 1070 | <term><command>jstack</command></term>
|
---|
| 1071 | <listitem>
|
---|
| 1072 | <para>prints Java stack traces of Java threads for a given
|
---|
| 1073 | Java process, core file, or a remote debug server.</para>
|
---|
[49b50d4] | 1074 | <indexterm zone="openjdk jstack">
|
---|
[2c25a56] | 1075 | <primary sortas="b-jstack">jstack</primary>
|
---|
| 1076 | </indexterm>
|
---|
| 1077 | </listitem>
|
---|
| 1078 | </varlistentry>
|
---|
| 1079 |
|
---|
[49b50d4] | 1080 | <varlistentry id="jstat">
|
---|
[2c25a56] | 1081 | <term><command>jstat</command></term>
|
---|
| 1082 | <listitem>
|
---|
| 1083 | <para>displays performance statistics for an instrumented JVM.</para>
|
---|
[49b50d4] | 1084 | <indexterm zone="openjdk jstat">
|
---|
[2c25a56] | 1085 | <primary sortas="b-jstat">jstat</primary>
|
---|
| 1086 | </indexterm>
|
---|
| 1087 | </listitem>
|
---|
| 1088 | </varlistentry>
|
---|
| 1089 |
|
---|
[49b50d4] | 1090 | <varlistentry id="jstatd">
|
---|
[2c25a56] | 1091 | <term><command>jstatd</command></term>
|
---|
| 1092 | <listitem>
|
---|
| 1093 | <para>is an RMI server application that monitors for the creation
|
---|
| 1094 | and termination of instrumented JVMs.</para>
|
---|
[49b50d4] | 1095 | <indexterm zone="openjdk jstatd">
|
---|
[2c25a56] | 1096 | <primary sortas="b-jstatd">jstatd</primary>
|
---|
| 1097 | </indexterm>
|
---|
| 1098 | </listitem>
|
---|
| 1099 | </varlistentry>
|
---|
| 1100 |
|
---|
[49b50d4] | 1101 | <varlistentry id="keytool">
|
---|
[2c25a56] | 1102 | <term><command>keytool</command></term>
|
---|
| 1103 | <listitem>
|
---|
| 1104 | <para>is a key and certificate management utility.</para>
|
---|
[49b50d4] | 1105 | <indexterm zone="openjdk keytool">
|
---|
[2c25a56] | 1106 | <primary sortas="b-keytool">keytool</primary>
|
---|
| 1107 | </indexterm>
|
---|
| 1108 | </listitem>
|
---|
| 1109 | </varlistentry>
|
---|
| 1110 |
|
---|
[1c46121] | 1111 | <varlistentry id="mkcacerts">
|
---|
| 1112 | <term><command>mkcacerts</command></term>
|
---|
| 1113 | <listitem>
|
---|
| 1114 | <para> is a simple script to extract x509 certificates and create
|
---|
| 1115 | a JRE cacerts file using <command>keytool</command>.</para>
|
---|
| 1116 | <indexterm zone="openjdk mkcacerts">
|
---|
| 1117 | <primary sortas="b-mkcacerts">mkcacerts</primary>
|
---|
| 1118 | </indexterm>
|
---|
| 1119 | </listitem>
|
---|
| 1120 | </varlistentry>
|
---|
| 1121 |
|
---|
[49b50d4] | 1122 | <varlistentry id="native2ascii">
|
---|
[2c25a56] | 1123 | <term><command>native2ascii</command></term>
|
---|
| 1124 | <listitem>
|
---|
| 1125 | <para> converts files that contain non-supported character encoding
|
---|
| 1126 | into files containing Latin-1 or Unicode-encoded characters.</para>
|
---|
[49b50d4] | 1127 | <indexterm zone="openjdk native2ascii">
|
---|
[2c25a56] | 1128 | <primary sortas="b-native2ascii">native2ascii</primary>
|
---|
| 1129 | </indexterm>
|
---|
| 1130 | </listitem>
|
---|
| 1131 | </varlistentry>
|
---|
| 1132 |
|
---|
[49b50d4] | 1133 | <varlistentry id="orbd">
|
---|
[2c25a56] | 1134 | <term><command>orbd</command></term>
|
---|
| 1135 | <listitem>
|
---|
| 1136 | <para>is used to enable clients to transparently locate and invoke
|
---|
| 1137 | persistent objects on servers in the CORBA environment.</para>
|
---|
[49b50d4] | 1138 | <indexterm zone="openjdk orbd">
|
---|
[2c25a56] | 1139 | <primary sortas="b-orbd">orbd</primary>
|
---|
| 1140 | </indexterm>
|
---|
| 1141 | </listitem>
|
---|
| 1142 | </varlistentry>
|
---|
| 1143 |
|
---|
[49b50d4] | 1144 | <varlistentry id="pack200">
|
---|
[2c25a56] | 1145 | <term><command>pack200</command></term>
|
---|
| 1146 | <listitem>
|
---|
| 1147 | <para>is a Java application that transforms a jar file into a
|
---|
| 1148 | compressed pack200 file using the Java gzip compressor.</para>
|
---|
[49b50d4] | 1149 | <indexterm zone="openjdk pack200">
|
---|
[2c25a56] | 1150 | <primary sortas="b-pack200">pack200</primary>
|
---|
| 1151 | </indexterm>
|
---|
| 1152 | </listitem>
|
---|
| 1153 | </varlistentry>
|
---|
| 1154 |
|
---|
[49b50d4] | 1155 | <varlistentry id="policytool">
|
---|
[2c25a56] | 1156 | <term><command>policytool</command></term>
|
---|
| 1157 | <listitem>
|
---|
| 1158 | <para>creates and manages a policy file graphically.</para>
|
---|
[49b50d4] | 1159 | <indexterm zone="openjdk policytool">
|
---|
[2c25a56] | 1160 | <primary sortas="b-policytool">policytool</primary>
|
---|
| 1161 | </indexterm>
|
---|
| 1162 | </listitem>
|
---|
| 1163 | </varlistentry>
|
---|
| 1164 |
|
---|
[49b50d4] | 1165 | <varlistentry id="rmic">
|
---|
[2c25a56] | 1166 | <term><command>rmic</command></term>
|
---|
| 1167 | <listitem>
|
---|
| 1168 | <para>generates stub and skeleton class files for remote objects
|
---|
| 1169 | from the names of compiled Java classes that contain remote
|
---|
| 1170 | object implementations.</para>
|
---|
[49b50d4] | 1171 | <indexterm zone="openjdk rmic">
|
---|
[2c25a56] | 1172 | <primary sortas="b-rmic">rmic</primary>
|
---|
| 1173 | </indexterm>
|
---|
| 1174 | </listitem>
|
---|
| 1175 | </varlistentry>
|
---|
| 1176 |
|
---|
[49b50d4] | 1177 | <varlistentry id="rmid">
|
---|
[2c25a56] | 1178 | <term><command>rmid</command></term>
|
---|
| 1179 | <listitem>
|
---|
| 1180 | <para>starts the activation system daemon.</para>
|
---|
[49b50d4] | 1181 | <indexterm zone="openjdk rmid">
|
---|
[2c25a56] | 1182 | <primary sortas="b-rmid">rmid</primary>
|
---|
| 1183 | </indexterm>
|
---|
| 1184 | </listitem>
|
---|
| 1185 | </varlistentry>
|
---|
| 1186 |
|
---|
[49b50d4] | 1187 | <varlistentry id="rmiregistry">
|
---|
[2c25a56] | 1188 | <term><command>rmiregistry</command></term>
|
---|
| 1189 | <listitem>
|
---|
| 1190 | <para>creates and starts a remote object registry on the specified
|
---|
| 1191 | port on the current host.</para>
|
---|
[49b50d4] | 1192 | <indexterm zone="openjdk rmiregistry">
|
---|
[2c25a56] | 1193 | <primary sortas="b-rmiregistry">rmiregistry</primary>
|
---|
| 1194 | </indexterm>
|
---|
| 1195 | </listitem>
|
---|
| 1196 | </varlistentry>
|
---|
| 1197 |
|
---|
[49b50d4] | 1198 | <varlistentry id="schemagen">
|
---|
[2c25a56] | 1199 | <term><command>schemagen</command></term>
|
---|
| 1200 | <listitem>
|
---|
| 1201 | <para>is a Java XML binding schema generator.</para>
|
---|
[49b50d4] | 1202 | <indexterm zone="openjdk schemagen">
|
---|
[2c25a56] | 1203 | <primary sortas="b-schemagen">schemagen</primary>
|
---|
| 1204 | </indexterm>
|
---|
| 1205 | </listitem>
|
---|
| 1206 | </varlistentry>
|
---|
| 1207 |
|
---|
[49b50d4] | 1208 | <varlistentry id="serialver">
|
---|
[2c25a56] | 1209 | <term><command>serialver</command></term>
|
---|
| 1210 | <listitem>
|
---|
| 1211 | <para>returns the serialVersionUID for one or more classes in a
|
---|
| 1212 | form suitable for copying into an evolving class.</para>
|
---|
[49b50d4] | 1213 | <indexterm zone="openjdk serialver">
|
---|
[2c25a56] | 1214 | <primary sortas="b-serialver">serialver</primary>
|
---|
| 1215 | </indexterm>
|
---|
| 1216 | </listitem>
|
---|
| 1217 | </varlistentry>
|
---|
| 1218 |
|
---|
[49b50d4] | 1219 | <varlistentry id="servertool">
|
---|
[2c25a56] | 1220 | <term><command>servertool</command></term>
|
---|
| 1221 | <listitem>
|
---|
| 1222 | <para>provides an ease-of-use interface for application programmers
|
---|
| 1223 | to register, unregister, startup and shutdown a server.</para>
|
---|
[49b50d4] | 1224 | <indexterm zone="openjdk servertool">
|
---|
[2c25a56] | 1225 | <primary sortas="b-servertool">servertool</primary>
|
---|
| 1226 | </indexterm>
|
---|
| 1227 | </listitem>
|
---|
| 1228 | </varlistentry>
|
---|
| 1229 |
|
---|
[49b50d4] | 1230 | <varlistentry id="tnameserv">
|
---|
[2c25a56] | 1231 | <term><command>tnameserv</command></term>
|
---|
| 1232 | <listitem>
|
---|
| 1233 | <para>starts the Java IDL name server.</para>
|
---|
[49b50d4] | 1234 | <indexterm zone="openjdk tnameserv">
|
---|
[2c25a56] | 1235 | <primary sortas="b-tnameserv">tnameserv</primary>
|
---|
| 1236 | </indexterm>
|
---|
| 1237 | </listitem>
|
---|
| 1238 | </varlistentry>
|
---|
| 1239 |
|
---|
[49b50d4] | 1240 | <varlistentry id="unpack200">
|
---|
[2c25a56] | 1241 | <term><command>unpack200</command></term>
|
---|
| 1242 | <listitem>
|
---|
| 1243 | <para>is a native implementation that transforms a packed file
|
---|
| 1244 | produced by <application>pack200</application> into a jar
|
---|
| 1245 | file.</para>
|
---|
[49b50d4] | 1246 | <indexterm zone="openjdk unpack200">
|
---|
[2c25a56] | 1247 | <primary sortas="b-unpack200">unpack200</primary>
|
---|
| 1248 | </indexterm>
|
---|
| 1249 | </listitem>
|
---|
| 1250 | </varlistentry>
|
---|
| 1251 |
|
---|
[49b50d4] | 1252 | <varlistentry id="wsgen">
|
---|
[2c25a56] | 1253 | <term><command>wsgen</command></term>
|
---|
| 1254 | <listitem>
|
---|
| 1255 | <para>generates JAX-WS portable artifacts used in JAX-WS
|
---|
| 1256 | web services.</para>
|
---|
[49b50d4] | 1257 | <indexterm zone="openjdk wsgen">
|
---|
[2c25a56] | 1258 | <primary sortas="b-wsgen">wsgen</primary>
|
---|
| 1259 | </indexterm>
|
---|
| 1260 | </listitem>
|
---|
| 1261 | </varlistentry>
|
---|
| 1262 |
|
---|
[49b50d4] | 1263 | <varlistentry id="wsimport">
|
---|
[2c25a56] | 1264 | <term><command>wsimport</command></term>
|
---|
| 1265 | <listitem>
|
---|
| 1266 | <para>generates JAX-WS portable artifacts.</para>
|
---|
[49b50d4] | 1267 | <indexterm zone="openjdk wsimport">
|
---|
[2c25a56] | 1268 | <primary sortas="b-wsimport">wsimport</primary>
|
---|
| 1269 | </indexterm>
|
---|
| 1270 | </listitem>
|
---|
| 1271 | </varlistentry>
|
---|
| 1272 |
|
---|
[49b50d4] | 1273 | <varlistentry id="xjc">
|
---|
[2c25a56] | 1274 | <term><command>xjc</command></term>
|
---|
| 1275 | <listitem>
|
---|
| 1276 | <para>is a Java XML binding compiler.</para>
|
---|
[49b50d4] | 1277 | <indexterm zone="openjdk xjc">
|
---|
[2c25a56] | 1278 | <primary sortas="b-xjc">xjc</primary>
|
---|
| 1279 | </indexterm>
|
---|
| 1280 | </listitem>
|
---|
| 1281 | </varlistentry>
|
---|
| 1282 |
|
---|
| 1283 | </variablelist>
|
---|
| 1284 |
|
---|
| 1285 | </sect2>
|
---|
| 1286 |
|
---|
| 1287 | </sect1>
|
---|