diff --git a/ant/linux/linux.properties b/ant/linux/linux.properties new file mode 100644 index 000000000..5f060324f --- /dev/null +++ b/ant/linux/linux.properties @@ -0,0 +1,2 @@ +# Expose UNIXToolkit.getGtkVersion +linux.launch.jigsaw=--add-opens java.desktop/sun.awt=ALL-UNNAMED \ No newline at end of file diff --git a/ant/unix/unix-launcher.sh.in b/ant/unix/unix-launcher.sh.in index 92b31a9b3..b56ea5c0a 100644 --- a/ant/unix/unix-launcher.sh.in +++ b/ant/unix/unix-launcher.sh.in @@ -119,6 +119,8 @@ else LAUNCH_OPTS="$LAUNCH_OPTS ${launch.jigsaw}" if [[ "$OSTYPE" == "darwin"* ]]; then LAUNCH_OPTS="$LAUNCH_OPTS ${apple.launch.jigsaw}" + else + LAUNCH_OPTS="$LAUNCH_OPTS ${linux.launch.jigsaw}" fi fi