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