Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit d519dba

Browse files
committed
fix java_home
1 parent 59c19c3 commit d519dba

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.kokoro/build.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,17 @@ integration)
7777
graalvm)
7878
# Run Unit and Integration Tests with Native Image
7979
echo "Install GraalVM 25"
80-
echo $JAVA_HOME
80+
echo "$JAVA_HOME"
81+
pwd
8182
mkdir -p ~/tools/jdk
8283
cd ~/tools/jdk
8384
wget https://download.oracle.com/graalvm/25/latest/graalvm-jdk-25_linux-x64_bin.tar.gz
8485
tar -xf graalvm-jdk-25_linux-x64_bin.tar.gz
85-
pwd
86+
export JAVA_HOME=~/tools/jdk/graalvm-jdk-25+37.1
87+
export PATH=$JAVA_HOME/bin:$PATH
88+
java -version
8689
echo "Running native image tests..."
90+
cd "${scriptDir}/.."
8791
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test -Dfmt.skip=true
8892
RETURN_CODE=$?
8993
;;

0 commit comments

Comments
 (0)