今天安裝TOMCAT5,下載的是其ZIP安裝包,在Linux下unzip后,無論如何,也無法正常啟動(dòng)TOMCAT,總是錯(cuò)誤如下:
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
經(jīng)過無數(shù)次磨練后,才猛然發(fā)現(xiàn)那些.sh文件都不是可執(zhí)行文件,于是chmod +x *.sh,一切就全都搞定!