🌐
Oracle
oracle.com › java › technologies › java se
JDK RPM Installation for Linux (64-bit)
Extract and install the contents of the downloaded file. Change directory to where the downloaded file is located and run these commands to first set the executable permissions and then run the binary to extract and run the RPM file: % chmod a+x jdk-6u <version> -linux-x64-rpm.bin % ./jdk-6u ...
🌐
Oracle
java.com › en › download › help › linux_x64rpm_install.html
Linux 64-bit RPM Java installation instructions
Follow these steps to download and install Java for Linux. ... This procedure installs the Java Runtime Environment (JRE) for 64-bit RPM-based Linux platforms, such as Red Hat and SuSE, using an RPM binary file (.rpm) in the system location.
🌐
Oracle
oracle.com › java › technologies › javase-install-linux-64-rpm.html
JRE RPM Installation for Linux (64-bit)
Change directory to where the downloaded file is located and run these commands to first set the executable permissions and then run the binary to extract and run the RPM file: ... Note that the initial " ./" is required if you do not have " ." in your PATH environment variable. The script displays a binary license agreement, which you are asked to agree to before installation can proceed. Once you have agreed to the license, the install script creates and runs the file jre-6u <version>-linux-x64.rpm in the current directory.
🌐
The Geek Stuff
thegeekstuff.com › 2017 › 06 › java-8-jre-jdk-install
How to Install Java 8 JRE and JDK from RPM file on Linux
June 21, 2017 - For 64-bit linux, download the jdk-8u131-linux-x64.rpm file, which is under “Linux x64”
🌐
Oracle
docs.oracle.com › javase › 8 › docs › technotes › guides › install › linux_jdk.html
6 JDK Installation for Linux Platforms
April 21, 2026 - To install the JDK on an RPM-based Linux platform: ... For aarch64 (64-bit ARM) systems: jdk-8uversion-linux-aarch64.rpm.
🌐
Cbu
stu.cbu.edu › java › docs › technotes › guides › install › linux_jdk.html
JDK Installation for Linux Platforms
This procedure installs the Java Development Kit (JDK) for 64-bit RPM-based Linux platforms, such as Red Hat and SuSE, using an RPM binary file (.rpm) in the system location.
🌐
Oracle
docs.oracle.com › en › java › javase › 11 › install › installation-jdk-linux-platforms.html
4 Installation of the JDK on Linux Platforms - Java
July 15, 2025 - From Oracle Linux repositories: This allows you to perform a system-wide JDK installation on OL platforms starting from OL7 for all users, and requires root access. JDK RPM packages in Oracle Linux RPM repositories are available for x64 and aarch64 (64-bit ARM) OL platforms.
🌐
Oracle
oracle.com › java › technologies › java se
JDK Self-Extracting Installation for Linux (64-bit)
This procedure installs the Java Development Kit (JDK) for 64-bit Linux, using a self-extracting binary file. The JDK download includes the Java SE Runtime Environment (JRE) – you do not have to download the JRE separately. For RPM-based Linux distributions, like Red Hat or SuSE, refer to ...
🌐
Oracle
docs.oracle.com › javase › › 9 › install › installation-jdk-and-jre-linux-platforms.htm
5 Installation of the JDK and JRE on Linux Platforms
You can install the JDK on 64-bit RPM-based Linux platforms, such as Red Hat and SuSE, by using an RPM binary file (.rpm) in the system location.
Find elsewhere
🌐
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 - This tutorial will show you how to install Java on current versions of RPM-based Linux distributions: Red Hat Enterprise Linux, CentOS, Fedora, and Rocky Lin…
🌐
Stack Overflow
stackoverflow.com › questions › 16032886 › how-to-install-java-using-rpm-file-in-unix
bash - How to install java using rpm file in Unix - Stack Overflow
try with super user access. sudo rpm -ivh jdk-7u17-linux-x64.rpm ... Save this answer. ... Show activity on this post. ... Sign up to request clarification or add additional context in comments.
🌐
Oracle
docs.oracle.com › en › industries › hospitality › enterprise-integrations › gaming-integration › 24.1 › gamig › t_download_jdk17_for_linux.htm
Download JDK17 for Linux
April 22, 2024 - For more information, see Installation of the JDK on Linux Platforms in the JDK Installation Guide. Go to JDK Development Kit 17.0.10 downloads. Select JDK17 and then select the Linux tab. Click the x64 RPM Package link to download jdk-17_linux-x64_bin.rpm.
🌐
Bell Software
bell-sw.com › pages › downloads
Download JDK 8, 11, 17, 21, 25, 26 | Java Builds for Linux, Windows and macOS
Installation guide · Supported Configurations · Terms of use · Source code · Windows · Liberica 25.0.3+11, Windows 64 bit, Standard · Download · Mac · Liberica 25.0.3+11, macOS 64 bit, Standard · Download · 64 bit · Linux · x86 · ARM · RISC-V · PPC · Package: Standard JDK · Liberica Standard JDK 25.0.3+11 x86 64 for Linux · DEB, 210.60MbSHA1 · RPM, 220.34MbSHA1 ·
Top answer
1 of 3
1

Can you please check the md5sum of the downloaded file against these values here: http://www.oracle.com/technetwork/java/javase/downloads/java-se-binaries-checksum-1956892.html ?

If the md5sum does not check, it must be a broken download.

2 of 3
1

A short answer: try downloading and installing again.

A longer answer: Even though you are getting this, the jdk is getting installed. Sort of. This seems to be an error in the packaging but it is not fatal. Here is the output from my machine. In the example I cat'd the release file so you can see what CentOS I'm using and did an md5sum on the rpm I'm using. You'll notice that it doesn't match the md5sum from the Oracle site link (provided above by Kristof).

Next, I did an ls on the target directory for the jdk /usr/java/ so you can see that it is empty. Then ran the rpm install and did another ls to show that some files are there.

Of course, this defeats the purpose of using rpm, because the install information is not going to go into the rpm database. If I query the database it doesn't come up and it's missing the links that usually get installed pointing to 'latest' and 'default'

So I took a guess that maybe there is a mirror that might have a bad rpm and went to the Oracle site and downloaded the file again. I gave it a different name so that I can compare the two files. This time it was successful.

In the screen shot below you can see the two files. The newest download being the one I called jdk-7u51-linux-x86_64.rpm. You can see the md5sum shows the files are different, but on the new file, the md5 matches the Oracle site. I removed the directory that was created by the failed install and then ran the rpm -ivh command and it completed successfully. The ls on the /usr/java directory shows all the correct stuff and querying the rpm database shows it was installed. Hope this helps!