Issue
I cannot install Java on Fedora.
I looked in the internet for tutorials and followed every of them and still no one of them helped.
If I try to do `java --version~ it says:
[root@fedora michael]# java
bash: java: command not found...
Install package 'java-11-openjdk-headless' to provide command 'java'? [N/y] y
* Waiting in queue... Failed to install packages: java-11-openjdk-headless-1:11.0.11.0.9-2.fc34.x86_64 is already installed
I don't know what to do, can someone help?
Solution
OK. I found solution: alternatives --config java
Answered By - M1chael Answer Checked By - Dawn Plyler (WPSolving Volunteer)