summarylogtreecommitdiffstats
path: root/greenfoot
blob: 8f045d7c6b4cfd946d9c45d2fde40868b7805fb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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 -- -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 \
        "$@"