You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
java-21-openjdk/SOURCES
MSVSphere Packaging Team 6c50e8c342
import java-21-openjdk-21.0.6.0.7-1.el9
2 weeks ago
..
0001-Allow-devkit-to-work-with-RHEL.patch import java-21-openjdk-21.0.6.0.7-1.el9 2 weeks ago
0002-Disable-multilib-on-x86_64.patch import java-21-openjdk-21.0.6.0.7-1.el9 2 weeks ago
0003-Log-devkit-build-to-stdout.patch import java-21-openjdk-21.0.6.0.7-1.el9 2 weeks ago
0004-devkit-Remove-.comment-sections-from-sysroot-objects.patch import java-21-openjdk-21.0.6.0.7-1.el9 2 weeks ago
0005-Tools.gmk-Configure-binutils-with-enable-determinist.patch import java-21-openjdk-21.0.6.0.7-1.el9 2 weeks ago
0006-Tools.gmk-Add-enable-linker-build-id-to-gcc-build.patch import java-21-openjdk-21.0.6.0.7-1.el9 2 weeks ago
0007-Tools.gmk-Exclude-systemtap-sdt-devel-on-s390x-ppc64.patch import java-21-openjdk-21.0.6.0.7-1.el9 2 weeks ago
0008-Tools.gmk-Use-update-repository-on-RHEL-rather-than-.patch import java-21-openjdk-21.0.6.0.7-1.el9 2 weeks ago
CheckVendor.java import java-21-openjdk-21.0.0.0.35-2.el9 1 year ago
NEWS import java-21-openjdk-21.0.6.0.7-1.el9 2 weeks ago
README.md import java-21-openjdk-21.0.6.0.7-1.el9 2 weeks ago
TestCryptoLevel.java import java-21-openjdk-21.0.0.0.35-2.el9 1 year ago
TestECDSA.java import java-21-openjdk-21.0.0.0.35-2.el9 1 year ago
TestSecurityProperties.java import java-21-openjdk-21.0.0.0.35-2.el9 1 year ago
TestTranslations.java import java-21-openjdk-21.0.0.0.35-2.el9 1 year ago
alt-java.c import java-21-openjdk-21.0.0.0.35-2.el9 1 year ago
fips-21u-0a42e29b391.patch import java-21-openjdk-21.0.3.0.9-1.el9 10 months ago
java-21-openjdk-portable.specfile import java-21-openjdk-21.0.6.0.7-1.el9 2 weeks ago
jconsole.desktop.in import java-21-openjdk-21.0.0.0.35-2.el9 1 year ago
openjdk-devkit.specfile import java-21-openjdk-21.0.6.0.7-1.el9 2 weeks ago
remove-intree-libraries.sh import java-21-openjdk-21.0.0.0.35-2.el9 1 year ago

README.md

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.

By default, the portable build on RHEL also uses a "devkit" (a toolchain and system libraries) to build. This aids reproducibility by removing build differences caused by differing system toolchains and libraries. This dependency can be dropped by defining 'centos' to a non-zero value (e.g. --define='centos 1') or a devkit can be built using the openjdk-devkit.specfile and associated patches.