How to install Oracle Java in Fedora?
Here is how to install java from Oracle on Fedora. We normally do not want this, unless we need to run a java program.
- Go here and download the Linux x64
rpmversion. - Then install with
cd Downloads/ # do not install with dnf but with rpm sudo rpm -ihvh ./jre*linux-x64.rpm - Tell your system which
javayou are going to use withsudo /usr/sbin/alternatives --config javaand choose number 2 (number 1 should be the open java version…)
Be happy!