blob: 1f1655e8868639142b8aa51a1b51a24a97510553 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
unset JFXPATH
if [ -e /usr/lib/jvm/java-17-openjfx/lib/javafx.base.jar ]; then
JFXPATH=/usr/lib/jvm/java-17-openjfx/lib
else
JFXPATH=/usr/lib/jvm/java-17-openjdk/lib
fi
CP="/opt/bluej-preview/boot.jar"
JAVAFXJARS=`ls -1 $JFXPATH/javafx* | paste -sd ":" -`
#JAVAFXJARS=`ls -1 /opt/bluej/javafx* | paste -sd ":" -`
CP="$CP:$JAVAFXJARS"
archlinux-java-run -a 17 -b 17 -- \
-Djdk.gtk.version=2 \
-Dawt.useSystemAAFontSettings=on -Xmx512M \
-cp "$CP" bluej.Boot \
"$@"
|