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.

Answer from Marcus Müller on Stack Exchange
🌐
Medium
medium.com › @nothanjack › mastering-the-process-how-to-install-openjdk-17-on-centos-7-25eb121ef67a
Mastering the Process: How to Install OpenJDK 17 on CentOS 7 | by Jack Nothan | Medium
September 5, 2024 - Before explain How To Install OpenJDK 17 on Centos 7, it’s essential to ensure that your package repository is up to date.
🌐
ComputingForGeeks
computingforgeeks.com › home › install temurin openjdk 17 on centos 7|rhel 7|oracle linux 7
Install Temurin OpenJDK 17 on CentOS 7|RHEL [Guide]
March 12, 2024 - Step-by-step guide to temurin OpenJDK 17 on CentOS 7|RHEL 7|Oracle Linux 7. Includes commands, verification, and troubleshooting.
🌐
OrcaCore
orcacore.com › home › basic linux › easy steps to install openjdk 17 on centos 7
Easy Steps To Install OpenJDK 17 on Centos 7 - OrcaCore
December 25, 2024 - To do this, you can follow our ... command below: ... At this point, you need to visit the JDK Downloads page to download the latest archive of Java 17 by using the wget command: sudo wget https://download.java.net/java/GA/j...
🌐
Vegastack
vegastack.com › tutorials › how-to-install-java-on-centos-7
How to Install Java on CentOS 7
November 15, 2023 - Use sudo alternatives --config java command to switch between multiple Java versions installed on your system. Yes, you can install Oracle JDK on CentOS 7, but it requires manual installation.
🌐
ComputingForGeeks
computingforgeeks.com › home › install java 17 (openjdk 17) on fedora 41/40/39/38
Install Java 17 (OpenJDK 17) on Fedora 41/40/39/38 [Guide]
December 10, 2024 - java -version openjdk 17.0.10 ... If you choose to go with Java SE Development Kit 17, download RPM package for CentOS / RHEL / Fedora system using the command below. wget https://download.oracle.com/java/17/latest/jdk-17...
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-java-on-centos-and-fedora
How To Install Java on CentOS, Rocky Linux, RHEL, and Fedora | DigitalOcean
March 18, 2022 - More recently, OpenJDK changed ... number in the package name, just like with 1.8.0. For example, in order to install OpenJDK 17, you can yum install java-17-openjdk:...
🌐
OVHcloud
ovhcloud.com › home › tutorials › how to install java on centos 7
How to install Java on Centos 7 ? | OVHcloud Worldwide
In this tutorial you will learn how to install a Java Development Kit (JDK) on the Centos 7 Linux distribution.
🌐
Server World
server-world.info › en › note
CentOS Stream 8 : OpenJDK 17 : Install : Server World
(03) Install OpenJDK 17 · (04) Install Tomcat 9 · (05) Install Tomcat 10 · Ruby · (01) Install Ruby 2.5 · (02) Install Ruby 2.6 · (03) Install Ruby 2.7 · (04) Install Ruby 3.0 · (05) Install Ruby 3.1 · (06) Install Ruby on Rails 5 · (07) Install Ruby on Rails 6 ·
Find elsewhere
🌐
Server World
server-world.info › en › note
CentOS Stream 9 : OpenJDK 17 : Install : Server World
This article provides an example of how to install OpenJDK 17 from a package and check its operation on CentOS Stream 9.
🌐
OpenJDK
openjdk.org › install
OpenJDK: Download and install
If you want to develop Java programs then install the openjdk-7-jdk package.
🌐
CyberITHub
cyberithub.com › openjdk-installation-on-centos-7
OpenJDK Installation on CentOS 7 with Easy Steps | CyberITHub
December 26, 2021 - In this article, I will take you through OpenJDK Installation on CentOS 7 with easy steps.
🌐
javathinking
javathinking.com › blog › jdk-17-install-linux
A Complete Guide to Installing JDK 17 on Linux — javathinking.com
# For RHEL/CentOS/Rocky sudo dnf install java-17-openjdk-devel # For older RHEL/CentOS 7 versions using yum sudo yum install java-17-openjdk-devel
🌐
YouTube
youtube.com › mrit academy
How to Install OpenJDK 17 (JDK 17) on CentOS 8 | Install OpenJDK 17 on CentOS 8 | Install Java - YouTube
How to Install Java 17 (JDK 17) on CentOS 8 | Step-by-Step TutorialWelcome to our YouTube tutorial on installing Java 17 (JDK 17) on CentOS 8! In this easy-t...
Published   December 2, 2023
Views   1K
🌐
LinuxVox
linuxvox.com › blog › how-to-install-java-on-centos-7
How to Install Java on CentOS 7: A Comprehensive Guide — linuxvox.com
Use scp (Secure Copy) to transfer the downloaded RPM to your CentOS server. Replace local-path and user@server-ip with your details: scp /local-path/jdk-17_linux-x64_bin.rpm user@server-ip:/tmp/ Navigate to the /tmp directory and install the ...