Hi Rajat, Flink releases are compiled with JDK 8 but it is able to run on JDK 8-17. As long as your Flink runs on JDK17 on both server and client side, you are free to write your Flink jobs with Java 17.
Best, Zhanghao Chen ________________________________ From: Rajat Pratap <rajat789pra...@gmail.com> Sent: Tuesday, May 28, 2024 15:28 To: user@flink.apache.org <user@flink.apache.org> Subject: Java 17 incompatibilities with Flink 1.18.1 version Hi Team, I am writing flink jobs with latest release version for flink (1.18.1). The jobmanager is also deployed with the same version build. However, we faced issues when we deployed the jobs. On further investigation, I noticed all libraries from flink have build jdk 1.8. I have the following questions: - Is this the correct version for writing java 17 flink jobs? - How to write flink jobs with Java 17 code and which library versions to use? - Is Java 17 even supported on the client side or is it just on the server side support for java 17? Your urgent help is much appreciated. Regards, Rajat