ubuntu10.04配置tomcat

打开sudo gedit /etc/profile,在之中添加

             CATALINA_HOME=/opt/tomcat

             PATH=$CATALINA_HOME/bin:$PATH

在启动tomcat时报错:The BASEDIR environment variable is not defined correctly This environment variable is needed to run this program

解决方法:把$CATALINA_HOME/bin目录下所有.sh文件添加一个可执行权限即可

你可能感兴趣的:(tomcat,ubuntu,Path)