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