Skip to content

Commit

Permalink
Use correct value for JAVA_HOME in Kokoro macOS scripts
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 597247159
Change-Id: I78b6bfcb20f12c0e5a5e0297444b222b33524ad5
  • Loading branch information
morambro authored and copybara-github committed Jan 10, 2024
1 parent d1cafdd commit 03be91e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kokoro/macos_external/bazel/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export COURSIER_OPTS="-Djava.net.preferIPv6Addresses=true"
if [[ -n "${KOKORO_ROOT:-}" ]] ; then
readonly TINK_BASE_DIR="$(echo "${KOKORO_ARTIFACTS_DIR}"/git*)"
cd "${TINK_BASE_DIR}/tink_java_awskms"
export JAVA_HOME=$(/usr/libexec/java_home -v "1.8.0_292")
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-8-latest/Contents/Home
fi

./kokoro/testutils/update_android_sdk.sh
Expand Down

0 comments on commit 03be91e

Please sign in to comment.