This is an automated email from the ASF dual-hosted git repository.

guoweijie pushed a commit to branch release-2.0
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 5832b4ba0986a21e58344d4a14745a282619df7c
Author: Weijie Guo <res...@163.com>
AuthorDate: Fri Jan 24 11:30:41 2025 +0800

    [FLINK-37196][docs] Use JDK17 to run documentation build
---
 .github/workflows/docs.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/docs.sh b/.github/workflows/docs.sh
index 63572502e5a..d5a9bd5a608 100755
--- a/.github/workflows/docs.sh
+++ b/.github/workflows/docs.sh
@@ -18,10 +18,10 @@
 
################################################################################
 set -e
 
-# override env to use Java 11 to for build instead default Java 8
+# override env to use Java 17 to for build instead default Java 8
 # path to JDK is taken from 
https://github.com/apache/flink-connector-shared-utils/blob/ci_utils/docker/base/Dockerfile#L37-L40
-export JAVA_HOME=$JAVA_HOME_11_X64
-export PATH=$JAVA_HOME_11_X64/bin:$PATH
+export JAVA_HOME=$JAVA_HOME_17_X64
+export PATH=$JAVA_HOME_17_X64/bin:$PATH
 
 mvn --version
 java -version

Reply via email to