Last active
September 5, 2021 12:31
-
-
Save zekroTJA/b39dc43690555de91d0baac2f72d250b to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
set -x | |
set -e | |
apt install -y software-properties-common | |
wget -O- https://apt.corretto.aws/corretto.key | sudo apt-key add - | |
sudo add-apt-repository 'deb https://apt.corretto.aws stable main' | |
apt update -y | |
apt install -y java-16-amazon-corretto-jdk | |
java -version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment