Select to view content in your preferred language

Java Maps SDK support for Java 21

527
3
10-30-2023 04:49 AM
Labels (1)
MarkBaird
Esri Regular Contributor
3 3 527

With the recent long-term support (LTS) release of Java 21, JavaFX 21 and support for the new JDK coming in the 8.4 release of Gradle, the Java Maps SDK team have been busy testing our 200.2 release to make sure everything is working correctly with this latest LTS version of Java. 

With testing successfully completed, we are pleased to announce the 200.2 release of the Java Maps SDK supports Java 21.  Our system requirements page has been updated and our Gradle starter project has also been modified to ensure it is compatible with Java 21.

The upgrade path for developers wanting to switch to Java 21 is very simple and only the following versions will need updating in your Gradle build scripts:

  • Gradle 8.4
  • JavaFX Gradle Plugin 0.1.0

So, if you want to use Java 21 in your Maps SDK apps, it’s a great time to upgrade to our 200.2 release.

3 Comments
aeldib
by
New Contributor

Hi @MarkBaird 

Looking at the 200.2 system requirements page , it doesn't list Java 21 as supported, unlike the 200.3 page.

Can you confirm that 200.2 actually supports Java 21? (maybe this is just an issue with the documentation?)

Thank you!

MarkBaird
Esri Regular Contributor

 

@aeldib 

It looks like something has happened to the system requirements page for 200.2.   When we initially released 200.2 Java 21 wasn't available and it was updated mid-release when I made the announcement above.  

We'll look into getting this corrected, but in the meantime I can confirm Java 21 is supported from version 200.2 of the Maps SDK.

As user of the Maps SDK for Java I should also point out there is a plan to deprecate the product.  This blog post explains this more.

Hope that helps

Mark

 

aeldib
by
New Contributor

Good to hear, thanks @MarkBaird