Re: Java compiler on Fedora (GCJ)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 6, 2019 at 3:23 AM Angelo Moreschini
<mrangelo.fedora@xxxxxxxxx> wrote:
>
> I am not able to install the java compiler on fedora (
>
> https://docs.fedoraproject.org/en-US/Fedora_Core/6/html/Release_Notes/sn-Java.html
>
> ).
>
> 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
>
> Angelo

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,
currently 11
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux