You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "tomncooper (via GitHub)" <gi...@apache.org> on 2025/07/09 13:50:29 UTC

[PR] [hotfix][docs] Update build documentation to require Java 17 [flink]

tomncooper opened a new pull request, #26773:
URL: https://github.com/apache/flink/pull/26773

   The README correctly states that JDK 17 is the default for building Flink. However, the build instructions in the docs still state Java 11 is required. The default build commands will fail (without the correct profile being set) on Java 11. This PR updates the docs to state Java 17 is required.
   
   ## Documentation
   
     - Does this pull request introduce a new feature? no
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [hotfix][docs] Update build documentation to require Java 17 [flink]

Posted by "flinkbot (via GitHub)" <gi...@apache.org>.
flinkbot commented on PR #26773:
URL: https://github.com/apache/flink/pull/26773#issuecomment-3052774127

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "40f0d63f1f26ff5c8fee5bc03e0dc2697329962c",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "40f0d63f1f26ff5c8fee5bc03e0dc2697329962c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 40f0d63f1f26ff5c8fee5bc03e0dc2697329962c UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [hotfix][docs] Update build documentation to require Java 17 [flink]

Posted by "tomncooper (via GitHub)" <gi...@apache.org>.
tomncooper commented on code in PR #26773:
URL: https://github.com/apache/flink/pull/26773#discussion_r2197952035


##########
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.8.6** and a **JDK** (Java Development Kit). Flink requires **Java 11** to build.
+In addition you need **Maven 3.8.6** and a **JDK** (Java Development Kit). Flink requires **Java 17** to build.

Review Comment:
   The commands listed on this page _require_  Java 17. Previously, we supported Java 8 via a profile in the root pom but we stated here that it _requires_ 11 here, so this statement is consistent.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [hotfix][docs] Update build documentation to require Java 17 [flink]

Posted by "dylanhz (via GitHub)" <gi...@apache.org>.
dylanhz commented on code in PR #26773:
URL: https://github.com/apache/flink/pull/26773#discussion_r2199332098


##########
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.8.6** and a **JDK** (Java Development Kit). Flink requires **Java 11** to build.
+In addition you need **Maven 3.8.6** and a **JDK** (Java Development Kit). Flink requires **Java 17** to build.

Review Comment:
   My first build failed using 11 following the instructions on this page. I think we should recommend 17 as the default and put a note here about how to support 11.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [hotfix][docs] Update build documentation to require Java 17 [flink]

Posted by "tomncooper (via GitHub)" <gi...@apache.org>.
tomncooper commented on code in PR #26773:
URL: https://github.com/apache/flink/pull/26773#discussion_r2197952035


##########
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.8.6** and a **JDK** (Java Development Kit). Flink requires **Java 11** to build.
+In addition you need **Maven 3.8.6** and a **JDK** (Java Development Kit). Flink requires **Java 17** to build.

Review Comment:
   The commands listed on this page _require_  Java 17. Previously, we supported Java 8 via a profile in the root pom but we stated here that it _requires_ 11, so this statement is consistent.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [hotfix][docs] Update build documentation to require Java 17 [flink]

Posted by "davidradl (via GitHub)" <gi...@apache.org>.
davidradl commented on code in PR #26773:
URL: https://github.com/apache/flink/pull/26773#discussion_r2197942316


##########
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.8.6** and a **JDK** (Java Development Kit). Flink requires **Java 11** to build.
+In addition you need **Maven 3.8.6** and a **JDK** (Java Development Kit). Flink requires **Java 17** to build.

Review Comment:
   We support the minimum of 11 but recommend 17.  I suggest using words like this rather than `requires 17`.  



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org