1. vim ~/.bash_profile
add
export JAVA_HOME=$(/usr/libexec/java_home)
2. download tomcat8 binary
http://tomcat.apache.org/download-80.cgi#8.0.26
3.start tomcat
chmod +x tomcat/bin/*.sh
bin/startup.sh
4.check
lsof -i:8080
1. vim ~/.bash_profile
add
export JAVA_HOME=$(/usr/libexec/java_home)
2. download tomcat8 binary
http://tomcat.apache.org/download-80.cgi#8.0.26
3.start tomcat
chmod +x tomcat/bin/*.sh
bin/startup.sh
4.check
lsof -i:8080