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