On Sun, Jan 6, 2019 at 3:23 AM Angelo Moreschini
I am not able to install the java compiler on fedora (
I read that fedora not support directly gcj ...
So I try to work around, to install it indirectly, but I have to much problem to find
the necessary dependencies...
Ho to do ?
any advice will welcome
That's a very old version of the Fedora docs. I'm pretty sure gcj is a
dead project. Fedora now ships with OpenJDK. In the latest version
(Fedora 29), there are several versions available. To see them, run:
sudo dnf repoquery --whatprovides \*/bin/javac
You'll probably want either JDK 8 or 11, so one of the following
should work for you:
sudo dnf install java-1.8.0-openjdk-devel # if you want JDK 8, specifically
sudo dnf install java-11-openjdk-devel # if you want JDK 11, specifically
sudo dnf install java-openjdk-devel # if you want the latest OpenJDK,