Fix: download java 16

This commit is contained in:
Jiří Štefka 2023-04-10 20:49:54 +02:00
parent 13aaecb315
commit 1997882671
3 changed files with 3 additions and 3 deletions

View file

@ -172,7 +172,7 @@ function download_jre {
rm java.tar.gz
elif [[ $required_java == "16" ]]; then
echo "Downloading Java 16"
curl -L -o java.tar.gz "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.18%2B10/OpenJDK11U-jre_$(echo $arch)_linux_hotspot_16.0.2_7.tar.gz"
curl -L -o java.tar.gz "https://github.com/adoptium/temurin16-binaries/releases/download/jdk-16.0.2%2B7/OpenJDK16U-jdk_$(echo $arch)_linux_hotspot_16.0.2_7.tar.gz"
echo "Extracting Java 16"
tar -xzf java.tar.gz
echo "Moving Java 16 to $(echo $HOME)/.adoptium_java/jre16"

View file

@ -1,3 +1,3 @@
#!/bin/bash
EXTRA_SCRIPTS_VERSION="v2.1.3"
EXTRA_SCRIPTS_VERSION="v2.1.4"

View file

@ -8,7 +8,7 @@ set -e
# and acknowledge the original script and author. #
#############################################################################################################
CURRENT_SCRIPT_VERSION="v2.1.3"
CURRENT_SCRIPT_VERSION="v2.1.4"
# --------------------------------------------------
# You shouldn't need to change anything in this file