Yes, you can get Java 15 from AdoptOpenJDK PPA.
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
Then you can install Java 15 with:
sudo apt-get install adoptopenjdk-15-hotspot
For more information / options / troubleshooting : https://adoptopenjdk.net/index.html
Answer from Flow on askubuntu.comTechoral
techoral.com › blog › java › install-openjdk-15-ubuntu.html
Open Jdk - How To Install OpenJDK Java 15 On Ubuntu 18.04 / ubuntu 20
March 22, 2025 - Install OpenJDK Java 15 on Ubuntu: download & set up OpenJDK 15. Quick guide for Ubuntu users to install Java 15, essential for development & compatibility
Videos
13:11
How To Install Oracle Java (JDK) On Ubuntu Debian Linux - YouTube
11:50
How To Install Java 15 On Ubuntu 20.04 LTS - YouTube
08:31
How to Install Java on Ubuntu Linux - YouTube
How to install Java on Ubuntu with apt
06:15
Install Java 15 On Ubuntu 20.04 LTS - YouTube
11:50
How To Install Java On Ubuntu 20.04 LTS / Ubuntu 22.04 (Linux) ...
Top answer 1 of 2
4
Yes, you can get Java 15 from AdoptOpenJDK PPA.
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
Then you can install Java 15 with:
sudo apt-get install adoptopenjdk-15-hotspot
For more information / options / troubleshooting : https://adoptopenjdk.net/index.html
2 of 2
2
openjdk-15-jdk is available from the default repositories in Ubuntu 20.10 (and later releases). You can install openjdk-15-jdk from the Ubuntu 20.10 universe repository in Ubuntu 18.04 using apt pinning. You can also install openjdk-15-jdk without apt pinning by installing Ubuntu 20.10 in a virtual machine like a KVM/QEMU (qemu-kvm) virtual machine created in Virtual Machine Manager (virt-manager).
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 - Learn how to install Java (JRE & JDK) on Ubuntu using apt. Step-by-step guide to setting up Java, verifying installation, and managing multiple versions.
DEV Community
dev.to › adibmed › installing-openjdk-15-on-ubuntu-20-04-451i
✨Installing OpenJDK 15 on Ubuntu 20.04✨ - DEV Community
November 6, 2020 - PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/jdk-15.0.1/bin" JAVA_HOME="/usr/lib/jvm/jdk-15.0.1" Save the file and exit. 🌟 Step 6 Run the following commands to inform the system about the java's location. sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/java/jdk-15.0.1/bin/java" 0
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.
Linux Hint
linuxhint.com › install-java-jdkjre-ubuntu
Install Latest Java OpenJDK/JRE 11/13/14/15 on Ubuntu – Linux Hint
But it is not the part of Ubuntu 20.04 base repository. To install OpenJDK 15, download its Debian package from the Oracle official website (https://www.oracle.com/java/technologies/javase-jdk15-downloads.html).
Oracle
docs.oracle.com › en › java › javase › 15 › install › installation-jdk-linux-platforms.html
3 Installation of the JDK on Linux Platforms - Java
$ rpm -Uvh jdk-15.interim.update.patch_linux-x64_bin.rpm ... Delete the .rpm file if you want to save disk space. Exit the root shell. It is not required to reboot. The JDK installation is integrated with the alternatives framework. After installation, the alternatives framework is updated to reflect the binaries from the recently installed JDK. Java commands such as java, javac, javadoc, and javap can be called from the command line.
UbuntuHandbook
ubuntuhandbook.org › home › howtos › install oracle java 15 via ppa in ubuntu 20.04, 18.04, 16.04
Install Oracle Java 15 via PPA in Ubuntu 20.04, 18.04, 16.04 | UbuntuHandbook
September 17, 2020 - The “Linux Uprising” team ppa has made the installer script, which automatically downloads and installs Oracle JDK 15 package, and sets Java 15 as the default Java version (setting JAVA_HOME, etc.) on 64-bit Ubuntu based system.
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 - Install Java on Ubuntu using apt. Learn how to install OpenJDK and Oracle JDK, manage versions, and configure JAVA_HOME.
Mkyong
mkyong.com › home › java › how to install java jdk on ubuntu
How to install Java JDK on Ubuntu - Mkyong.com
March 29, 2021 - The below result shows 5 JDK installed on this Ubuntu; choose option 2 for the above extracted JDK 16 /opt/jdk-16/bin/java. ... $ sudo update-alternatives --config java There are 4 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 /opt/jdk-15...