Skip to content

Commit 19a3f83

Browse files
committed
Revert "Remove setting JAVA_HOME, made no difference."
This reverts commit 7e78b9d.
1 parent 7e78b9d commit 19a3f83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildscripts/kokoro/macos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ export GRADLE_FLAGS="${GRADLE_FLAGS:-} --max-workers=2"
2020
. "$GRPC_JAVA_DIR"/buildscripts/kokoro/kokoro.sh
2121
trap spongify_logs EXIT
2222

23-
export -n JAVA_HOME
2423
brew install --cask temurin@8
2524
export PATH="$(/usr/libexec/java_home -v"1.8.0")/bin:${DOWNLOAD_DIR}/cmake-${CMAKE_VERSION}-macos-universal/CMake.app/Contents/bin:${PATH}"
25+
export JAVA_HOME="$(/usr/libexec/java_home -v"1.8.0")"
2626
brew install maven
2727

2828
"$GRPC_JAVA_DIR"/buildscripts/kokoro/unix.sh

0 commit comments

Comments
 (0)