Configure JPMS for openglfx
masterIf you are using Java 9+ modules (JPMS), add the following requirement to your module-info.java:
requires openglfx.lwjgl;If you encounter package access issues at runtime, you can disable the library's automatic exports by setting the JVM argument -Dopenglfx.disable.exports=true. You must then manually add the following exports via --add-exports:
--add-exports=javafx.graphics/com.sun.prism=ALL-UNNAMED
--add-exports=javafx.graphics/com.sun.javafx.scene.layout=ALL-UNNAMED
--add-exports=javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED
--add-exports=javafx.graphics/com.sun.javafx.sg.prism=ALL-UNNAMED
--add-exports=javafx.graphics/com.sun.scenario=ALL-UNNAMED
--add-exports=javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED
--add-exports=javafx.graphics/com.sun.glass.ui=ALL-UNNAMED