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 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 ... sharing) If you choose to go with Java SE Development Kit 17, download RPM package for CentOS / RHEL / Fedora system ......
🌐
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 - After setting the JAVA_HOME environment variable, you can either restart your shell or source the configuration file to apply the changes: ... Congratulations! You have successfully installed OpenJDK 17 on CentOS 7 and are now ready to develop and run Java applications on your system.
🌐
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 - Output openjdk version "17.0.2" 2022-01-18 OpenJDK Runtime Environment (build 17.0.2+8-86) OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing) Configure the Java environment with the command below: cat <<EOF | sudo tee /etc/profile.d/jdk.sh export JAVA_HOME=/usr/java/default export PATH=\$PATH:\$JAVA_HOME/bin EOF · To use Java Home, source the file by using the following command: ... At this point, we will show you how to create a sample project to see that your Java 17 is working correctly on Centos 7.
🌐
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 - 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)
🌐
OVHcloud
ovhcloud.com › home › tutorials › how to install java on centos 7
How to install Java on Centos 7 ? | OVHcloud Worldwide
If you need help setting up a Public Cloud instance with CentOS 7, follow this guide: Creating and connecting to your first Public Cloud instance. This tutorial uses OpenJDK. This is the open source version but there are many licensed versions provided by a variety of vendors (Oracle, Microsoft, AWS, …). In this tutorial, you will install OpenJDK, use it, and learn how to switch between different installed versions. At the time of writing this tutorial, the latest LTS release of Java was 17...
Find elsewhere
🌐
Pkgs.org
pkgs.org › download › java-17-openjdk
Java-17-openjdk Download for Linux (rpm)
Download java-17-openjdk linux packages for CentOS, Fedora, OpenMandriva, openSUSE · Filter: Distros: all Arches: arm intel Types: official thirdparty · CentOS 8 Stream · CentOS 7 · Fedora Rawhide · Fedora 35 · Fedora 34 · Fedora 33 · OpenMandriva Cooker ·
🌐
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 - ======================================================================================== Package Arch Version Repository Size ======================================================================================== Installing: java-17-openjdk x86_64 1:17.0.2.0.8-4.el8_5 appstream 244 k Installing dependencies: adwaita-cursor-theme noarch 3.28.0-2.el8 appstream 646 k adwaita-icon-theme noarch 3.28.0-2.el8 appstream 11 M at-spi2-atk x86_64 2.26.2-1.el8 appstream 88 k at-spi2-core x86_64 2.28.0-1.el8 appstream 168 k colord-libs x86_64 1.4.2-1.el8 appstream 234 k java-17-openjdk-headless x86_64 1:17.0.2.0.8-4.el8_5 appstream 41 M lcms2 x86_64 2.9-2.el8 appstream 163 k …
🌐
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.
🌐
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 ·
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_build_of_openjdk › 17 › html-single › installing_and_using_red_hat_build_of_openjdk_17_on_rhel › index
Installing and using Red Hat build of OpenJDK 17 on RHEL | Red Hat build of OpenJDK | 17 | Red Hat Documentation
Select the latest version of Red Hat build of OpenJDK 17 from the Version drop-down list, and then download the JDK archive for Linux to your local system. Extract the contents of the archive to a directory of your choice: $ tar -xf java-17-openjdk-17.0.2.0.8-3.portable.jre.el7.x86_64.tar.xz -C ~/jdks
🌐
LinuxVox
linuxvox.com › blog › how-to-install-java-on-centos-7
How to Install Java on CentOS 7: A Comprehensive Guide — linuxvox.com
... Java 11 is another LTS version with modern features (e.g., modularity, HTTP client). ... Java 17 is the most recent LTS version (as of 2024) with performance improvements and new features. CentOS 7’s default repos may not include OpenJDK 17.
🌐
CentOS Repositories
centos.pkgs.org › 8-stream › centos-appstream-x86_64 › java-17-openjdk-17.0.0.0.26-0.2.ea.el8.x86_64.rpm.html
java-17-openjdk-17.0.0.0.26-0.2.ea.el8.x86_64.rpm CentOS 8 Stream Download
2021-07-14 - Andrew Hughes <gnu.andrew@redhat.com> - 1:17.0.0.0.26-0.2.ea - Remove boot JDKs in favour of OpenJDK 17 build now in the buildroot. - Resolves: rhbz#1959487 · 2021-07-14 - Severin Gehwolf <sgehwolf@redhat.com> - 1:17.0.0.0.26-0.2.ea - Update buildjdkver to 17 so as to build with itself - Resolves: rhbz#1959487 · 2021-07-13 - Jiri Vanek <jvanek@redhat.com> - 1:17.0.0.0.26-0.1.ea - Add gating support - Resolves: rhbz#1959487 · 2021-06-21 - Andrew Hughes <gnu.andrew@redhat.com> - 1:17.0.0.0.26-0.0.ea - Rename as java-17-openjdk and bootstrap using boot JDK in local sources - Exclude x86 as this is not supported by OpenJDK 17 - Resolves: rhbz#1959487
🌐
Server World
server-world.info › en › note
CentOS Stream 8 : OpenJDK 17 : Install : Server World
Java · (01) Install OpenJDK 11 · (02) Install OpenJDK 8 · (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 ·
🌐
GitLab
gitlab.com › red hat › centos-stream › rpms › java-17-openjdk
Red Hat / centos-stream / rpms / java-17-openjdk · GitLab
October 11, 2021 - Skip to content · java-17-openjdk · Project information · README · Created on · January 20, 2021 · Loading
🌐
ComputingForGeeks
computingforgeeks.com › home › install java 17 (openjdk 17) on almalinux / rocky 8
Install Java 17 (OpenJDK 17) on AlmaLinux / Rocky 8 [Guide]
March 16, 2026 - We have come to the end of our Guide. I have demonstrated the two ways to get Java 17 LTS Installed on Rocky / CentOS / AlmaLinux 8, configuring and setting the default Java version for your system.