provision: Install Java ≥ 17.

This is required by vnu-jar now.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2026-05-12 17:51:36 -07:00 committed by Anders Kaseorg
parent b33c183060
commit 202b6735ee
2 changed files with 6 additions and 2 deletions

View File

@ -119,7 +119,11 @@ UBUNTU_COMMON_APT_DEPENDENCIES = [
"redis-server",
"hunspell-en-us",
"puppet-lint",
"default-jre-headless", # Required by vnu-jar
(
"openjdk-17-jre-headless"
if vendor == "ubuntu" and os_version == "22.04"
else "default-jre-headless"
), # Required by vnu-jar
# Puppeteer dependencies from here
"fonts-freefont-ttf",
"libatk-bridge2.0-0",

View File

@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 503
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
PROVISION_VERSION = (380, 0) # bumped 2026-05-12 to upgrade Python requirements
PROVISION_VERSION = (380, 1) # bumped 2026-05-12 to install Java 17