From e4236d26c374cd871224bb94d34ae557bcd67272 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sun, 24 Oct 2021 13:22:57 +0200 Subject: [PATCH] Fixed issue if awt lib unavailable. --- resources/scripts/statoolinfos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/scripts/statoolinfos.sh b/resources/scripts/statoolinfos.sh index f1e8fdb..78690bf 100755 --- a/resources/scripts/statoolinfos.sh +++ b/resources/scripts/statoolinfos.sh @@ -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