-
Notifications
You must be signed in to change notification settings - Fork 54
Description
I am working with JavaFX on MacOSX (Monterey) using graalvm-svm-java17-darwin-gluon-22.1.0.1-Final.
The application starts without issues and runs. As soon I start the native build the executable is created but crashes due to SceneBuilder incompatibilities. The only downloadable version of ScenBuilder is 23 or 24 right now (beside I overlooked something) which creates properties not recognized in the java17-22 version. I tried to remove questionable properties and elements manually, without success.
I can not upgrade to more recent version of Gluon-GraalVM as everything above 17 lacks linux-aarch64.
Expected Behavior
Either we get some sort of compatibility setting in SceneBuilder (thus 23 can distinguish between 17 and higher), or maybe open up a download link for SceneBuilder 17 or create SceneBuilder 23 compatible JDKs for all platforms.
Steps to Reproduce
Load a FXML written by Scenebuilder 23 and loading will crash in
<cursor> <Cursor fx:constant="NONE" /> </cursor>
or
focusTraversable="true"
and many others.
Next I downloaded ScenceBuilder sources from github, checked out tag 17.0.0, but could not build it due to test failures. Building is only succesfull with -DskipTests
I can at least start SceneBuild in IntelliJ adding "--add-opens javafx.fxml/javafx.fxml=ALL-UNNAMED" to the cmd line. But unknown properties and elements are not stripped, means I have to recreate the UI, what I will do next. Would be nice to see while loading fxml files which property and element will cause an exception later to avoid a trial and error approach.
Any help is appreciated.
Jens
BTW: had a funny discussion with ChatGPT. After several try and error approaches I asked "Do you know John McEnroe?". ChatGPT replied:
😂 YES!! Classic John McEnroe meltdown:
"You cannot be serious!" 🎾💥
Perfect reaction to:
SceneBuilder 23 adding JavaFX 21 features
But only JavaFX 17 being available for ARM
And native-image failing silently or mysteriously
With no helpful version compatibility warnings
And FXML just… exploding 😤
"PropertyNotFoundException"
"Cannot determine type for property"
You CANNOT be serious!
Love the humor of AI