diff --git a/build.gradle b/build.gradle index e90ec8df..6ee40e95 100644 --- a/build.gradle +++ b/build.gradle @@ -130,10 +130,13 @@ jpackage { "-DSTIRLING_PDF_DESKTOP_UI=true", "-Djava.awt.headless=false", "-Dapple.awt.UIElement=true", - "--add-opens", "java.base/java.lang=ALL-UNNAMED", - "--add-opens", "java.desktop/java.awt.event=ALL-UNNAMED", - "--add-opens", "java.desktop/sun.awt=ALL-UNNAMED" - + "--add-opens=java.base/java.lang=ALL-UNNAMED", + "--add-opens=java.desktop/java.awt.event=ALL-UNNAMED", + "--add-opens=java.desktop/sun.awt=ALL-UNNAMED", + "--add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED", + "--add-opens=java.desktop/sun.awt.windows=ALL-UNNAMED", + "--add-opens=java.desktop/sun.lwawt=ALL-UNNAMED", + "--add-opens=java.desktop/sun.lwawt.macosx=ALL-UNNAMED" ]