Fix: download java 16
This commit is contained in:
parent
13aaecb315
commit
1997882671
3 changed files with 3 additions and 3 deletions
|
@ -172,7 +172,7 @@ function download_jre {
|
||||||
rm java.tar.gz
|
rm java.tar.gz
|
||||||
elif [[ $required_java == "16" ]]; then
|
elif [[ $required_java == "16" ]]; then
|
||||||
echo "Downloading Java 16"
|
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"
|
echo "Extracting Java 16"
|
||||||
tar -xzf java.tar.gz
|
tar -xzf java.tar.gz
|
||||||
echo "Moving Java 16 to $(echo $HOME)/.adoptium_java/jre16"
|
echo "Moving Java 16 to $(echo $HOME)/.adoptium_java/jre16"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
EXTRA_SCRIPTS_VERSION="v2.1.3"
|
EXTRA_SCRIPTS_VERSION="v2.1.4"
|
||||||
|
|
2
msman.sh
2
msman.sh
|
@ -8,7 +8,7 @@ set -e
|
||||||
# and acknowledge the original script and author. #
|
# 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
|
# You shouldn't need to change anything in this file
|
||||||
|
|
Loading…
Reference in a new issue