diff --git a/ct/openhab.sh b/ct/openhab.sh index 566cf32a6..bd5e801ea 100644 --- a/ct/openhab.sh +++ b/ct/openhab.sh @@ -42,4 +42,4 @@ msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using one of the following URLs:${CL}" echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:8443${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}" diff --git a/install/openhab-install.sh b/install/openhab-install.sh index 8b6fb4b52..e2c121229 100644 --- a/install/openhab-install.sh +++ b/install/openhab-install.sh @@ -19,12 +19,7 @@ $STD apt-get install -y \ apt-transport-https msg_ok "Installed Dependencies" -msg_info "Installing Azul Zulu17" -curl -fsSL https://repos.azul.com/azul-repo.key | gpg --dearmor -o /usr/share/keyrings/azul.gpg -echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" >/etc/apt/sources.list.d/zulu.list -$STD apt-get update -$STD apt-get -y install zulu17-jdk -msg_ok "Installed Azul Zulu17" +JAVA_VERSION="21" setup_java msg_info "Installing openHAB" curl -fsSL "https://openhab.jfrog.io/artifactory/api/gpg/key/public" | gpg --dearmor -o /usr/share/keyrings/openhab.gpg