Quick question: What’s the highest version of Java that works with Flink?
j
Jasmin Redzepovic
03/10/2023, 11:41 PM
Currently it is Java 11
a
Amir Hossein Sharifzadeh
03/10/2023, 11:49 PM
That’s very disappointing 😞. In my project I use libraries that require Java 17 but can’t use them now!
d
David Moravek
03/11/2023, 3:24 PM
It’s possible to run Flink with Java 17, if you don’t depend on certain connectors (hadoop, hive..). It requires setting lots of flags for the module system, but it’s doable and I’ve done it in the past. There is no official support for this though, so you’d be on your own.
David Moravek
03/11/2023, 3:25 PM
Just to note, we’ve used J17 only as a runtime, the actual code was J11 compatible