- Timestamp:
- 04/29/2017 08:22:32 PM (7 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 6d5acf3
- Parents:
- d24954f
- Location:
- general/prog
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/java.xml
rd24954f rbf7a1821 7 7 <!ENTITY anduin-download "&sources-anduin-http;/OpenJDK/OpenJDK-&openjdk-version;"> 8 8 <!ENTITY openjdk-download-binary-x86 "&anduin-download;/OpenJDK-&openjdk-version;-i686-bin.tar.xz"> 9 <!ENTITY openjdk-bin-md5sum-x86 " 69a1c15a7381fd8de4a7d019971c078e">9 <!ENTITY openjdk-bin-md5sum-x86 "e3e114790aca548785be9f9c9657dcff"> 10 10 <!ENTITY openjdk-bin-size-x86 "57 MB"> 11 <!ENTITY openjdk-bin-buildsize-x86 "16 6MB">11 <!ENTITY openjdk-bin-buildsize-x86 "167 MB"> 12 12 13 13 14 14 <!ENTITY openjdk-download-binary-x64 "&anduin-download;/OpenJDK-&openjdk-version;-x86_64-bin.tar.xz"> 15 <!ENTITY openjdk-bin-md5sum-x64 " 1aec751c6f406cbf1f48fc98ab7ead1c">15 <!ENTITY openjdk-bin-md5sum-x64 "645098b95f596fd733db8590405edb2a"> 16 16 <!ENTITY openjdk-bin-size-x64 "58 MB"> 17 17 <!ENTITY openjdk-bin-buildsize-x64 "170 MB"> -
general/prog/openjdk.xml
rd24954f rbf7a1821 5 5 %general-entities; 6 6 7 <!ENTITY ojdk-upd "1 21">8 <!ENTITY ojdk-bd "b1 3">7 <!ENTITY ojdk-upd "131"> 8 <!ENTITY ojdk-bd "b11"> 9 9 <!ENTITY ojdk-tarball "jdk8u&ojdk-upd;-&ojdk-bd;.tar.bz2"> 10 10 <!ENTITY ojdk-repo "http://hg.openjdk.java.net/jdk8u/jdk8u"> … … 13 13 <!ENTITY anduin-download "&sources-anduin-http;/OpenJDK/OpenJDK-&openjdk-version;"> 14 14 15 <!ENTITY ojdk-md5sum " 5f3def798fa3a0b2c60ae891856dc9c5">15 <!ENTITY ojdk-md5sum "10f8bc31c15a976dabef42b78222041a"> 16 16 <!ENTITY ojdk-size "401 KB"> 17 17 18 <!ENTITY corba-md5sum " 9c052259b93646687fdcfb71643b69b4">19 <!ENTITY hotspot-md5sum " 0ca6e85dcbd96dfa24ac1bdd833aab2e">20 <!ENTITY jaxp-md5sum " c2b5c1947c4aef684b27a463e4149d06">21 <!ENTITY jaxws-md5sum " 5a83842eca3881c7bf6abeaccac8f05d">22 <!ENTITY jdk-md5sum " 0325b88a2b39d7d72ef0726e91ea4a1d">23 <!ENTITY langtools-md5sum " 4dbe002af94423cbe382dda03e3e6a9d">24 <!ENTITY nashorn-md5sum " c87f96bc7ba9596fb5587e307a8f1ec6">18 <!ENTITY corba-md5sum "56ef949b915e684feb9ff22eb6843d4f"> 19 <!ENTITY hotspot-md5sum "73c46cf954de8c7636f2fc32ed818cc0"> 20 <!ENTITY jaxp-md5sum "536dd3733705f6588add4eaa40cd9a48"> 21 <!ENTITY jaxws-md5sum "7c5f85ee99f0e300344a07a5f39bb1fe"> 22 <!ENTITY jdk-md5sum "9ead63f267880850c7747d49b0b84797"> 23 <!ENTITY langtools-md5sum "1c6ef3557e00f744bb4c99a10365c3c3"> 24 <!ENTITY nashorn-md5sum "0206d4536358723ec0a941471a176db4"> 25 25 <!ENTITY total-download-size "63 MB"> 26 26 27 <!ENTITY jtreg-version "4.2-b0 5-747">27 <!ENTITY jtreg-version "4.2-b07-816"> 28 28 <!ENTITY jtreg-download "&anduin-download;/jtreg-&jtreg-version;.tar.gz"> 29 <!ENTITY jtreg-md5sum " 560d275d055112487ea879c44a985b30">30 <!ENTITY jtreg-size " 7.2MB">29 <!ENTITY jtreg-md5sum "e4d2b65faf86bd0d108d42aae1d1c124"> 30 <!ENTITY jtreg-size "6.9 MB"> 31 31 32 32 <!ENTITY icedtea-web-download "http://icedtea.classpath.org/download/source/icedtea-web-&icedtea-web-version;.tar.gz"> 33 33 34 <!ENTITY ojdk-buildsize "3. 5 GB (additional 420MB for tests)">35 <!ENTITY ojdk-time "5 SBU with 4 jobs in parallel (up to 120 SBU for tests, see below)">34 <!ENTITY ojdk-buildsize "3.1 GB (additional 495 MB for tests)"> 35 <!ENTITY ojdk-time "5.2 SBU with 4 jobs in parallel (up to 120 SBU for tests, see below)"> 36 36 ]> 37 37 38 <sect1 id="openjdk" 39 xreflabel="OpenJDK-&openjdk-version;"> 38 <sect1 id="openjdk" xreflabel="OpenJDK-&openjdk-version;"> 40 39 <?dbhtml filename="openjdk.html" ?> 41 40 … … 134 133 <para> 135 134 In addition to the root package, the instructions below first 136 download seven subproject tarballs, 137 whose total size is&total-download-size;.135 download seven subproject tarballs, whose total size is 136 &total-download-size;. 138 137 </para> 139 138 </listitem> … … 206 205 <para> 207 206 Unlike other packages in BLFS, the <application>OpenJDK</application> 208 source packages are distributed in multiple tar 207 source packages are distributed in multiple tarballs. You need to first 209 208 extract the source root from <filename>&ojdk-tarball;</filename>, change 210 209 into the extracted directory, then proceed with the following … … 247 246 Before proceeding, you should ensure that your environment 248 247 <envar>PATH</envar> variable contains the location of the Java 249 compiler sused for bootstrapping <application>OpenJDK</application>.248 compiler used for bootstrapping <application>OpenJDK</application>. 250 249 This is the only requirement for the environment. Modern Java 251 250 installations do not need <envar>JAVA_HOME</envar> and … … 267 266 <screen><userinput>unset JAVA_HOME && 268 267 sh ./configure \ 269 --with-update-version=&ojdk-upd; 268 --with-update-version=&ojdk-upd; \ 270 269 --with-build-number=&ojdk-bd; \ 271 270 --with-milestone=BLFS \ … … 346 345 </para> 347 346 348 < !-- no && here either, because the first "make" may return an error -->349 <screen role='nodump'><userinput>LANG=C make -k -C test\350 JT_HOME=${JT_HOME} \351 JT_JAVA=${JT_JAVA} \352 PRODUCT_HOME=${PRODUCT_HOME} all 347 <screen role='nodump'><userinput> 348 LANG=C make -k -C test \ 349 JT_HOME=${JT_HOME} \ 350 JT_JAVA=${JT_JAVA} \ 351 PRODUCT_HOME=${PRODUCT_HOME} all || true 353 352 LANG=C ${JT_HOME}/bin/jtreg -a -v:fail,error \ 354 353 -dir:$(pwd)/hotspot/test \ 355 354 -k:\!ignore \ 356 355 -jdk:${PRODUCT_HOME} \ 357 :jdk </userinput></screen>356 :jdk || true</userinput></screen> 358 357 359 358 <para> … … 367 366 The test results can be compared to <ulink 368 367 url="http://download.java.net/openjdk/testresults/8/">these 369 results</ulink>, although they usually are run on a newer version. Some 370 failures can be expected, the number of which depends on various 371 conditions, like whether the computer is connected to network. Also, some 372 tests may timeout if the machine is under load. Those are the reasons for 373 considering the tests optional, although we would rather recommend them. 368 results</ulink>, although they usually are run on a newer version. About 369 30 tests are known to fail, but the exact number depends on various 370 conditions, like whether the computer is connected to network, or to a 371 printer, and on the options given to configure 372 (<parameter>--enable-unlimited-crypto</parameter> is known to trigger 373 failures, but those come from the code in the tests, not from the 374 installation). Also, some tests may timeout if the machine is under load. 374 375 </para> 375 376 … … 405 406 <screen role="root"><userinput>ln -v -nsf OpenJDK-&openjdk-version; /opt/jdk</userinput></screen> 406 407 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> 408 <para> 409 If desired, you may install a .desktop file corresponding to an entry 410 in a desktop menu for <command>policytool</command>. First, you need to 411 obtain an icon from <xref linkend="icedtea-web"/>: 412 </para> 410 413 411 414 <screen><userinput>tar -xf ../icedtea-web-&icedtea-web-version;.tar.gz \ … … 413 416 --strip-components=1</userinput></screen> 414 417 415 <para>Now, as <systemitem class="username">root</systemitem> user:</para> 418 <para> 419 Now, as <systemitem class="username">root</systemitem> user: 420 </para> 416 421 417 422 <screen role="root"><userinput>mkdir -pv /usr/share/applications && … … 432 437 install -v -Dm0644 javaws.png /usr/share/pixmaps/javaws.png</userinput></screen> 433 438 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> 439 <para> 440 The choice of pt_BR is just an example. You can add any translation 441 by adding lines corresponding to your locale, e.g. for fr_FR, 442 <quote>Name[fr_FR]=</quote> and <quote>Comment[fr_FR]=</quote> with the 443 appropriate text as values. 444 </para> 438 445 439 446 </sect2> … … 503 510 <para> 504 511 <option>--with-cacerts-file=...</option>: Specifies where to find a 505 <filename>cacerts</filename> file, typically <filename>506 / opt/jdk/jre/lib/security</filename>. Otherwise, an empty one is created.507 You can get it from an earlier version of the package, or use the508 script below to generate one.512 <filename>cacerts</filename> file, <filename class="directory"> 513 /etc/ssl/java/cacerts</filename> on a BLFS system. Otherwise, an empty 514 one is created. You can use the <command>make-ca.sh --force</command> 515 command to generate it, once you have installed the Java binaries. 509 516 </para> 510 517 … … 563 570 <screen role="root"><userinput>ln -sfv /etc/ssl/java/cacerts /opt/jdk/jre/lib/security/cacerts</userinput></screen> 564 571 565 <para>Use the following commands to check if the 566 <filename>cacerts</filename> file has been successfully installed:</para> 572 <para> 573 Use the following commands to check if the <filename>cacerts</filename> 574 file has been successfully installed: 575 </para> 567 576 568 577 <screen role="root"><userinput>cd /opt/jdk 569 578 bin/keytool -list -keystore /etc/ssl/java/cacerts</userinput></screen> 570 579 571 <para>At the prompt "Enter keystore password:", enter "changeit" (the 572 default). If the <filename>cacerts</filename> file was installed 573 correctly, you will see a list of the certificates with related 574 information for each one. If not, you need to reinstall them.</para> 580 <para> 581 At the prompt "Enter keystore password:", enter "changeit" (the 582 default). If the <filename>cacerts</filename> file was installed 583 correctly, you will see a list of the certificates with related 584 information for each one. If not, you need to reinstall them. 585 </para> 575 586 576 587 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.