Skip to content

Commit b36f63c

Browse files
authored
DLPX-96190 [Appliance] - linux-pkg to use jdk17 for virtualization builds and windows-connector (#360)
PR URL: https://www.github.com/delphix/linux-pkg/pull/360
1 parent 96a8b28 commit b36f63c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

packages/virtualization/config.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@ function prepare() {
2727
logmust install_pkgs "${_RET_LIST[@]}"
2828

2929
logmust install_pkgs \
30+
openjdk-17-jdk-headless \
3031
"$DEPDIR"/crypt-blowfish/*.deb \
3132
"$DEPDIR"/host-jdks/*.deb
3233
}
3334

3435
function build() {
3536
export JAVA_HOME
36-
JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/"
37+
JAVA_HOME="/usr/lib/jvm/java-17-openjdk-amd64/"
3738

3839
export LANG
3940
LANG=en_US.UTF-8

packages/windows-connector/config.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/dlpx-app-gate.git"
2020
SKIP_COPYRIGHTS_CHECK=true
2121

22+
function prepare() {
23+
logmust install_pkgs \
24+
openjdk-17-jdk-headless
25+
}
26+
2227
function build() {
2328
CONNECTOR_DIR="${WORKDIR}/repo/appliance/server/connector"
2429
INSTALLER_DIR="${WORKDIR}/repo/appliance/host/windows"

0 commit comments

Comments
 (0)