Fixed issue #1322 adding -Djava.awt.headless=true to all .bat and -sh