Fixed issue if awt lib unavailable.
This commit is contained in:
parent
1ec26ffec8
commit
e4236d26c3
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
javaCheck=`which java`
|
||||
if [[ "$javaCheck" =~ ^/.* ]]; then
|
||||
#echo "Java requirement............... OK"
|
||||
java -jar "$(dirname "$0")"/statoolinfos.jar $@
|
||||
java -Djava.awt.headless=true -jar "$(dirname "$0")"/statoolinfos.jar $@
|
||||
else
|
||||
echo "Java requirement............... MISSING"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue