/opt/tomcat/bin/catalina.sh: 1: eval: /usr/lib/jvm/java-11-openjdk-amd64/bin/java/bin/java: not found
There is an extra /bin/java on the end of the path to java. I tried removing /bin/java from the environment variable for java_home, but it had no effect.
This error gets thrown whenever I try starting tomcat.
You’re on the right track, those variables should not contain the /bin/java part at the end.
I think the catalina scripts check for 2 environment variables; JRE_HOME and JAVA_HOME. My guess is that it might be using JRE_HOME if you have that set.