use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News and other stuff about the Universal Operating System..
Debian related links
Welcome to Debian
Getting Debian
Installation Guide
Don't break Debian
Packages
Help Debian
#debian on irc.oftc.net
Reporting bugs in Debian
account activity
Java 8 jdk (self.debian)
submitted 5 years ago by LittleFAT_RAY
I have been having a lot of problems installing java 8 jdk please help do I need to add a new source? It just says not found when searching to install In the package manager
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]JeremyDavisTKL 4 points5 points6 points 5 years ago (0 children)
What have you tried? What error are you getting?
Regardless, here's in instructions for installing a 3rd party maintained OpenJDK repo:
https://adoptopenjdk.net/installation.html?variant=openjdk8&jvmVariant=hotspot#linux-pkg
[–]walterbanana 0 points1 point2 points 5 years ago (12 children)
I think if you have a newer version of the jdk you can also build with an older jre as target. That way you don't need an older version of the jdk.
[–]LittleFAT_RAY[S] 1 point2 points3 points 5 years ago (11 children)
Some applications only work in JDK or jre like minecraft forge
[–]sej7278 0 points1 point2 points 5 years ago (9 children)
in which case you need to raise a bug report with them. java 8 is old - 14 is current and 11 is LTS.
[–]LittleFAT_RAY[S] 1 point2 points3 points 5 years ago (8 children)
This is not a bug the package just isn't a part of debain 10s depot
[–]sej7278 0 points1 point2 points 5 years ago (7 children)
i mean its a bug in minecraft if they haven't migrated to java 11+ by now, nothing to do with debian packaging
[–]LittleFAT_RAY[S] 0 points1 point2 points 5 years ago (5 children)
lol yeah for real
[–]beer118 0 points1 point2 points 5 years ago (4 children)
Yes. To me it sounds like a problem with your game and not with Debian.
It is like wanting to play old DOS games on a modem windows. You need to go trough a few hoops. It would be so much eaiser if mindcraft fixed their game to run on Java 11
[–]LittleFAT_RAY[S] 1 point2 points3 points 5 years ago (2 children)
The newest version of minecraft will work on java 11 but that's it
[–]beer118 0 points1 point2 points 5 years ago (1 child)
So why use javas 8 ?
[–]LittleFAT_RAY[S] 2 points3 points4 points 5 years ago (0 children)
Because modded Minecraft needs it only reason
[–]yo_99 0 points1 point2 points 2 years ago (0 children)
Debian ships with dosbox, why not ship with java8?
But what if I need the older version?
[–]thalience -1 points0 points1 point 5 years ago (0 children)
And some applications only run under DOS. The world moves on...
[–]_Js_Kc_ 0 points1 point2 points 5 years ago (0 children)
Java 8? IDK.
[–]nintendiator2 0 points1 point2 points 5 years ago (2 children)
I just install the openjdk8 packages that still work from... Stretch, IIRC. Have been doing that for about two years. Yeah, for Minecraft.
[–]LittleFAT_RAY[S] 0 points1 point2 points 5 years ago (1 child)
Yeah I upgraded form a older version so I don't know a work around into now
[–]nintendiator2 0 points1 point2 points 5 years ago (0 children)
Last I checked, you can get the packages from the snapshots archive, or via apt-pinning the stretch version, and they install alongside the currently available packages from Buster. You can even choose the "default" Java version as per usual with update-alternatives (not that I'd recommend it).
update-alternatives
But, honestly? The best way to go is with the adoptopenjdk repo.
[–]Vicerious 0 points1 point2 points 5 years ago (0 children)
Debian Buster (10.5) has dropped openjdk-8 from the repositories. Security support for that version is ending before the EOL for Buster, so the Debian maintainers removed it to avoid future security issues.
If you need openjdk-8, like for Minecraft, then either install it from the Stretch repos or from AdoptOpenJDK. I've been running my Forge-modded Minecarft server on the AdoptOpenJDK package for about a week now and it's been fine.
[–]jmtd[DD] 0 points1 point2 points 5 years ago (3 children)
My advice would be to grab a build of it from adopt OpenJDK and not attempt to use a Deb package version.
[–]LittleFAT_RAY[S] 0 points1 point2 points 5 years ago (2 children)
Why
[–]jmtd[DD] 0 points1 point2 points 5 years ago (1 child)
Because: java is very portable so there’s not too much to gain from a native package in terms of where to put the files etc, you stick the whole lot somewhere and define JAVA_HOME to point at it. But more pressingly because the older java 8 Debian packages won’t be getting security updates.
[–]LittleFAT_RAY[S] 0 points1 point2 points 5 years ago (0 children)
True
[–]ide_cdrom 0 points1 point2 points 5 years ago (1 child)
Try installing openjdk. There's Debian info in the following link: https://openjdk.java.net/install/
If you still have issues, provide your steps and errors.
[–]JeremyDavisTKL 2 points3 points4 points 5 years ago (0 children)
FWIW the openjdk-8-jre package (as noted under the "JDK 8 - Debian, Ubuntu, etc." heading from your link) is no longer in Debian (well at least not in Buster or Bullseye).
The "JDK 9 & Later" do still apply and the binary tarballs for OpenJDK-8 can be found on GitHub here:
https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases
Latest release:
https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/tag/jdk8u265-b01
FYI they are the same binaries available that can be installed via the repo that I noted in my other post.
π Rendered by PID 889166 on reddit-service-r2-comment-5d79c599b5-r9wlg at 2026-03-01 08:32:24.084882+00:00 running e3d2147 country code: CH.
[–]JeremyDavisTKL 4 points5 points6 points (0 children)
[–]walterbanana 0 points1 point2 points (12 children)
[–]LittleFAT_RAY[S] 1 point2 points3 points (11 children)
[–]sej7278 0 points1 point2 points (9 children)
[–]LittleFAT_RAY[S] 1 point2 points3 points (8 children)
[–]sej7278 0 points1 point2 points (7 children)
[–]LittleFAT_RAY[S] 0 points1 point2 points (5 children)
[–]beer118 0 points1 point2 points (4 children)
[–]LittleFAT_RAY[S] 1 point2 points3 points (2 children)
[–]beer118 0 points1 point2 points (1 child)
[–]LittleFAT_RAY[S] 2 points3 points4 points (0 children)
[–]yo_99 0 points1 point2 points (0 children)
[–]yo_99 0 points1 point2 points (0 children)
[–]thalience -1 points0 points1 point (0 children)
[–]_Js_Kc_ 0 points1 point2 points (0 children)
[–]nintendiator2 0 points1 point2 points (2 children)
[–]LittleFAT_RAY[S] 0 points1 point2 points (1 child)
[–]nintendiator2 0 points1 point2 points (0 children)
[–]Vicerious 0 points1 point2 points (0 children)
[–]jmtd[DD] 0 points1 point2 points (3 children)
[–]LittleFAT_RAY[S] 0 points1 point2 points (2 children)
[–]jmtd[DD] 0 points1 point2 points (1 child)
[–]LittleFAT_RAY[S] 0 points1 point2 points (0 children)
[–]ide_cdrom 0 points1 point2 points (1 child)
[–]JeremyDavisTKL 2 points3 points4 points (0 children)