sudo yum install java-17-openjdk-17.0.9.0.9-2.el8
"Enter to keep the current selection[+], or type selection number:" the prompt asked.
Depending on your needs, you can install the to just run apps, or the Development Kit (JDK) to compile them. To run Java applications (JRE): sudo yum install java-17-openjdk -y Use code with caution. For development and compiling (JDK): sudo yum install java-17-openjdk-devel -y Use code with caution. yum install java-17
"Calm down, Jimmy," he told himself. "It’s just a symlink."
He expected a clean output. He expected to see openjdk version "17.0.8.1" . He expected high-fives and a trip to the espresso machine. sudo yum install java-17-openjdk-17
If you have multiple versions of Java installed, you can switch between them using the alternatives command: sudo update-alternatives --config java Use code with caution. Copied to clipboard
The download completed. Now came the moment of truth. The installation. This was where old libraries went to die and new symlinks were forged. For development and compiling (JDK): sudo yum install
sudo alternatives --config java
Open ~/.bashrc or ~/.bash_profile and add:
The server was reaching out to the CentOS mirrors, hunting for the packages. This was the easy part. The "download" phase. Jimmy watched the progress bars fill up.
sudo yum install java-17-openjdk-17.0.9.0.9-2.el8
"Enter to keep the current selection[+], or type selection number:" the prompt asked.
Depending on your needs, you can install the to just run apps, or the Development Kit (JDK) to compile them. To run Java applications (JRE): sudo yum install java-17-openjdk -y Use code with caution. For development and compiling (JDK): sudo yum install java-17-openjdk-devel -y Use code with caution.
"Calm down, Jimmy," he told himself. "It’s just a symlink."
He expected a clean output. He expected to see openjdk version "17.0.8.1" . He expected high-fives and a trip to the espresso machine.
If you have multiple versions of Java installed, you can switch between them using the alternatives command: sudo update-alternatives --config java Use code with caution. Copied to clipboard
The download completed. Now came the moment of truth. The installation. This was where old libraries went to die and new symlinks were forged.
sudo alternatives --config java
Open ~/.bashrc or ~/.bash_profile and add:
The server was reaching out to the CentOS mirrors, hunting for the packages. This was the easy part. The "download" phase. Jimmy watched the progress bars fill up.
Copyright 2010-24 Mickey Petersen. Terms & Privacy Policy (Last updated 2022-05-24.)