我下载了 TomEE zip 文件,解压它。目录结构是这样的:
apache-tomee-webprofile-7.0.1/
- bin/
-startup.sh
我在 .bash_profile 中添加了以下内容
export CATALINA_HOME=apache-tomee-webprofile-7.0.1
export PATH=$PATH:$CATALINA_HOME/bin
我跑source .bash_profile
。然后,我运行startup.sh
但出现错误:
-bash: startup.sh: command not found
然后我尝试运行命令$CATALINA_HOME/bin/startup.sh
,我收到错误:
-bash: apache-tomee-webprofile-7.0.1/bin/startup.sh: No such file or directory
如何运行 startup.sh ?