Minimum JDK policy for OpenJFX

Kevin Rushforth kevin.rushforth at oracle.com
Tue May 18 15:17:08 UTC 2021


A very timely question. I was already planning to raise this as a 
discussion after we update our boot JDK to JDK 16 (blocked by the 
in-progress gradle 7 update), which I hope to do later this week.

I think that this is the right time to consider bumping the minimum 
required version to run JavaFX 17 to JDK 16, which would allow us to 
start using APIs and language features from JDK 12 through JDK 16 inclusive.

In general, we only guarantee that JavaFX N runs on JDK N-1 or later. In 
practice, though, we don't bump it for each release, as there are some 
advantages in being able to run with the latest JDK LTS. Since JavaFX 17 
will release at roughly the same time as JDK 17 LTS, I can't think of a 
good reason to not update our minimum.

Comments?

-- Kevin


On 5/18/2021 7:59 AM, Michael Strauß wrote:
> Currently, JDK 11 is required for the latest version of OpenJFX. What
> is the policy for bumping this requirement? Does it always correspond
> to the latest JDK LTS release (the next of which will be JDK 17), or
> is it independent from the release cycle of OpenJDK?



More information about the openjfx-dev mailing list