|
|
@ -27,7 +27,7 @@ sudo apt-get install -y wget apt-transport-https gnupg |
|
|
|
wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | sudo apt-key add - |
|
|
|
echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | sudo tee /etc/apt/sources.list.d/adoptium.list |
|
|
|
sudo apt update -y |
|
|
|
sudo apt-get install -y temurin-17-jdk=18.0.1+10 |
|
|
|
sudo apt-get install -y temurin-18-jdk=18.0.1+10 |
|
|
|
sudo update-alternatives --config java |
|
|
|
``` |
|
|
|
|
|
|
|