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 then. Beware: This patch also disables the systemTests. https://copy-con.blogspot.co.at/2017/10/java-9-with-javafx-for-raspberry-pi.html#links Best regards, Mario Am 10.10.2017 um 16:15 schrieb Kevin Rushforth <kevin.rushfo...@oracle.com<mailto:kevin.rushfo...@oracle.com>>: 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 use the Oracle JDK 9 build as the boot JDK. -- Kevin Emmanuel Bourg wrote: Hi, I've some trouble building OpenJFX 9 with OpenJDK 9+181 and Gradle 3.2.1 on Debian. I get the following compilation errors: /home/ebourg/openjfx9/modules/javafx.base/src/main/java/com/sun/javafx/binding/SelectBinding.java:47: error: package sun.util.logging is not visible import sun.util.logging.PlatformLogger.Level; ^ (package sun.util.logging is declared in module java.base, which does not export it to module javafx.base) /home/ebourg/openjfx9/modules/javafx.base/src/main/java/com/sun/javafx/property/PropertyReference.java:36: error: package sun.reflect.misc is not visible import sun.reflect.misc.ReflectUtil; ^ (package sun.reflect.misc is declared in module java.base, which does not export it to module javafx.base) I tried exporting the _JAVA_OPTIONS variable defined in README-java-options and adding --add-opens parameters to build.gradle but it didn't work. What am I missing? Emmanuel Bourg