Skip to content

Commit 6af3b07

Browse files
authored
jdk to jre (#3319)
1 parent f00cdff commit 6af3b07

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ct/omada.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"

install/omada-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ wget -qO /etc/apt/trusted.gpg.d/zulu-repo.asc "https://keyserver.ubuntu.com/pks/
3434
wget -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
3838
msg_ok "Installed Azul Zulu Java"
3939

4040
msg_info "Installing libssl (if needed)"

0 commit comments

Comments
 (0)