Do you need to install Oracle's Java? Cuz if you don't need you can just open a terminal and type sudo apt install default-jre -y and it's ready to use (if you're on debian-based distros) Answer from ygonspic on reddit.com
🌐
Oracle
java.com › en › download › help › linux_x64_install.html
Linux 64-bit installation instructions for Java
This procedure installs the Java Runtime Environment (JRE) for 64-bit Linux, using an archive binary file (.tar.gz). Go to http://java.com and click on the Download button. Download and check the download file size to ensure that you have downloaded the full, uncorrupted software bundle.
🌐
Opensource.com
opensource.com › article › 19 › 11 › install-java-linux
How to install Java on Linux | Opensource.com
Now that you know your choices, you can search for OpenJDK or IcedTea with your package manager and install the version you need. Some distributions use the keyword latest to indicate the most recent version, which is usually what you need to run whatever application you're trying to run. Depending on what package manager you use, you might even consider using grep to filter the search results to include only the latest versions. For example, on Fedora: $ sudo dnf search openjdk | \ grep latest | cut -f1 -d':' java-latest-openjdk-demo.x86_64 java-openjdk.i686 java-openjdk.x86_64 java-latest-openjdk-jmods.x86_64 java-latest-openjdk-src.x86_64 java-latest-openjdk.x86_64 [...]
Discussions

How do you manually install java openjdk?
Did you try follow the instructions? https://openjdk.org/install/ Then you have a folder with all the stuff you need. Now you need to tell your OS how to find the binaries and libraries. For that you need to tell us your OS (Debian, Ubuntu, Arch, Fedora, ...). More on reddit.com
🌐 r/linuxadmin
18
0
November 6, 2024
How to install java 8
The repos you have in your sources.list apparently don't contain a package called openjdk-8-jdk. Also, you seem to be using Kali. This subreddit is about Debian, and Kali is not Debian. More on reddit.com
🌐 r/debian
10
0
September 5, 2021
How do i install java 16 without PPAs or how do i get PPAs to work with LMDE4 (Linux Mint Debian Edition 4)
LMDE4 is based on Debian 10 Buster, use the same instructions. Pay attention, there are two different methods that apply to different OS's in this article. https://www.linuxuprising.com/2021/03/how-to-install-oracle-java-16-on-debian.html More on reddit.com
🌐 r/linux4noobs
7
2
June 22, 2021
Attempting to download Java 17 on Linux Mint
Installing oracle jdk is a hassle in linux. Install openjdk instead by using sudo apt install openjdk-17-jdk More on reddit.com
🌐 r/linuxmint
10
9
December 31, 2021
People also ask

How do I install Java in Linux for the first time?
To install Java in Linux, use your package manager. For example, on Ubuntu, run 'sudo apt update' followed by 'sudo apt install default-jdk' to install the Java Development Kit.
🌐
operavps.com
operavps.com › docs › install java in linux easily and quickly
✅ Install Java in Linux Guide Step by Step
Where can I find more help or documentation on installing Java in Linux?
Consult your Linux distribution's official documentation, Oracle's Java website, or community forums for detailed guides and help.
🌐
operavps.com
operavps.com › docs › install java in linux easily and quickly
✅ Install Java in Linux Guide Step by Step
What is Java command in Linux?
The Java command in Linux is used to launch the Java Virtual Machine (JVM) and execute Java programs. You need to install the Java Development Kit (JDK) to use the Java command. To run a Java program, you need to compile the source code with the javac command and then run the class file with the java command.
🌐
theknowledgeacademy.com
theknowledgeacademy.com › blog › install-java-linux
How to Install Java on Linux: Step By Step Installation Guide
🌐
TheServerSide
theserverside.com › blog › Coffee-Talk-Java-News-Stories-and-Opinions › How-do-I-install-Java-on-Ubuntu
How to install Java 21 on Ubuntu
java - version Command 'java' not found, but can be installed with: sudo apt install default-jre · If the command indicates that Java is not found, proceed with the next steps.
🌐
Oracle
java.com › en › download › help › linux_install.html
How do I download and install 32-bit Java for Linux?
Once the download has completed, compare that file size to the size of the downloaded file to make sure they are equal. ... Java for RPM based Linux Platforms The instructions below are for installing version Java 8 Update 73 (8u73). If you are installing another version, make sure you change the version number appropriately when you type the commands at the terminal. Example: For Java 8u79 replace 8u73 with 8u79. Note that, as in the preceding example, the version number is sometimes preceded with the letter u and sometimes it is preceded with an underbar, for example, jre1.8.0_73.
🌐
LinuxConfig
linuxconfig.org › home › linux: install java
Install Java on Linux: JDK vs JRE Guide
September 21, 2025 - Learn how to install Java on Linux distros including Ubuntu and Fedora. Covers JDK vs JRE differences, version search, and installation verification.
Find elsewhere
🌐
The Knowledge Academy
theknowledgeacademy.com › blog › install-java-linux
How to Install Java on Linux: Step By Step Installation Guide
April 23, 2026 - Execute the command sudo apt install default-jre to download and install the default JRE version available in your Linux distribution's repository, whether you're using Linux Mint vs.
🌐
OperaVPS
operavps.com › docs › install java in linux easily and quickly
✅ Install Java in Linux Guide Step by Step
1 month ago - Users can install OpenJDK or Oracle JDK and manage multiple Java versions on their system. The simplest method to install Java in Linux is through the apt package manager since Linux is compatible with the standard Java version.
🌐
Wikihow
wikihow.com › computers and electronics › operating systems › linux › 4 ways to install java on linux - wikihow
4 Ways to Install Java on Linux - wikiHow
May 1, 2026 - Click Linux. It's a link in the middle of the page. Doing so will prompt the Java installation file to download. You can also click the Linux X64 version if you want to install 64-bit Java.
🌐
Fabric Documentation
docs.fabricmc.net › players › installing-java › linux
Installing Java on Linux | Fabric Documentation
April 2, 2026 - The Minecraft Launcher comes with its own Java installation, so this section is only relevant if you want to use the Fabric .jar based installer, or if you want to use the Minecraft Server .jar. Open a terminal, type java -version, and press Enter.
🌐
LinuxConfig
linuxconfig.org › home › how to install and switch java versions on ubuntu linux
How to Install and Switch Java Versions on Ubuntu Linux
September 21, 2025 - ... This method involves installing ... for most users. Search for Available Java Versions: Begin by searching for all available Java versions in the Ubuntu repository....
🌐
GeeksforGeeks
geeksforgeeks.org › linux-unix › download-install-java-windows-linux-macos
Installing Java on Windows, Linux, and macOS - GeeksforGeeks
April 20, 2026 - Step 1: Visit the official oracle website https://www.oracle.com/in/java/. You will need to accept the terms of Oracle’s license agreement before downloading. On the download page, accept the Oracle Binary Code License Agreement for Java SE.
🌐
Ubuntu
ubuntu.com › tutorials › install-jre
Install the Java Runtime Environment | Ubuntu
In this guide, we’ll be going through the installation of both JRE packages. Of course, you generally only need to pick the one that best suits your needs and preferences. ... That’s all you need. If you have that, let’s proceed to the next step! With new versions of Java released every 6 months, there are multiple versions available for use.
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-java-with-apt-on-ubuntu-22-04
How to Install Java with Apt on Ubuntu (JRE & JDK) | DigitalOcean
February 2, 2026 - In this case, you would need Oracle JDK 11.0.13. Your version number may vary depending on when you’re installing the software. You don’t need to download anything from this page; you’ll download the installation script through apt shortly. Next, visit the Archive Downloads and locate the version that matches the one you need. From this list, choose the Linux x64 compressed archive .tar.gz package:
🌐
Oracle
java.com › en › download › help › linux_x64rpm_install.html
Linux 64-bit RPM Java installation instructions
Type: cd directory_path_name For example, to install the software in the /usr/java/ directory, Type: cd /usr/java · Uninstall any earlier installations of the Java packages. ... Install the package. rpm -ivh jre-8u73-linux-x64.rpm To upgrade a package: rpm -Uvh jre-8u73-linux-x64.rpm
🌐
PhoenixNAP
phoenixnap.com › home › kb › sysadmin › how to install java on ubuntu
How to Install Java on Ubuntu
February 20, 2025 - On older Linux distributions, it can be installed from a third-party repository, while on newer ones, you can download it as a .deb package from Oracle's official website. However, its license only permits non-commercial use, requiring a paid commercial license for production environments. Install one or several Java packages on your system, or choose a specific version by specifying the version number...
🌐
LinuxVox
linuxvox.com › blog › how-to-install-java-on-linux
How to Install Java on Linux — linuxvox.com
Most Linux distributions come with package managers that simplify the software installation process. Here are examples for some popular distributions: ... Install the OpenJDK (Open-source Java Development Kit). For Java 11: ... Install the OpenJDK. For Java 11: ... If you need a specific Java version that is not available in the package manager or prefer a custom installation, you can manually install Java.
🌐
It's FOSS
itsfoss.com › install-java-ubuntu
How to Install Java on Ubuntu and Linux Mint [Properly]
August 1, 2024 - Search for available Java versions on your system: ... This will have a huge output with various packages that contain the term jre in their name. Look for packages like openjdk-XX-jre and install them. Let's say you want to install openjdk-11-jre ...
🌐
DEV Community
dev.to › thegroo › install-and-manage-multiple-java-versions-on-linux-using-alternatives-5e93
Install and manage multiple Java versions on Linux using alternatives - DEV Community
February 10, 2022 - On this post, I will guide you on installing Java on your development Linux machine. I decided to do this post after getting some questions on how do I manage multiple java versions in my Development environments if I use something to manage it like Sdkman, which I don't, in this post I will ...
🌐
Java With Us
javawithus.com › home › faq › how to install java on linux (all distros)
How to Install Java on Linux (All Distros) | Java With Us
April 21, 2026 - sudo dnf install java-21-openjdk-devel # JDK # or JRE only: sudo dnf install java-21-openjdk · sudo pacman -S jdk-openjdk # latest OpenJDK # or a specific version: sudo pacman -S jdk21-openjdk ... For Alpine (used in Docker containers), prefer Azul Zulu or the Temurin Alpine build — they ...