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`
|
javaCheck=`which java`
|
||||||
if [[ "$javaCheck" =~ ^/.* ]]; then
|
if [[ "$javaCheck" =~ ^/.* ]]; then
|
||||||
#echo "Java requirement............... OK"
|
#echo "Java requirement............... OK"
|
||||||
java -jar "$(dirname "$0")"/statoolinfos.jar $@
|
java -Djava.awt.headless=true -jar "$(dirname "$0")"/statoolinfos.jar $@
|
||||||
else
|
else
|
||||||
echo "Java requirement............... MISSING"
|
echo "Java requirement............... MISSING"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue