Jeeno Lentin
07/25/2024, 3:41 PM1.15
to 1.18
in our AWS Kinesis (AWS Managed Apache Flink) environment. While Flink 1.18 is supposed to support Java 17, we are encountering issues when deploying Java 17 applications. The applications still work with Java 11 but fail with Java 17 with this error:
Caused by: java.lang.UnsupportedClassVersionError: <class_name> has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
It appears that AWS is supplying JRE 11, and we don’t see any options in the AWS console to choose the Java Runtime..
Has anyone else experienced similar issues with AWS Managed Apache Flink and Java 17? Any insights or workarounds would be greatly appreciated. We are also in contact with AWS support but are looking for any additional guidance from the community.
Thank you!D. Draco O'Brien
07/25/2024, 3:49 PMJeeno Lentin
07/25/2024, 4:10 PMLouis Cameron Booth
07/26/2024, 2:28 PMGeorge Leonard
07/27/2024, 10:57 AMJeeno Lentin
07/28/2024, 11:57 AMJeeno Lentin
07/28/2024, 12:03 PMEric Sammer
07/30/2024, 12:23 AM--target 11
).Jeeno Lentin
08/05/2024, 12:57 PM