java-21-openjdk/SOURCES
2023-11-15 22:06:14 +00:00
..
alt-java.c import UBI java-21-openjdk-21.0.1.0.12-2.el8 2023-11-15 07:27:04 +00:00
CheckVendor.java import UBI java-21-openjdk-21.0.1.0.12-2.el8 2023-11-15 07:27:04 +00:00
fips-21u-75ffdc48eda.patch import UBI java-21-openjdk-21.0.1.0.12-2.el8 2023-11-15 07:27:04 +00:00
java-21-openjdk-portable.specfile import UBI java-21-openjdk-21.0.1.0.12-3.el8 2023-11-15 22:06:14 +00:00
jconsole.desktop.in import UBI java-21-openjdk-21.0.1.0.12-2.el8 2023-11-15 07:27:04 +00:00
jdk8009550-rh910107-fail_to_load_pcsc_library.patch import UBI java-21-openjdk-21.0.1.0.12-2.el8 2023-11-15 07:27:04 +00:00
jdk8311630-s390_ffmapi.patch import UBI java-21-openjdk-21.0.1.0.12-3.el8 2023-11-15 22:06:14 +00:00
README.md import UBI java-21-openjdk-21.0.1.0.12-2.el8 2023-11-15 07:27:04 +00:00
remove-intree-libraries.sh import UBI java-21-openjdk-21.0.1.0.12-2.el8 2023-11-15 07:27:04 +00:00
TestCryptoLevel.java import UBI java-21-openjdk-21.0.1.0.12-2.el8 2023-11-15 07:27:04 +00:00
TestECDSA.java import UBI java-21-openjdk-21.0.1.0.12-2.el8 2023-11-15 07:27:04 +00:00
TestSecurityProperties.java import UBI java-21-openjdk-21.0.1.0.12-2.el8 2023-11-15 07:27:04 +00:00
TestTranslations.java import UBI java-21-openjdk-21.0.1.0.12-2.el8 2023-11-15 07:27:04 +00:00

OpenJDK 21 is the latest Long-Term Support (LTS) release of the Java platform.

For a list of major changes from OpenJDK 17 (java-17-openjdk), see the upstream release page for OpenJDK 21 and the preceding interim releases:

Rebuilding the OpenJDK package

The OpenJDK packages are now created from a single build which is then packaged for different major versions of Red Hat Enterprise Linux (RHEL). This allows the OpenJDK team to focus their efforts on the development and testing of this single build, rather than having multiple builds which only differ by the platform they were built on.

This does make rebuilding the package slightly more complicated than a normal package. Modifications should be made to the java-21-openjdk-portable.specfile file, which can be found with this README file in the source RPM or installed in the documentation tree by the java-21-openjdk-headless RPM.

Once the modified java-21-openjdk-portable RPMs are built, they should be installed and will produce a number of tarballs in the /usr/lib/jvm directory. The java-21-openjdk RPMs can then be built, which will use these tarballs to create the usual RPMs found in RHEL. The java-21-openjdk-portable RPMs can be uninstalled once the desired final RPMs are produced.

Note that the java-21-openjdk.spec file has a hard requirement on the exact version of java-21-openjdk-portable to use, so this will need to be modified if the version or rpmrelease values are changed in java-21-openjdk-portable.specfile.

To reduce the number of RPMs involved, the fastdebug and slowdebug builds may be disabled using --without fastdebug and --without slowdebug.