Skip to content

Instantly share code, notes, and snippets.

@zekroTJA
Last active September 5, 2021 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zekroTJA/b39dc43690555de91d0baac2f72d250b to your computer and use it in GitHub Desktop.
Save zekroTJA/b39dc43690555de91d0baac2f72d250b to your computer and use it in GitHub Desktop.
#!/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