Per docs, it is Java 8. It's possible Java 11 partly works with 2.x but not supported. But then again 2.x is not supported either.
On Mon, May 29, 2023, 6:43 AM Poorna Murali <poornamur...@gmail.com> wrote: > We are currently using JDK 11 and spark 2.4.5.1 is working fine with that. > So, we wanted to check the maximum JDK version supported for 2.4.5.1. > > On Mon, 29 May, 2023, 5:03 pm Aironman DirtDiver, <alons...@gmail.com> > wrote: > >> Spark version 2.4.5.1 is based on Apache Spark 2.4.5. According to the >> official Spark documentation for version 2.4.5, the maximum supported JDK >> (Java Development Kit) version is JDK 8 (Java 8). >> >> Spark 2.4.5 is not compatible with JDK versions higher than Java 8. >> Therefore, you should use JDK 8 to ensure compatibility and avoid any >> potential issues when running Spark 2.4.5. >> >> El lun, 29 may 2023 a las 13:28, Poorna Murali (<poornamur...@gmail.com>) >> escribió: >> >>> Hi, >>> >>> We are using spark version 2.4.5.1. We would like to know the maximum >>> JDK version supported for the same. >>> >>> Thanks, >>> Poorna >>> >> >> >> -- >> Alonso Isidoro Roman >> [image: https://]about.me/alonso.isidoro.roman >> >> <https://about.me/alonso.isidoro.roman?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links> >> >