From 1997882671b5325ddec737bd460b0418dc0aeb9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Mon, 10 Apr 2023 20:49:54 +0200 Subject: [PATCH] Fix: download java 16 --- .msman/java.sh | 2 +- .msman/version.sh | 2 +- msman.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.msman/java.sh b/.msman/java.sh index 73fc308..09ca635 100644 --- a/.msman/java.sh +++ b/.msman/java.sh @@ -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" diff --git a/.msman/version.sh b/.msman/version.sh index 36d1843..8ae4c5d 100644 --- a/.msman/version.sh +++ b/.msman/version.sh @@ -1,3 +1,3 @@ #!/bin/bash -EXTRA_SCRIPTS_VERSION="v2.1.3" +EXTRA_SCRIPTS_VERSION="v2.1.4" diff --git a/msman.sh b/msman.sh index df79209..23818ba 100755 --- a/msman.sh +++ b/msman.sh @@ -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