常见错误解决:
问题1、"Neither th JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program"
解决办法:说明JAVA_HOME没有配置正确,JAVA_HOME前面一定要加export ,用echo $JAVA_HOME,查看是否正确。
问题2、The BASEDIR environment variable is not defined correctly
This environment variable is needed to run this program