Copies of past Debian packages are available at http://snapshot.debian.org/

You can search there for openjdk-8. The last available version is 8u322-b06-1~deb9u1, logged at http://snapshot.debian.org/package/openjdk-8/8u322-b06-1%7Edeb9u1/ You can download the binary packages (.deb) for your architecture and install with sudo dpkg -i *.deb.

Whether it works or not depends on the library versions that it was built against. 8u312-b07-1 (and other older versions) is also available.

Alternatively you can access the Debian tracking page for the package at https://tracker.debian.org/pkg/openjdk-8. openjdk-8 is still listed there as available for unstable (as version 8u312-b07-1). If you click on the links for the binary packages, they will lead you to download links for the deb packages.

snapshot.debian.org is arguably simpler for ad-hoc downloading since it has the deb files in one place (the debian package repository finds them in http://ftp.us.debian.org/debian/pool/main/o/openjdk-8/ or its mirror sites)

snapshot.debian.org also suggests instructions for configuring sources.list. But if the package is not likely to be updated often then it might be simpler to just download the deb files manually.

Answer from Rizzer on Stack Exchange
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-java-with-apt-on-debian-11
How To Install Java with Apt on Debian 11 | DigitalOcean
September 1, 2022 - In this guide, you will install different versions of the Java Runtime Environment (JRE) and the Java Developer Kit (JDK) using Apt. You’ll install OpenJDK a…
🌐
Reddit
reddit.com › r/debian › need help: installing openjdk-11 on debian 12
r/debian on Reddit: Need Help: Installing OpenJDK-11 on Debian 12
June 21, 2023 -

I recently upgraded my Debian version to the shiny new Debian 12, and I'm currently facing a small hiccup while trying to install OpenJDK-11. I'm aware that the apt install default-jdk command usually does the trick, but in this case, it installs version 17 of OpenJDK. Unfortunately, I specifically need JDK 11 for my project.

I successfully used apt install default-jdk in Debian 11 without any issues, so I'm wondering if there have been any changes in Debian 12 that require a different approach for installing OpenJDK-11. I'd greatly appreciate it if anyone could kindly guide me through the correct steps to install OpenJDK-11 on Debian 12.

Thank you in advance for your time and assistance!

Discussions

apt - How can I install Java 8 on Debian 11 (Bullseye)? - Unix & Linux Stack Exchange
This answer explains why it was removed. I'm not interested in the reason, instead, I need to install it. This VM is solely dedicated to my Java app, so I'm not really interested in using a contain... More on unix.stackexchange.com
🌐 unix.stackexchange.com
Will Minecraft Java edition be reprogrammed for Java 11?

Minecraft comes with a private JRE on Windows, which means its security problems should typically not be as much of a concern for the operating system. Of course having to use a system JRE is a problem on other operating systems. As someone who considers switching to Linux myself before Win7 support runs out, I sure hope Mojang will address that problem soon, and not just Soon™.

More on reddit.com
🌐 r/Minecraft
3
3
April 29, 2019
Need Help: Installing OpenJDK-11 on Debian 12
Looks like 11 was removed from bookworm. https://packages.debian.org/search?keywords=OpenJdk-11&searchon=names&suite=all§ion=all You can install the version from bullseye somewhat manually, though that is generally not recommended, but I prefer doing that over installing from source. You could try grabbing individual debs from the website, or include the bullseye repo and see what happens. I don't know if there are incompatibilities that will force you to use a flatpack or other packaging system to keep things separate. More on reddit.com
🌐 r/debian
26
9
June 21, 2023
Heed help Installing OpenJDK-11 on Debian 12
I'm not sure there's a "correct" way, other than a container or a VM, which have their own limitations. I tested adding bullseye (Debian 11) to /etc/apt/sources.list and installing openjdk-11-jdk, and it seems to work. I'm not a Java developer, though, and can't test if it's properly set up. java --version looks right. deb http://deb.debian.org/debian bullseye main There's also a distribution of OpenJDK called "Temurin" that might work. https://adoptium.net/installation/linux/ More on reddit.com
🌐 r/linux4noobs
4
4
June 21, 2023
🌐
TecAdmin
tecadmin.net › how-to-install-java-on-debian-11
How To Install Java on Debian 11 – TecAdmin
April 26, 2025 - Installing Java on Debian 11 "Bullseye". How to install Java 11 and Java 17 on Debian 11 system. Install Java on Debian via PPA
Top answer
1 of 3
6

Copies of past Debian packages are available at http://snapshot.debian.org/

You can search there for openjdk-8. The last available version is 8u322-b06-1~deb9u1, logged at http://snapshot.debian.org/package/openjdk-8/8u322-b06-1%7Edeb9u1/ You can download the binary packages (.deb) for your architecture and install with sudo dpkg -i *.deb.

Whether it works or not depends on the library versions that it was built against. 8u312-b07-1 (and other older versions) is also available.

Alternatively you can access the Debian tracking page for the package at https://tracker.debian.org/pkg/openjdk-8. openjdk-8 is still listed there as available for unstable (as version 8u312-b07-1). If you click on the links for the binary packages, they will lead you to download links for the deb packages.

snapshot.debian.org is arguably simpler for ad-hoc downloading since it has the deb files in one place (the debian package repository finds them in http://ftp.us.debian.org/debian/pool/main/o/openjdk-8/ or its mirror sites)

snapshot.debian.org also suggests instructions for configuring sources.list. But if the package is not likely to be updated often then it might be simpler to just download the deb files manually.

2 of 3
5

Since Oracle changed Java licensing, Bellsoft (not affiliated) has done a great job at providing openJDK installers. They just work, and you can choose between:

  • JDK / JRE
  • Java 8 / 11 / 17 / 19
  • With or without JavaFX
  • Windows / Debian / Redhat / Alpine / Solaris / macOs installer

You'll surely find the correct installer at https://bell-sw.com/pages/downloads/#/java-8-lts.

You can install multiple Java versions if you wish. If you need to juggle between versions, you might be interested in this answer.

🌐
ITzGeek
itzgeek.com › home › how to's › linux › debian › how to install java jdk on debian 11
How To Install Java JDK on Debian 11 - ITzGeek
August 28, 2021 - You can either use the command line or browser to download Oracle Java. Go to the Oracle JDK page to download packages using the browser. Then, download the Debian binary package for easy installation.
🌐
ComputingForGeeks
computingforgeeks.com › home › install java (openjdk) on debian 13 – jdk and jre
Install Java 11 (OpenJDK 11) on Debian 12 | 11 | 10 | ComputingForGeeks
February 7, 2025 - # Install OpenJDK JRE 11 sudo apt install openjdk-11-jre ... $ java -version openjdk version "11.0.13" 2021-10-19 OpenJDK Runtime Environment (build 11.0.13+8-post-Debian-1deb11u1) OpenJDK 64-Bit Server VM (build 11.0.13+8-post-Debian-1deb11u1, ...
Find elsewhere
🌐
SSD Nodes
ssdnodes.com › blog › how-to-install-java-and-its-virtual-machine-on-debian-11
How To Install Java and its Virtual Machine on Debian 11 - SSD Nodes
May 18, 2025 - Now that you've installed Java on your Debian server, you need to to set up the $JAVA_HOME environment variable, which is a variable used by many Java packages and software programs written in Java to determine where Java is installed. First run the update-alternatives to get the path of your current Java installation: ... 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/jdk-19/bin/java 100 manual mode
Price   $
Address   2522 Chambers Rd #100, 92780, Tustin
🌐
Osnote
osnote.com › java-jdk-debian
How to Install and Use Java JDK on Debian 11 - <OSNote>
December 6, 2022 - In this tutorial, we will show you how to install Java on Debian 11.
🌐
LinuxCapable
linuxcapable.com › home › debian › how to install openjdk 25 on debian 13, 12 and 11
How to Install OpenJDK 25 on Debian 13, 12 and 11 - LinuxCapable
May 11, 2026 - Debian 13 resolves it to OpenJDK 21, Debian 12 resolves it to OpenJDK 17, and Debian 11 resolves it to OpenJDK 11, so install the explicit OpenJDK 25 or Temurin 25 package when your application requires Java 25.
🌐
HowtoForge
howtoforge.com › home › how to install java (jdk and jre) on debian 10
How to Install Java (JDK and JRE) on Debian 10
There is a new version of this tutorial available for Debian 11 (Bullseye). ... In this tutorial, we will show you how to install Java on the Debian 10 (Buster). We will install both the JDK (Java Development Kit) and the JRE (Java Runtime Environment on a Debian server.
🌐
Minehosting
support.minehosting.ru › servers › java › java11
Установка Java 11 на Ubuntu, Debian, CentOS (Linux) | MineHosting
wget https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.18+10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.18_10.tar.gz && tar xf OpenJDK11U-jdk_x64_linux_hotspot_11.0.18_10.tar.gz && rm OpenJDK11U-jdk_x64_linux_hotspot_11.0.18_10.tar.gz && rm /opt/jdk-11.0.18+10 -rf && mv jdk-11.0.18+10 /opt · Обычный способ — установка этой версии в качестве основной. Запуск командой java
🌐
GitHub
gist.github.com › ansulev › 1b924e87bd091b1d78e06d918faa8fcf
Install Java 8 or 11 on Debian 12 · GitHub
Install Java 8 or 11 on Debian 12. GitHub Gist: instantly share code, notes, and snippets.
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-java-with-apt-on-debian-10
How To Install Java with Apt on Debian 10 | DigitalOcean
July 26, 2019 - In this guide, you will install different versions of the Java Runtime Environment (JRE) and the Java Developer Kit (JDK) using Debian’s apt package management system. You’ll install OpenJDK 11 as well as the official Java 11 software from Oracle. You’ll then select the version you wish ...
🌐
Linode
linode.com › docs › guides › how-to-install-openjdk-on-debian-10
How To Install Java Development Kit 11 on Debian 10 | Linode Docs
March 25, 2020 - Software written in Java can be compiled and run on any system, making Java a versatile platform that can be used to create anything from software to basic web applications. This guide will show you how to install the Open Java Development Kit (OpenJDK) 11 on Debian 10.
🌐
Debian
wiki.debian.org › Java
Java - Debian Wiki
Each of them have a development environment (JDK) and a runtime (known as JRE, or Java Virtual Machines JVM). Here's a list of Java environment. Just run aptitude search "?provides(java-runtime)" on your system to list available packages). The default JRE/JDK installed in Debian isn't the same for all architecture.
🌐
LinuxShout
linux.how2shout.com › home › 2 ways to install openjdk 11 on debian 12 server or desktop
2 ways to install OpenJDK 11 on Debian 12 Server or Desktop - LinuxShout
July 10, 2024 - Set OpenJDK 11 as the default JAVA version. ... There are no special requirements for installing OpenJDK 11 on Debian 12.
🌐
Linuxize
linuxize.com › home › java › how to install java on debian 10 linux
How to Install Java on Debian 10 Linux | Linuxize
February 24, 2020 - If you are not sure which Java package to install, the general recommendation is to stick to the default OpenJDK (JDK 11) version. Some Java-based applications may require a specific version of Java, so you should consult the application documentation. OpenJDK 11, the open-source implementation of the Java Platform, is the default Java development and runtime in Debian ...
🌐
Debian
packages.debian.org › sid › openjdk-11-jdk
Client Challenge
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser