今天安裝TOMCAT5,下載的是其ZIP安裝包,在Linux下unzip后,無論如何,也無法正常啟動TOMCAT,總是錯誤如下:
The BASEDIRenvironmentvariable is not defined correctly
This environmentvariable is needed to run this program
之前就是:
Cannot find ./catalina.sh
This file is needed to run this program
經過無數次磨練后,才猛然發現那些.sh文件都不是可執行文件,于是chmod +x *.sh,一切就全都搞定!