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
🌐
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 - Verify your installation using the command below. ... java --version openjdk 17.0.10 2024-01-16 OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7) OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode, sharing)
🌐
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...
🌐
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 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 - Transaction Summary ====================================================================================================================================================================================================== Install 3 Packages Total download size: 50 M Installed size: 196 M Is this ok [y/N]: ... Running these commands will output the default version of Java in the system. ... java -version openjdk version "17.0.10" 2024-01-16 OpenJDK Runtime Environment (Red_Hat-17.0.10.0.7-3) (build 17.0.10+7) OpenJDK 64-Bit Server VM (Red_Hat-17.0.10.0.7-3) (build 17.0.10+7, mixed mode, sharing)
🌐
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.
🌐
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:...
🌐
OpenJDK
openjdk.org › install
OpenJDK: Download and install
If you want to develop Java programs then install the openjdk-7-jdk package.
🌐
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
CentOS Stream 9 : Java · (01) Install OpenJDK 8 · (02) Install OpenJDK 11 · (03) Install OpenJDK 17 · (04) Install OpenJDK 21 · (05) Install OpenJDK 25 · (06) Install Tomcat 10 · (07) Install Tomcat 11 · (08) Install Jenkins ·
🌐
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
🌐
TecMint
tecmint.com › home › open source › how to install java 17 on rhel-based linux distributions
How to Install Java 14 on CentOS/RHEL 7/8 & Fedora
November 1, 2021 - To install Oracle OpenJDK 17, you need to download the production-ready OpenJDK 17 from the Java SE Downloads page or run the following wget command to download and install it as shown.
🌐
DevOpsSchool.com
devopsschool.com › blog › complete-guide-of-java-installation-in-linux
Java Installation Guide in Linux & Windows -
12 Download and Install JDK/JRE 21 in Centos / RHEL · 13 Download and Install JDK/JRE 21 in Ubuntu · 14 How to Remove Java Installed? 15 How to download Open Java Packages in Linux? 16 How to set JAVA HOME in Linux System? 17 How to set JAVA HOME env in Windows? 18 Command to set default Java version in Linux? 19 How to install Open JDK Java in Windows? $ su -c "yum install java-1.7.0-openjdk" # JRE Version $ su -c "yum install java-1.7.0-openjdk-devel" # JDK versionCode language: PHP (php) $ su -c "yum install java-1.8.0-openjdk" # JRE Version $ su -c "yum install java-1.8.0-openjdk-devel"
🌐
RPMfind
rpmfind.net › linux › rpm2html › search.php
RPM resource java-17-openjdk
The System and Arch are optional added filters, for example System could be "redhat", "redhat-7.2", "mandrake" or "gnome", Arch could be "i386" or "src", etc. depending on your system. The OpenJDK 17 runtime environment.
🌐
Madhusudan
madhusudan.live › blog › install-java-17-in-linux-fedora-debian
Install Java 17 On Linux in 2 Ways: Step-By-Step Guide
May 5, 2024 - Java 17 can be installed by following this easy to understand tutorial, just follow the steps based on your system and install the OpenJDK 17 on your machine, you can also install the Java 17 without superuser access.
🌐
Oracle
docs.oracle.com › en › java › javase › 17 › install › installation-jdk-linux-platforms.html
4 Installation of the JDK on Linux Platforms - Java
April 21, 2026 - This topic describes the installation procedures of the JDK on the Linux platform, along with the system requirements.