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
rpm
version. - Then install with
cd Downloads/ # do not install with dnf but with rpm sudo rpm -ihvh ./jre*linux-x64.rpm
- Tell your system which
java
you are going to use withsudo /usr/sbin/alternatives --config java
and choose number 2 (number 1 should be the open java version…)
Be happy!