Home  >  Q&A  >  body text

linux - ubuntu 下启动 tomcat 问题,跪求救

ubuntu 下启动 tomcat 日志显示:
/ust/local/tomcat/bin/catalina.sh:1:eval:/usr/lib/jvm/java-7-openjdk/bin/java:not found

迷茫迷茫2763 days ago440

reply all(2)I'll reply

  • 大家讲道理

    大家讲道理2017-04-17 13:54:07

    catalina.sh needs to call java, but your computer does not have /usr/lib/jvm/java-7-openjdk/bin/java.
    First make sure you have installed java. If it is installed and it is java7, then try changing the path in the catalina.sh script to the correct path on your computer

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 13:54:07

    Your computer does not have openjdk7 installed

    reply
    0
  • Cancelreply