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