I am trying to install apache-tomcat-7.0.82 on my MacBook running MacOs Sierra. I have not been successful.
Steps I've taken
- Downloaded the core binaries from https://tomcat.apache.org/download-70.cgi
- Extracted the files and move the folder to /usr/bin/apache-tomcat-7.0.82
- Followed the advice on this thread Tomcat 7.0.73 doesn't work with java 9
Added setenvs.sh file to apache-tomcat-7.0.82 directory containing the two lines:
JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home" JRE_HOME="/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home"
The issue is I am getting the following error message when I run startup.sh in the tomcat logs (catalina.out).
Error: Could not find or load main class org.apache.catalina.startup.Bootstrap
Caused by: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstrap
I'd appreciate any advice as I cannot seem to make any progress.