summaryrefslogtreecommitdiffstats
path: root/java-run-newt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'java-run-newt.sh')
-rwxr-xr-xjava-run-newt.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/java-run-newt.sh b/java-run-newt.sh
index 14069af..f60a05e 100755
--- a/java-run-newt.sh
+++ b/java-run-newt.sh
@@ -16,7 +16,8 @@ if [ $CPOK -eq 0 ] ; then
else
if [ $MOSX -eq 1 ] ; then
X_ARGS="-XstartOnFirstThread"
+ C_ARG="com.jogamp.newt.util.MainThread"
fi
- java $X_ARGS -Djava.awt.headless=true com.jogamp.newt.util.MainThread $* 2>&1 | tee java-run-newt.log
+ java $X_ARGS -Djava.awt.headless=true $C_ARG $* 2>&1 | tee java-run-newt.log
fi