mikehearn
12/27/2018, 10:29 PMmikehearn
12/27/2018, 10:29 PMmikehearn
12/27/2018, 10:29 PMedvin
12/27/2018, 10:30 PMmikehearn
12/27/2018, 10:30 PMmikehearn
12/27/2018, 10:30 PMmikehearn
12/27/2018, 10:30 PMedvin
12/27/2018, 10:30 PMedvin
12/27/2018, 10:30 PMmikehearn
12/27/2018, 10:30 PMmikehearn
12/27/2018, 10:31 PMmikehearn
12/27/2018, 10:31 PMedvin
12/27/2018, 10:31 PMmikehearn
12/27/2018, 10:31 PMedvin
12/27/2018, 10:34 PMedvin
12/27/2018, 10:35 PMedvin
12/27/2018, 10:36 PMedvin
12/27/2018, 10:36 PMmikehearn
12/27/2018, 10:39 PMmikehearn
12/27/2018, 10:39 PMmikehearn
12/27/2018, 10:39 PMmikehearn
12/27/2018, 10:39 PMmikehearn
12/27/2018, 10:42 PMmikehearn
12/27/2018, 10:43 PMmikehearn
12/27/2018, 10:43 PMmikehearn
12/27/2018, 10:43 PMmikehearn
12/27/2018, 10:43 PMWith this image you will be able to run JavaFX modular or not modular projects, use it as a new JRE from your IDE to create regular JavaFX projects, or even use its jlink command to create a new custom image for your project.
Nikky
12/28/2018, 12:32 AMalex
12/28/2018, 8:41 AMCaused by: java.lang.IllegalAccessError: superclass access check failed: class com.sun.javafx.scene.control.ControlHelper (in unnamed module @0xe1d6210) cannot access class com.sun.javafx.scene.layout.RegionHelper (in module javafx.graphics) because module javafx.graphics does not export com.sun.javafx.scene.layout to unnamed module @0xe1d6210
It seems like my command line is messed up as well? Do I need to clear things in classpath? I'll be grateful if anyone can clarify this moment.
/usr/lib/jvm/java-11-openjdk/bin/java --add-modules javafx.base,javafx.graphics --add-reads javafx.base=ALL-UNNAMED --add-reads javafx.graphics=ALL-UNNAMED -javaagent:/home/alex/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/183.4886.37/lib/idea_rt.jar=46101:/home/alex/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/183.4886.37/bin -Dfile.encoding=UTF-8
-classpath /home/alex/Documents/test/target/classes:/home/alex/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.3.11/kotlin-stdlib-1.3.11.jar:/home/alex/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-common/1.3.11/kotlin-stdlib-common-1.3.11.jar:/home/alex/.m2/repository/org/jetbrains/annotations/13.0/annotations-13.0.jar:/home/alex/.m2/repository/org/openjfx/javafx-base/11.0.1/javafx-base-11.0.1.jar:/home/alex/.m2/repository/org/openjfx/javafx-base/11.0.1/javafx-base-11.0.1-linux.jar:/home/alex/.m2/repository/org/openjfx/javafx-controls/11.0.1/javafx-controls-11.0.1.jar:/home/alex/.m2/repository/org/openjfx/javafx-controls/11.0.1/javafx-controls-11.0.1-linux.jar:/home/alex/.m2/repository/org/openjfx/javafx-graphics/11.0.1/javafx-graphics-11.0.1.jar:/home/alex/.m2/repository/org/openjfx/javafx-graphics/11.0.1/javafx-graphics-11.0.1-linux.jar:/home/alex/.m2/repository/org/openjfx/javafx-media/11.0.1/javafx-media-11.0.1.jar:/home/alex/.m2/repository/org/openjfx/javafx-media/11.0.1/javafx-media-11.0.1-linux.jar
-p /home/alex/.m2/repository/org/openjfx/javafx-base/11.0.1/javafx-base-11.0.1-linux.jar:/home/alex/.m2/repository/org/openjfx/javafx-graphics/11.0.1/javafx-graphics-11.0.1-linux.jar
test.test.Main
@edvin @mikehearn I don't know if this will help, but it seems like Kotlin is still not yet ready for `jlink`: https://youtrack.jetbrains.com/issue/KT-21266edvin
12/28/2018, 8:57 AM