Last active
April 27, 2022 16:43
-
-
Save rexlManu/c48375b310d04626b8ddefa71fb56493 to your computer and use it in GitHub Desktop.
Install java 8 on debian 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Yea only if u already had a java version installed, then you would need to change it with your command 👍
Is not
sudo apt-get install openjdk-8-hotspot
a better alternative, it's already in the default reposiotory exist.
Its only in Ubuntu Repositories Inside. For debian you need to add it
Oh, i forgot it. I just work with Ubuntu and Raspian Distros.
Yes!
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
You forgot