Merge pull request #40 from arkxu/java_start

change default error log level to warn
no need to install headless if there is jdk