statoolinfosweb/resources/scripts/statoolinfos.sh

11 lines
263 B
Bash
Raw Normal View History

2020-09-13 01:28:27 +02:00
#!/bin/bash
# Java check.
javaCheck=`which java`
if [[ "$javaCheck" =~ ^/.* ]]; then
2021-06-05 12:29:02 +02:00
#echo "Java requirement............... OK"
2021-10-24 13:22:57 +02:00
java -Djava.awt.headless=true -jar "$(dirname "$0")"/statoolinfos.jar $@
2020-09-13 01:28:27 +02:00
else
echo "Java requirement............... MISSING"
fi