Hi!
I had the same problems when I tried to build JavaFX for the Raspberry PI this
weekend.
I „fixed" that by adding the —add-exports to the build.gradle file.
The Google Drive Link will guide you to a hacky patch to the build.gradle file
(+ some other changes). I was able to build JavaFX
This sounds like a bootstrap problem. I suspect that we are missing the
needed --add-exports in build.gradle to build using a JDK that does not
already have javafx.* modules.
I filed the following bug to track this:
https://bugs.openjdk.java.net/browse/JDK-8189111
As a workaround, you can