Showing results for yum install jdk 8
Search instead for yum install jdk8

I got an assist and was able to install what I wanted. I did:

[ec2-user@ip-172-31-9-107 nifi]$ yum search java | grep "1.8"
Last metadata expiration check: 1:00:33 ago on Tue Aug  8 18:28:56 2023.
java-1.8.0-amazon-corretto.x86_64 : Amazon Corretto runtime environment
java-1.8.0-amazon-corretto-devel.x86_64 : Amazon Corretto development environment

,and then:

sudo yum install java-1.8.0-amazon-corretto.x86_64 

which installed:

[ec2-user@ip-172-31-9-107 nifi]$ java -version
openjdk version "1.8.0_382"
Answer from Timothy Clotworthy on Stack Overflow
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_build_of_openjdk › 8 › html-single › installing_and_using_red_hat_build_of_openjdk_8_for_rhel › index
Installing and using Red Hat build of OpenJDK 8 for RHEL | Red Hat build of OpenJDK | 8 | Red Hat Documentation
You can install Red Hat build of OpenJDK Java Runtime Environment (JRE) using the system package manager, yum. ... Logged in as a user with root privileges on the system. Registered your local system to your Red Hat Subscription Management account. See the Registering a system using Red Hat Subscription Management user guide. ... $ java -version openjdk version "1.8.0_322" OpenJDK Runtime Environment (build 1.8.0_322-b06) OpenJDK 64-Bit Server VM (build 25.322-b06, mixed mode)
🌐
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 - sudo wget --no-cookies ... my path. Please add instructions for setting environment variables and putting it into the path. $ sudo yum install java-1.7.0-openjdk [ ......
🌐
ComputingForGeeks
computingforgeeks.com › home › dev › install java 8 on centos 8 / rhel 8 / rocky linux...
Install Java 8 on CentOS 8 / RHEL 8 / Rocky Linux 8 | ComputingForGeeks
August 2, 2024 - You can check features of RHEL 8 and optionally how to install RHEL 8 if you’re a new user. To install JDK 8 on the server or workstation machine, Use the following command. sudo yum install -y java-1.8.0-openjdk java-1.8.0-openjdk-devel
🌐
Red Hat
developers.redhat.com › blog › 2018 › 12 › 10 › install-java-rhel8
How to install Java 17 and 21 on Red Hat Enterprise Linux 8 | Red Hat Developer
September 3, 2024 - $ sudo yum install java-21-openjdk-devel java-17-openjdk-devel maven · In the previous step, we installed JDK 21 and JDK 17 in parallel. At this point in time, JDK 8 is the main JDK on RHEL 8.
🌐
OpenJDK
openjdk.org › install
OpenJDK: Download and install
The openjdk-8-jre package contains just the Java Runtime Environment. If you want to develop Java programs then please install the openjdk-8-jdk package. On the command line, type: $ su -c "yum install java-1.8.0-openjdk" The java-1.8.0-openjdk package contains just the Java Runtime Environment.
🌐
TecAdmin
tecadmin.net › install-java-8-on-centos-rhel-and-fedora
How to Install Java 8 on CentOS/RHEL 9/8 and Fedora
April 26, 2025 - I tried on ubuntu 14 and it worked. only deviation” I wrote export JAVA_HOME=/opt/jdk1.8.0_66 export JRE_HOME=$JAVA_HOME/jre export PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin into ~/.profile ... Install is the easy part, but can anyone note the reason why you can no longer perform a “yum update ...
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_build_of_openjdk › 8 › html › installing_and_using_red_hat_build_of_openjdk_8_for_rhel › assembly_installing-openjdk-8-on-red-hat-enterprise-linux_openjdk
Chapter 2. Installing Red Hat build of OpenJDK 8 on Red Hat Enterprise Linux | Installing and using Red Hat build of OpenJDK 8 for RHEL | Red Hat build of OpenJDK | 8 | Red Hat Documentation
You can install Red Hat build of OpenJDK Java Runtime Environment (JRE) using the system package manager, yum. ... Logged in as a user with root privileges on the system. Registered your local system to your Red Hat Subscription Management account. See the Registering a system using Red Hat Subscription Management user guide. ... $ java -version openjdk version "1.8.0_322" OpenJDK Runtime Environment (build 1.8.0_322-b06) OpenJDK 64-Bit Server VM (build 25.322-b06, mixed mode)
Find elsewhere
🌐
Mkyong
mkyong.com › home › java › how to install oracle jdk 8 on centos
How to install Oracle JDK 8 on CentOS - Mkyong.com
July 22, 2016 - $ pwd /home/mkyong $ wget --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u102-b14/jdk-8u102-linux-x64.rpm ... $ sudo yum localinstall jdk-8u102-linux-x64.rpm //... //... //... Installed: ...
🌐
PhoenixNAP
phoenixnap.com › home › kb › sysadmin › how to install java 8 & 11 on centos 8
How to Install Java on CentOS 8 | phoenixNAP KB
August 4, 2025 - 8. To gain access to the file, log in with your Oracle account. 9. Allow the download to finish. Once it’s complete, open the terminal and enter the following: sudo yum install /home/user/Downloads/jdk-11.0.5-linux-x64.rpm
🌐
javathinking
javathinking.com › blog › jdk-8-install-linux
Installing JDK 8 on Linux: A Comprehensive Guide — javathinking.com
# For yum (CentOS 7/RHEL 7) sudo yum install java-1.8.0-openjdk-devel # For dnf (CentOS 8/RHEL 8/Fedora) sudo dnf install java-1.8.0-openjdk-devel · The -devel package includes the JDK (compiler javac, tools like jar, etc.).
🌐
Oracle
docs.oracle.com › javase › 8 › docs › technotes › guides › install › linux_jdk.html
6 JDK Installation for Linux Platforms
April 21, 2026 - jdk-8u281-ea-bin-b03-linux-amd64-20_oct_2020.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY · The following are the public key installation steps: Download the key file from https://yum.oracle.com/RPM-GPG-KEY-oracle-ol9 using the following command:
🌐
DevOpsSchool.com
devopsschool.com › blog › complete-guide-of-java-installation-in-linux
Java Installation Guide in Linux & Windows -
$ su -c "yum install java-1.9.0-openjdk" # JRE Version $ su -c "yum install java-1.9.0-openjdk-devel" # JDK versionCode language: PHP (php) $ sudo apt-get install openjdk-7-jre # JRE Version $ sudo apt-get install openjdk-7-jdk # JDK versionCode language: JavaScript (javascript) sudo apt-get install openjdk-8-jre # JRE Version sudo apt-get install openjdk-8-jdk # JDK versionCode language: JavaScript (javascript)
🌐
Javadev
javadev.org › devtools › jdk › setup › linux
JDK installation in linux (Ubuntu, Centos)
// Centos $ sudo yum install -y \ vim \ unzip \ tar \ wget · https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html · To download jdk for now, you need: go to link above. create account if you do not have · download latest JDK8 version · https://www.oracle.com/java/...
🌐
DataStax
docs.datastax.com › en › jdk-install › doc › jdk-install › installOpenJdkRHEL.html
Recommended production settings | DataStax Enterprise | DataStax Docs
Update the repositories: sudo yum update · Install OpenJDK: sudo yum install java-1.8.0-openjdk · Check the version: java -version · Make sure the result indicates that OpenJDK 8 is being used, such as openjdk version "1.8.0_242".
🌐
Medium
medium.com › @bayuadiwibowo › java-jdk-8-installation-on-centos-7-7ebb94c8bb89
Java (JDK 8) Installation on CentOS 7 | by Bayu Adi Wibowo | Medium
December 18, 2023 - To install the JDK package, go to the directory where you put the .rpm file, then follow the command below. You must log in as a root user. [root@server ~]# rpm -Uvh jdk-8u101-linux-x64.rpm [root@server ~]# alternatives --set java ...
🌐
Techoral
techoral.com › blog › java › install-openjdk-8-linux.html
Open Jdk - How To Install OpenJDK Java 8 On Linux Real Quick
March 22, 2026 - To Install OpenJDK 8 Java Development Kit (JDK) - Enter the below command on Fedora, Oracle & Redhat Linux command line. $ su -c "yum install java-1.8.0-openjdk-deve1" Once the above steps are successfully completed , we need to set the "JAVA_HOME" ...