This is an automated email from the ASF dual-hosted git repository.
lindong pushed a commit to branch release-1.17
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.17 by this push:
new a708d6566f4 Update Flink build instruction to deprecate Java 8 instead
of requiring Java 11
a708d6566f4 is described below
commit a708d6566f4cc5b9f15e8813de77c04f75a262fd
Author: Dong Lin <[email protected]>
AuthorDate: Sat Mar 4 13:02:49 2023 +0800
Update Flink build instruction to deprecate Java 8 instead of requiring
Java 11
This closes #22092.
---
docs/content.zh/docs/dev/configuration/gradle.md | 2 +-
docs/content.zh/docs/dev/configuration/maven.md | 2 +-
docs/content.zh/docs/flinkDev/building.md | 2 +-
docs/content/docs/dev/configuration/gradle.md | 2 +-
docs/content/docs/dev/configuration/maven.md | 2 +-
docs/content/docs/flinkDev/building.md | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs/content.zh/docs/dev/configuration/gradle.md
b/docs/content.zh/docs/dev/configuration/gradle.md
index a7455060b51..7ffd645d60a 100644
--- a/docs/content.zh/docs/dev/configuration/gradle.md
+++ b/docs/content.zh/docs/dev/configuration/gradle.md
@@ -29,7 +29,7 @@ under the License.
## 要求
- Gradle 7.x
-- Java 11
+- Java 8 (deprecated) 或 Java 11
## 将项目导入 IDE
diff --git a/docs/content.zh/docs/dev/configuration/maven.md
b/docs/content.zh/docs/dev/configuration/maven.md
index bc1a7157825..987cbb350fe 100644
--- a/docs/content.zh/docs/dev/configuration/maven.md
+++ b/docs/content.zh/docs/dev/configuration/maven.md
@@ -29,7 +29,7 @@ under the License.
## 要求
- Maven 3.0.4 (or higher)
-- Java 11
+- Java 8 (deprecated) or Java 11
## 将项目导入 IDE
diff --git a/docs/content.zh/docs/flinkDev/building.md
b/docs/content.zh/docs/flinkDev/building.md
index 0e7880b24b7..5bc6728470d 100644
--- a/docs/content.zh/docs/flinkDev/building.md
+++ b/docs/content.zh/docs/flinkDev/building.md
@@ -35,7 +35,7 @@ under the License.
首先需要准备源码。可以[从发布版本下载源码]({{< downloads >}}) 或者[从 Git 库克隆 Flink 源码]({{<
github_repo >}})。
-还需要准备 **Maven 3** 和 **JDK** (Java开发套件)。Flink 依赖 **Java 11** 或更新的版本来进行构建。
+还需要准备 **Maven 3** 和 **JDK** (Java开发套件)。Flink 依赖 **Java 8 (deprecated) 或 Java
11** 来进行构建。
*注意:Maven 3.3.x 可以构建 Flink,但是不能正确地屏蔽掉指定的依赖。Maven 3.2.5 可以正确地构建库文件。
diff --git a/docs/content/docs/dev/configuration/gradle.md
b/docs/content/docs/dev/configuration/gradle.md
index 5d467307c2d..06bb38c8636 100644
--- a/docs/content/docs/dev/configuration/gradle.md
+++ b/docs/content/docs/dev/configuration/gradle.md
@@ -31,7 +31,7 @@ to automate tasks in the development process.
## Requirements
- Gradle 7.x
-- Java 11
+- Java 8 (deprecated) or Java 11
## Importing the project into your IDE
diff --git a/docs/content/docs/dev/configuration/maven.md
b/docs/content/docs/dev/configuration/maven.md
index ec11599c773..42f21d4db1f 100644
--- a/docs/content/docs/dev/configuration/maven.md
+++ b/docs/content/docs/dev/configuration/maven.md
@@ -31,7 +31,7 @@ publish, and deploy projects. You can use it to manage the
entire lifecycle of y
## Requirements
- Maven 3.0.4 (or higher)
-- Java 11
+- Java 8 (deprecated) or Java 11
## Importing the project into your IDE
diff --git a/docs/content/docs/flinkDev/building.md
b/docs/content/docs/flinkDev/building.md
index 9279bbdae28..caf91ec9993 100644
--- a/docs/content/docs/flinkDev/building.md
+++ b/docs/content/docs/flinkDev/building.md
@@ -33,7 +33,7 @@ This page covers how to build Flink {{< version >}} from
sources.
In order to build Flink you need the source code. Either [download the source
of a release]({{< downloads >}}) or [clone the git repository]({{< github_repo
>}}).
-In addition you need **Maven 3** and a **JDK** (Java Development Kit). Flink
requires **at least Java 11** to build.
+In addition you need **Maven 3** and a **JDK** (Java Development Kit). Flink
requires **Java 8 (deprecated) or Java 11** to build.
*NOTE: Maven 3.3.x can build Flink, but will not properly shade away certain
dependencies. Maven 3.2.5 creates the libraries properly.*