slackbuilds_ponce/development/OpenJDK11
Lenard Spencer 33ca24ee4b
development/OpenJDK11: Updated for version 11.0.18.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2023-03-04 07:16:36 +07:00
..
doinst.sh development/OpenJDK11: Updated for version 11.0.16.1. 2022-10-01 09:01:13 +07:00
java.png development/OpenJDK11: Updated for version 11.0.17. 2022-11-25 10:44:27 +07:00
OpenJDK11.info development/OpenJDK11: Updated for version 11.0.18. 2023-03-04 07:16:36 +07:00
OpenJDK11.SlackBuild development/OpenJDK11: Updated for version 11.0.18. 2023-03-04 07:16:36 +07:00
README
slack-desc

OpenJDK11 is an open source implementation of version 11 (LTS) of the
Java Development Kit, Standard Edition. It includes tools for
developing, testing, and running programs written in Java.

This script builds the package from source using the packages listed
in the .info file (the source tarball plus a binary of the prevous
version to bootstrap from), so it is not necessary to have a jdk
package installed to build this package.

By default, the source package uses all available cores to build the
package, but this can be controlled by passing CORES=<x> to the script.
It is HIGHLY recommended to use all available cores as a single-core
build can take quite a while, especially on slower machines.
NOTE: The build normally fails with MAKEFLAGS set, but this script
tempararily unsets it so it can proceed.

The source is also able to use ccache to speed up rebuilds.  To enable
this, pass USE_CCACHE=yes to the script.  NOTE: Some other SBo scripts
recommend creating cc/c++/gcc/g++ symlinks to ccache in /usr/local/bin
to use ccache, but this build fails on that, so make sure they are
removed before running this script.

To test the build, pass TESTS=yes.  This will unpack the jtreg package
to run the tests.  You should expect to see somewhere in the area of
about 20 to 30 failures and about 30 to 40 errors. The reports will be
saved in $TMP/jtreg-reports if you want to review them.

After installing this package you will need to logout/login to your
machine as it will add new files to the /etc/profile.d folder.

MANY thanks to the BLFS community for maintaining 32-bit builds of the
later versions of OpenJDK we use for bootstrapping.