exit before java -jar.