The BASEDIR environment variable is not defined correctly This environment variable is needed to ru

来源:互联网 发布:js如何移动div位置 编辑:程序博客网 时间:2024/03/29 15:25

在linux环境下启动tomcat 命令启动./startup.sh  显示错误

 The BASEDIR environment variable is not defined correctly This environment variable is needed to ru

最后到网上了查一下,说要把tomcat6/bin/中的所有的.sh文件具有执行功能

chmod 775 *.sh

再执行

./startup.sh

就没问题了

0 0