Hi Pankaj,

Yes, you can use all 4 mentioned JDKs for these three things.

When building Flink from sources with Java 11, you may need to activate the
java 11 profile in maven (-Pjava11). If you just want to use Flink with
Java 11, you can also use Flink built with Java 8 (in fact the official
maven artifacts and dist are still built in Java 8).

Best,

Arvid

On Sat, Aug 22, 2020 at 1:23 PM Pankaj Chand <pankajchanda...@gmail.com>
wrote:

> Hello,
>
> The documentation says that to run Flink, we need Java 8 or 11.
>
> Will JDK 11 work for running Flink, programming Flink applications as well
> as building Flink from source?
>
> Also, can we use Open JDK for the above three capabilities, or do any of
> the capabilities require Oracle JDK?
>
> Thanks,
>
> Pankaj
>


-- 

Arvid Heise | Senior Java Developer

<https://www.ververica.com/>

Follow us @VervericaData

--

Join Flink Forward <https://flink-forward.org/> - The Apache Flink
Conference

Stream Processing | Event Driven | Real Time

--

Ververica GmbH | Invalidenstrasse 115, 10115 Berlin, Germany

--
Ververica GmbH
Registered at Amtsgericht Charlottenburg: HRB 158244 B
Managing Directors: Timothy Alexander Steinert, Yip Park Tung Jason, Ji
(Toni) Cheng

Reply via email to