File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ function update_script() {
4646 java_version=$( java -version 2>&1 | awk -F[\" _] ' /version/ {print $2}' )
4747 if [[ " $java_version " =~ ^1\. 8\. * ]]; then
4848 $STD apt-get remove --purge -y zulu8-jdk
49- $STD apt-get -y install zulu21-jdk
49+ $STD apt-get -y install zulu21-jre-headless
5050 msg_ok " Updated Azul Zulu Java to 21"
5151 else
5252 msg_ok " Azul Zulu Java 21 already installed"
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ wget -qO /etc/apt/trusted.gpg.d/zulu-repo.asc "https://keyserver.ubuntu.com/pks/
3434wget -q https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-3_all.deb
3535$STD dpkg -i zulu-repo_1.0.0-3_all.deb
3636$STD apt-get update
37- $STD apt-get -y install zulu21-jdk
37+ $STD apt-get -y install zulu21-jre-headless
3838msg_ok " Installed Azul Zulu Java"
3939
4040msg_info " Installing libssl (if needed)"
You can’t perform that action at this time.
0 commit comments