summarylogtreecommitdiffstats
path: root/greenfoot
blob: 28ead45087d7da71fd8a504d7c4ebcb5b7ef3878 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
if [ -e /usr/lib/jvm/java-11-openjfx/lib ]; then
        JAVAFX_HOME=/usr/lib/jvm/java-11-openjfx/lib
else
        JAVAFX_HOME=/usr/lib/jvm/java-11-openjdk/lib
fi

JAVAFX_CP="$JAVAFX_HOME/javafx.base.jar:$JAVAFX_HOME/javafx.controls.jar:$JAVAFX_HOME/javafx.fxml.jar:$JAVAFX_HOME/javafx.graphics.jar:$JAVAFX_HOME/javafx.media.jar:$JAVAFX_HOME/javafx.swing.jar:$JAVAFX_HOME/javafx-swt.jar:$JAVAFX_HOME/javafx.web.jar"

archlinux-java-run -a 11 -b 11 -- -Djavafx.embed.singleThread=true \
        -Dawt.useSystemAAFontSettings=on \
        -cp /opt/greenfoot/bluej.jar:/usr/lib/jvm/default/lib/tools.jar:$JAVAFX_CP bluej.Boot \
        -greenfoot=true \
        -bluej.compiler.showunchecked=false \
        -greenfoot.url.javadoc=file:///usr/share/doc/greenfoot/API \
        -javafxpath=$JAVAFX_CP \
        "$@"