參考 http://www.liquidweb.com/kb/how-to-install-apache-tomcat-8-on-ubuntu-14-04/java
提示:目前eclipse neon還不支持tomcat8.5,請下載tomcat 8.0。The Apache Tomcat installation at this directory is version 8.5.0. A Tomcat 8.0 installation is expected.web
Using CATALINA_BASE: /opt/tomcat8/apache-tomcat-8.5.5
Using CATALINA_HOME: /opt/tomcat8/apache-tomcat-8.5.5
Using CATALINA_TMPDIR: /opt/tomcat8/apache-tomcat-8.5.5/temp
Using JRE_HOME: /opt/java/jdk1.8.0_101/jre
Using CLASSPATH: /opt/tomcat8/apache-tomcat-8.5.5/bin/bootstrap.jar:/opt/tomcat8/apache-tomcat-8.5.5/bin/tomcat-juli.jar
Tomcat started.apache
注:包括java的環境變量,.profile文件尾部內容爲: bootstrap
export JAVA_HOME=/opt/java/jdk1.8.0_101 export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=${JAVA_HOME}/lib:${JRE_HOME}/jre:${CLASSPATH} export PATH=${JAVA_HOME}/bin:${PATH} export CATALINA_HOME=/opt/tomcat8/apache-tomcat-8.5.5