in Teletortoise, set java.awt.headless=true