fixes to get JavaFX running on Linux

This commit is contained in:
Ben Fry
2021-06-19 09:12:18 -04:00
parent 72defaed62
commit 6ad8d708a8
+2 -4
View File
@@ -5,10 +5,8 @@
# If your system needs a different version of Java than what's included
# in the download, replace the 'java' folder with the contents of a new
# Oracle JRE (Java 8 only), or create a symlink named "java" in the
# OpenJDK (Java 11 only), or create a symlink named "java" in the
# Processing installation directory that points to the JRE home directory.
# This must be a Sun/Oracle JDK. For more details, see here:
# https://github.com/processing/processing/wiki/Supported-Platforms
# Thanks to Ferdinand Kasper for this build script. [fry]
@@ -115,5 +113,5 @@ else
fi
cd "$APPDIR"
java -splash:lib/about-1x.png -Djna.nosys=true -Xmx512m processing.app.Base "$SKETCH" &
java -splash:lib/about-1x.png -Djna.nosys=true --module-path=core/library -Xmx512m processing.app.Base "$SKETCH" &
fi