README 1.6 KB

123456789101112131415161718192021222324252627282930313233
  1. OpenJDK17 is an open source implementation of version 17 (LTS) of the
  2. Java Development Kit, Standard Edition. It includes tools for
  3. developing, testing, and running programs written in Java.
  4. This script builds the package from source using the packages listed
  5. in the .info file (the source tarball plus a binary of the prevous
  6. version to bootstrap from), so it is not necessary to have a jdk
  7. package installed to build this package.
  8. By default, the source package uses all available cores to build the
  9. package, but this can be controlled by passing CORES=<x> to the script.
  10. It is HIGHLY recommended to use all available cores as a single-core
  11. build can take quite a while, especially on slower machines.
  12. NOTE: The build normally fails with MAKEFLAGS set, but this script
  13. tempararily unsets so it can proceed.
  14. The source is also able to use ccache to speed up rebuilds. To enable
  15. this, pass USE_CCACHE=yes to the script. NOTE: Some other SBo scripts
  16. recommend creating cc/c++/gcc/g++ symlinks to ccache in /usr/local/bin
  17. to use ccache, but this build fails on that, so make sure they are
  18. removed before running this script.
  19. To test the build, pass TESTS=yes. This will unpack the jtreg package
  20. to run the tests. You should expect to see somewhere in the area of
  21. about 30 to 40 failures and about a dozen errors. The reports will be
  22. saved in $TMP/jtreg-reports if you want to review them.
  23. After installing this package you will need to logout/login to your
  24. machine as it will add new files to the /etc/profile.d folder.
  25. MANY thanks to the BLFS community for maintaining 32-bit builds of the
  26. later versions of OpenJDK we use for bootstrapping.