Hi Amenreet Singh Sodhi,

Flink is compatible with JDK8 and JDK11, not with JDK17. You can find the
Jira issue that tracks compatibility at
https://issues.apache.org/jira/browse/FLINK-15736. The biggest problem is
the Kryo serializer that's currently being used. That doesn't work with
JDK17, but upgrading would break compatibility so is not trivial.

Best regards,

Martijn

On Thu, May 11, 2023 at 3:08 PM amenreet sodhi <amenso...@gmail.com> wrote:

> Hi,
>
> I wanted to confirm if Apache Flink is compatible with JDK17. If not, when
> can we expect this to happen? What major issues will I face if I try to
> compile it with JDK17?
>
> Thanks
> Regards
> Amenreet Singh Sodhi
>
>

Reply via email to