gluonhq / gluonfx-maven-plugin

Plugin that simplifies creating native images for Java/JavaFX maven projects
BSD 3-Clause "New" or "Revised" License
186 stars 38 forks source link

Current GraalVM version not supported #474

Closed UtilFunction closed 1 year ago

UtilFunction commented 1 year ago

Graal has changed its versioning and it's causing problems for the plugin.

[ERROR] Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.18:compile (default-cli) on project fxproject: Error: Current GraalVM version (17.0.7) not supported.
[ERROR] Please upgrade to 22.1 or higher
jperedadnr commented 1 year ago

Fixed with https://github.com/gluonhq/substrate/pull/1222

It can be tested with plugin 1.0.19-SNAPSHOT using <pluginRepository/> with url http://oss.sonatype.org/content/repositories/snapshots/

mipastgt commented 1 year ago

This brings up the question again whether it is actually allowed/reccommended to use the latest GraalVM with the Gluon plugin. The documentation still states: [...] to create native-images for your Gluon application, you will need the latest version of the Gluon built version of GraalVM. which is still GraalVM CE Gluon 22.1.0.1-Final from 2022-06-08. So, does Gluon recommend and support the latest official GraalVM version and is it now fully compatible with JavaFX and the tooling or not?

jperedadnr commented 1 year ago

Indeed, to use the GluonFX plugins, the GluonFX docs recommend the Gluon's GraalVM build https://github.com/gluonhq/graal/releases/tag/gluon-22.1.0.1-Final which is mostly needed for the mobile targets, while on desktop, the official GraalVM build could be used as well.

However, there's no guarantee that any new change in the official build is immediately supported by the GluonFX plugins.

HaneneS commented 12 months ago

Hi @jperedadnr is the GRAALVM for linux working for the architecture aarch64?

thank you