How do I install OpenJDK on Redhat Enterprise Linux on Azure and AWS environments? - Stack Overflow
rpm - OpenJDK 17 for CentOS 7 - Unix & Linux Stack Exchange
Will CentOS 7 include a java-17-openjdk package in yum
Which version of java is preferrable to install on a Red Hat ...
You might simply build this yourself. If it worked before, chances are the build for Fedora works. You will need a Fedora 34+ host to cross-build this.
# Don't build as root. Only need root privileges to install `fedpkg`,
sudo dnf install -y fedpkg
# Now get the package description
git clone https://src.fedoraproject.org/rpms/java-17-openjdk
# Use fedpkg to kick off a mock build
cd java-17-openjdk
fedpkg mockbuild --root centos-7-x86_64
This will take a while¹; and in the end, you should be getting a line that tells you where the RPMs you've just built were put.
¹ mock sets up a chroot, in which it installs a CentOS 7 base system, then EPEL, which you'll almost certainly will need, I think, then the tools necessary to build any RPM, then the build-time dependencies of the java-17-openjdk package. Then it will download all the necessary source code, hand off to rpm-build to do the build, which includes applying all patches, then compiling OpenJDK, then, running the OpenJDK installation, collecting the installed files, compressing them into valid RPMs.
Use Temurin. You'll need the Adoptium yum repo configuration from https://adoptium.net/installation/linux/
Just what the title says. Will CentOS 7 release an RPM to one of the yum repos for java-17? Currently you can install it as java-latest via the epel repo (or just download the rpm directly of course). But I don't want it to roll to Java 18. Currently they include all the LTS versions of java (6, 7, 8, and 11) and I'm just wondering if and when a 17-specific one will be available. Thanks.