java-1.8.0-openjdk/README.md
Andrew Hughes 345ac01c22 Update to shenandoah-jdk8u372-b07 (GA)
Update release notes for shenandoah-8u372-b07.
Require tzdata 2023c due to inclusion of JDK-8305113 in 8u372-b07
Update generate_tarball.sh to add support for passing a boot JDK to the configure run
Add POSIX-friendly error codes to generate_tarball.sh and fix whitespace
Remove .jcheck and GitHub support when generating tarballs, as done in upstream release tarballs
Drop JDK-8275535/RH2053256 patch which is now upstream
Include JDK-8271199 backport early ahead of 8u382 (RH2175317)
Drop hack for difference in local and portable build version
Replace local copies of JDK portable binaries with build dependencies
Include the java-1.8.0-openjdk-portable.spec file with instructions on how to rebuild.
Remove duplicate use of README.md inside the *-src package (it is no longer about sources)
Use portable build on x86_32 now one is available

** This tarball is embargoed until 2023-04-18 @ 1pm PT. **

Resolves: rhbz#2185182
Resolves: rhbz#2189329
Resolves: rhbz#2188023
2023-04-28 02:06:17 +01:00

1.6 KiB

OpenJDK 8 is a Long-Term Support (LTS) release of the Java platform.

For a list of major changes in OpenJDK 8 (java-1.8.0-openjdk), see the upstream release page: https://openjdk.org/projects/jdk8/features

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-1.8.0-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-1.8.0-openjdk-headless RPM.

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

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

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