Blame SOURCES/README.md

44604a
OpenJDK 17 is the latest Long-Term Support (LTS) release of the Java platform.
44604a
44604a
For a list of major changes from OpenJDK 11 (java-11-openjdk), see the upstream
44604a
release page for OpenJDK 17 and the preceding interim releases:
44604a
44604a
* 12: https://openjdk.java.net/projects/jdk/12/
44604a
* 13: https://openjdk.java.net/projects/jdk/13/
44604a
* 14: https://openjdk.java.net/projects/jdk/14/
44604a
* 15: https://openjdk.java.net/projects/jdk/15/
44604a
* 16: https://openjdk.java.net/projects/jdk/16/
44604a
* 17: https://openjdk.java.net/projects/jdk/17/
44604a
44604a
# Rebuilding the OpenJDK package
44604a
44604a
The OpenJDK packages are now created from a single build which is then
44604a
packaged for different major versions of Red Hat Enterprise Linux
44604a
(RHEL). This allows the OpenJDK team to focus their efforts on the
44604a
development and testing of this single build, rather than having
44604a
multiple builds which only differ by the platform they were built on.
44604a
44604a
This does make rebuilding the package slightly more complicated than a
44604a
normal package. Modifications should be made to the
44604a
`java-17-openjdk-portable.specfile` file, which can be found with this
44604a
README file in the source RPM or installed in the documentation tree
44604a
by the `java-17-openjdk-headless` RPM.
44604a
44604a
Once the modified `java-17-openjdk-portable` RPMs are built, they
44604a
should be installed and will produce a number of tarballs in the
44604a
`/usr/lib/jvm` directory. The `java-17-openjdk` RPMs can then be
44604a
built, which will use these tarballs to create the usual RPMs found in
44604a
RHEL. The `java-17-openjdk-portable` RPMs can be uninstalled once the
44604a
desired final RPMs are produced.
44604a
44604a
Note that the `java-17-openjdk.spec` file has a hard requirement on
44604a
the exact version of java-17-openjdk-portable to use, so this will
44604a
need to be modified if the version or rpmrelease values are changed in
44604a
`java-17-openjdk-portable.specfile`.
44604a
44604a
To reduce the number of RPMs involved, the `fastdebug` and `slowdebug`
44604a
builds may be disabled using `--without fastdebug` and `--without
44604a
slowdebug`.