get-jdk-url.sh 234 B

1234567891011
  1. #!/bin/bash
  2. set -e
  3. case "$1" in
  4. java8)
  5. echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u282-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u282b08.tar.gz"
  6. ;;
  7. *)
  8. echo $"Unknown java version"
  9. exit 1
  10. esac