Skip to content

Instantly share code, notes, and snippets.

@rexlManu
Last active April 27, 2022 16:43
Show Gist options
  • Save rexlManu/c48375b310d04626b8ddefa71fb56493 to your computer and use it in GitHub Desktop.
Save rexlManu/c48375b310d04626b8ddefa71fb56493 to your computer and use it in GitHub Desktop.
Install java 8 on debian 10
apt install apt-transport-https ca-certificates wget dirmngr gnupg software-properties-common -y
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add -
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
apt update -y
apt install adoptopenjdk-8-hotspot -y
clear
java -version
@rexlManu
Copy link
Author

Yes!

@Mervus
Copy link

Mervus commented Mar 21, 2021

it installs Java11 is there a Way to get Java 8?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment