thanks Cheng and Fokko! I merged Fokko's PR.
On Fri, Aug 29, 2025 at 12:51 AM Fokko Driesprong <fo...@apache.org> wrote: > Hey Steven, > > I think we can just bump it to 17, since the target JDK is set to 11. I > took the liberty of creating a PR here > <https://github.com/apache/iceberg/pull/13946>. > > Kind regards, > Fokko > > Op vr 29 aug 2025 om 07:15 schreef Cheng Pan <pan3...@gmail.com>: > >> Java 17 should be used for Maven repo deployment, see [1] >> >> [1] https://github.com/apache/iceberg/pull/13369 >> >> Thanks, >> Cheng Pan >> >> >> >> On Aug 29, 2025, at 13:05, Steven Wu <stevenz...@gmail.com> wrote: >> >> Hi, >> >> When building the release candidate for 1.10.0 release, I ran into this >> Java version problem. >> >> Initially, I was using Java 21 locally and the deploy.gradle would fail >> the step of staging binaries. >> ``` >> > Releases must be built with Java 11 >> ``` >> >> So I switched the Java version to Java 11 as required. But now I ran into >> the Java version requirement problem for Spark 4.0 >> ``` >> > Spark 4.0 build requires JDK 17 or 21 but was executed with JDK 11 >> ``` >> >> Any suggestions on how to move forward? Can we move to Java 17? >> >> Thanks, >> Steven >> >> >>