From f87feeb33a2fd11186f6156bd3feb73bc29ea759 Mon Sep 17 00:00:00 2001 From: Nikita Shtengauer Date: Sat, 14 Dec 2024 19:19:12 +0300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 791f190..e984d17 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ If you are using java modules, then you need to add the following module in `mod ```java requires openglfx.lwjgl; ``` -and launch with the following arguments: +`openglfx` adds exports for JavaFX at runtime, but if you experience issues with package access, then add following arguments to launch configuration: ``` --add-exports=javafx.graphics/com.sun.prism=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.scene.layout=ALL-UNNAMED