gluonhq / substrate

Create native Java(FX) apps for desktop, mobile and embedded
GNU General Public License v2.0
372 stars 51 forks source link

Add GraalVM for JDK 21 support. #1236

Closed kkriske closed 7 months ago

kkriske commented 8 months ago

Issue

Builds against GraalVM for JDK 21 run into some issues:

Windows specific issues:

Linux specific issues:

Other:

Progress

jperedadnr commented 7 months ago

@kkriske please fix conflicts (and do the refactoring if needed)

credmond commented 5 months ago

I've left some comments. Tested successfully (with some changes) on Mac with Gluon's GraalVM 22.1.0.1-Final and the official GraalVM 21+35.1 (using also #1234)

In any case, note that the official GraalVM 21 builds will still fail building native images for mobile targets (more changes are required on Substrate, but also probably on the GraalVM builds)

Hey...could you tell me if Gluon is planning on a new official Gluon GraalVM build anytime soon?