🌐
Linuxiac
linuxiac.com › home › tutorials › how to install java on fedora linux
How to Install Java on Fedora Linux
April 10, 2024 - sudo dnf install java-21-openjdk-develCode language: Bash (bash) Installing OpenJDK 21 LTS on Fedora Linux.
Discussions

Java in Fedora
I'm willing to bet you didn't install java in the first place. Fedora does not come with Java pre-installed, it only comes with a reduced version that does not work with GUI applications known as 'java-headless' because of some functions in Libre Office. Install java entirely, I personally stick to the latest LTS which is 21, you can install it this way: sudo dnf install java-21-openjdk If that doesn't work maybe your program doesn't support Java 21, you can then try 17, the older LTS. More on reddit.com
🌐 r/Fedora
17
9
November 3, 2024
Installing Java OpenJDK 11 on Fedora (42)
The Linux PATH variable works very similarly to Windows: https://www.digitalocean.com/community/tutorials/how-to-view-and-update-the-linux-path-environment-variable Besides doesn't dnf still ship Java 11? dnf search java-11 More on reddit.com
🌐 r/linux4noobs
6
0
May 8, 2025
🌐
Atlantic.Net
atlantic.net › home › blog › how to install java on fedora
How to Install Java on Fedora | Atlantic.Net
November 14, 2023 - This post will show you how to install object-oriented, multi-platform, and network-centric language Java on Fedora.
🌐
Medium
medium.com › @gazalshyam18 › how-to-install-java-on-fedora-22bdb42318e0
How to install Java on Fedora - Gazalshyam - Medium
August 19, 2023 - How to install Java on Fedora Steps to install Java: To install Open JDK: To install JDK on rpm-based systems: sudo dnf search openjdk This command allows you to search for available versions Use the …
🌐
Fedora Developer Portal
developer.fedoraproject.org › tech › languages › java › java-installation.html
Java — Fedora Developer Portal
Fedora comes with OpenJDK - a free and open source implementation of the Java Platform, Standard Edition.
🌐
Fedora Project
fedoraproject.org › wiki › Java
Java - Fedora Project Wiki
It is mostly based on the OpenJDK Open Source project, but there is proprietary code and Fedora does not package non-free software. Installing Oracle Java is fine. Just beware not to use Oracle RPM, as it will kill OpenJDK default packages! Oracle provides a tarball: https://java.com/en/download/help/linux_x64_install.xml
🌐
TecMint
tecmint.com › home › linux distros › fedora › how to install java in fedora
How to Install Java in Fedora
February 6, 2019 - The package OpenJDK is available to install from the Fedora repository. 1. Run the following dnf command to search for the available versions. ... 1. Go to the Oracle Java SE downloads page.
🌐
It's FOSS
itsfoss.com › install-java-fedora
How to Install Java on Fedora Linux
February 25, 2023 - Learn how to install Java on Fedora. Also learn how to switch between installed versions of Java.
🌐
Fedora Magazine
fedoramagazine.org › home › faqs and guides › java development on fedora linux
Java development on Fedora Linux - Fedora Magazine
January 10, 2021 - Multiple versions of OpenJDK are available in Fedora Linux’s default repositories. They can be installed concurrently. Use the alternatives command to select which installed version of OpenJDK should be used by default. ... Also, if you have Podman installed, you can find most OpenJDK options by searching for them. ... There are many options to run Java, both natively and in containers.
Find elsewhere
🌐
Reddit
reddit.com › r/fedora › java in fedora
r/Fedora on Reddit: Java in Fedora
November 3, 2024 -

Hello, Everyone i am Trying to run a program with jar extension i’m using Fedora 41, it use to Work in Fedora 40 but now its doesn’t work anymore .the program its Vinyl Manager.

I use to do : java -jar VinylManager.jar and it was. Working Now it accept the command and it Goes to the next Line give no error but the program doesn’t start neither someone use This software witout any problem . Openjdk 21 install in Fedora 41 Thanh you

🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-java-on-centos-and-fedora
How To Install Java on CentOS, Rocky Linux, RHEL, and Fedora | DigitalOcean
March 18, 2022 - This tutorial will show you how to install Java on current versions of RPM-based Linux distributions: Red Hat Enterprise Linux, CentOS, Fedora, and Rocky Linux.
🌐
TecAdmin
tecadmin.net › install-java-on-fedora
How to Install Java 11/8 on Fedora – TecAdmin
April 26, 2025 - Java is a popular programming language ... 11 required a subscription to download and use it. So we use OpenJDK for this installation of Java on the Fedora Linux system....
🌐
OS Radar
osradar.com › home › linux › install java on fedora 34 / 33
Install Java on Fedora 34 / 33 - Linux Windows and android Tutorials
May 6, 2021 - In Fedora 34 / 33 we have 3 versions of JAva, 1.8 (JAva 8) which is a mature stable version and on which many applications are based; the latest LTS OpenJDK 11 which is the currently recommended version; and finally it is possible to install ...
🌐
LinuxCapable
linuxcapable.com › home › fedora › how to install openjdk on fedora 44
How to Install OpenJDK on Fedora 44 - LinuxCapable
May 17, 2026 - Install OpenJDK on Fedora 44 Linux with DNF. Compare Java 21 to 25, and latest releases, switch versions, set JAVA_HOME, then remove JDKs.
🌐
ITzGeek
itzgeek.com › home › how to's › linux › fedora › how to install java jdk 17 on fedora 36 / fedora 35 / 34
How to Install Java JDK 17 on Fedora 36 / Fedora 35 / 34 | ITzGeek
May 17, 2022 - You can use the dnf command to install OpenJDK from the Fedora repository. # Java JDK 17 sudo dnf install -y java-17-openjdk-devel # Java JDK 11 sudo dnf install -y java-11-openjdk-devel # Java JDK 8 sudo dnf install -y java-1.8.0-openjdk-devel
🌐
ComputingForGeeks
computingforgeeks.com › home › install java (openjdk) on fedora 42 / 41
Install Java (OpenJDK) on Fedora 42 / 41 [Tested]
March 29, 2026 - Install OpenJDK 21, 25, or 26 on Fedora 42 and 41. Covers multiple JDK versions, alternatives switching, JAVA_HOME setup, and development verification.
🌐
Reddit
reddit.com › r/linux4noobs › installing java openjdk 11 on fedora (42)
r/linux4noobs on Reddit: Installing Java OpenJDK 11 on Fedora (42)
May 8, 2025 -

Hello linux4noobs

I downloaded java 11.0.2 tar.gz (I know it is "old" but it's just for my learning purposes) from jdk.java.net/11 and installed it using the "tar" command. The problem is, how do I actually use this java installation?

In windows, I would just add the java /bin directory to the PATH, but I'm unsure how to go about this in Fedora.

I tried to use "update-alternatives --config java" to switch but the 11.0.2 version did not show up as an option. What steps do I need to take to make this the default version in my OS? If it matters, I'm getting into Java programming and that's the reason for installing it.

🌐
Linux Hint
linuxhint.com › install-oracle-jre-fedora
How to Install Oracle JRE on Fedora – Linux Hint
Java SE Release 8 users can now also verify which particular RPM package offers Java files. This post will explore Oracle JRE, and we will see how to install Oracle JRE on Fedora Linux using i) an archive binary file ii) an RPM binary file.
🌐
Linux Hint
linuxhint.com › install-openjdk-fedora-linux
How to Install OpenJDK on Fedora Linux – Linux Hint
$ sudo dnf install java-latest-openjdk-devel.x86_64 · Verify the installation. ... While the default OpenJDK is fine, AdoptOpenJDK offers more features and flexibility for everyone. There are two ways to install AdoptOpenJDK. First, grab the appropriate version of AdoptOpenJDK. Check out AdoptOpenJDK latest releases page. Extract the archive. $ tar -xvf OpenJDK11U-jdk_x64_linux_hotspot_11.0.9.1_1.tar.gz