RFR: 8376601: Bump minimum JDK version for JavaFX to JDK 25

Andy Goryachev angorya at openjdk.org
Wed Jan 28 18:02:42 UTC 2026


On Wed, 28 Jan 2026 17:47:45 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> This PR bumps the minimum version of the JDK needed to run JavaFX to JDK 25.
> 
> In order for JavaFX to be able to use more recent JDK features, we should increase the minimum version of the JDK that can run the latest JavaFX. Additionally, there is an ongoing cost to keeping JavaFX buildable and runnable on older versions of Java, and little reason to continue to do so.
> 
> This continues our current practice of setting the minimum JDK for JavaFX N to JDK N-2. JavaFX N is primarily intended for use with JDK N and we also build and test it against JDK N-1 (which is typically what we use as the boot JDK). Anything older than that, including the proposed minimum JDK N-2 (25 in this specific case), is untested.
> 
> This PR targeted to master for JavaFX 27, and must not be backported to any earlier version. This needs a CSR and a release note.

build.properties line 93:

> 91: jfx.build.jdk.version=25.0.1
> 92: jfx.build.jdk.buildnum=8
> 93: jfx.build.jdk.version.min=25

is `jfx.build.jdk.buildnum.min` correct or is it too early to update?

build.properties line 98:

> 96: 
> 97: # The jfx.gradle.version property defines the version of gradle that is
> 98: # used in the build. It must match the version number in

I assume the gradle version remains the same?

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/2056#discussion_r2737845572
PR Review Comment: https://git.openjdk.org/jfx/pull/2056#discussion_r2737847524


More information about the openjfx-dev mailing list