Now it is possible to install openjdk-11 this way:
sudo apt-get install openjdk-11-jdk
(Previously it installed openjdk-10, but not anymore)
Answer from user5479362 on Stack Overflow Top answer 1 of 12
529
Now it is possible to install openjdk-11 this way:
sudo apt-get install openjdk-11-jdk
(Previously it installed openjdk-10, but not anymore)
2 of 12
125
To install Openjdk 11 in Ubuntu, the following commands worked well.
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt install openjdk-11-jdk
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 - You can install a specific version of Java on your Ubuntu system by using the apt command. For example, to install Java 11, you can run the following command:
Trying to install Java now.
If you're trying to play singleplayer modded Minecraft or join servers (not hosting a server), I recommend using a launcher like Prism Launcher . It'll auto-detect your Java version(s) and help manage your mods. You can install different Java versions by installing openjdk--jre where is the Java version, such as 17 or 1.8 (referred to as 8). More on reddit.com
Why did Java 11 JRE not install with JDK and where is the download for just the Java 11 JRE?
There is no separate JRE anymore, only the JDK which includes all JRE parts (e.g. the java binary). Also, do not use OracleJDK unless you intend to pay them money. OpenJDK is the new default. More on reddit.com
Why is the default java package still only version 11
openjdk-18-jre is a package available for 21.10 and 22.04 If you need the official one from ORACLE I think you need to download it directly, as it may not be redistributable. More on reddit.com
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
Videos
01:58
Installing Java 11 on your Linux Ubuntu system using OpenJDK -- ...
07:59
How to Install openjdk 11 on Ubuntu 22.04 | Step-by-Step Tutorial ...
01:31
How to Install any Java Version on Ubuntu (2026) - YouTube
06:15
Install Java 11 on Ubuntu 20.04LTS /22.04 LTS| Install LTS of Java ...
05:19
How to Install Java on Ubuntu and set JAVA_HOME (2025 UPDATE) #JDK ...
05:34
How To Install Java On Ubuntu 24.04 LTS (Linux) - YouTube
Cherry Servers
cherryservers.com › home › blog › linux › how to install java on ubuntu 22.04 | step-by-step tutorial chatbots
How to Install Java on Ubuntu 22.04 | Step-by-Step Tutorial chatbots | Cherry Servers
November 7, 2025 - OpenJDK provides all the tools you need to develop Java-based applications and microservices, including the Java compiler, Java Runtime Environment (JRE), and Java class library. Ubuntu repositories provide the OpenJDK package by default, and you can search for its availability as shown. ... At the time of writing, the most recent release is OpenJDK 20. The latest LTS ( Long Term Support ) release is OpenJDK 17 and will be supported until 30 September 2026. To install OpenJDK 11 using the APT package manager, execute the command:
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-java-with-apt-on-ubuntu-20-04
How To Install Java with Apt on Ubuntu | DigitalOcean
February 5, 2026 - OutputCommand 'java' not found, but can be installed with: sudo apt install default-jre # version 2:1.17-75, or sudo apt install openjdk-17-jre-headless # version 17.0.17+10-1~24.04 sudo apt install openjdk-21-jre-headless # version 21.0.9+10-1~24.04 sudo apt install openjdk-11-jre-headless # version 11.0.29+7-1ubuntu1~24.04 sudo apt install openjdk-25-jre-headless # version 25.0.1+8-1~24.04 sudo apt install openjdk-8-jre-headless # version 8u472-ga-1~24.04 sudo apt install openjdk-19-jre-headless # version 19.0.2+7-4 sudo apt install openjdk-20-jre-headless # version 20.0.2+9-1 sudo apt install openjdk-22-jre-headless # version 22~22ea-1
GitHub
gist.github.com › peteristhegreat › 4cc299a10c73a7eeb09594ad453b4b52
Installing Java 11 on ubuntu · GitHub
$ md5 jdk-11* MD5 (jdk-11.0.14_linux-x64_bin (1).tar.gz) = c2037b5f2e2a6ddcfbdfe1489bccfd63 MD5 (jdk-11.0.14_linux-x64_bin.tar.gz) = c2037b5f2e2a6ddcfbdfe1489bccfd63 · After all the things above, you can just use the download link from oracle in your script. Here's my working script. #!/usr/bin/env bash export DEBIAN_FRONTEND=noninteractive # set -x cache_folder=/var/cache/oracle-jdk11-installer-local/ sudo mkdir -p $cache_folder #url='https://download.oracle.com/otn/java/jdk/11.0.4+10/cf1bbcbf431a474eb9fc550051f4ee78/jdk-11.0.14_linux-x64_bin.tar.gz' #url='https://download.oracle.com/otn/jav
LinuxBabe
linuxbabe.com › home › how to install oracle java 8 and openjdk 11 on ubuntu 22.04, 20.04
How To Install Oracle Java 8 and OpenJDK 11 on Ubuntu 18.04, 19.04
October 27, 2022 - This tutorial is going to show you how to install Oracle Java 8 and OpenJDK 11 on Ubuntu 22.04/Ubuntu 20.04. Java 11 has been released on September 25, 2018 and it’s the first long term support (LTS) release since Oracle changed release schedule. Java Release Model Previously, Oracle releases a new major version of Java…
Linuxize
linuxize.com › home › java › how to install java on ubuntu 18.04
How to Install Java on Ubuntu 18.04 | Linuxize
February 24, 2020 - If you have multiple Java installations to change the default version, use the update-alternatives tool as shown below: ... There are 3 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 auto mode 1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 manual mode 2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode Press <enter> to keep the current choice[*], or type selection number:
Oracle
docs.oracle.com › en › java › javase › 11 › install › installation-jdk-linux-platforms.html
4 Installation of the JDK on Linux Platforms - Java
July 15, 2025 - Access Java SE Downloads page and click Accept License Agreement. Under the Download menu, click the Download link corresponding your requirement. The following table lists the options and instructions for downloading and installing the JDK 11 release on a Linux platform: