Building OpenJFX 9 with OpenJDK 9+181
Emmanuel Bourg
ebourg at apache.org
Tue Oct 10 11:58:13 UTC 2017
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
More information about the openjfx-dev
mailing list