My question is very similar to this one: How to change Java version used by TOMCAT?
I'm trying to change to a different JVM for my Tomcat installation, but I'm not running Windows. I'm currently running Debian Bullseye.
On windows, there's a utility called tomcat9 that allows the user to set this (as mentioned in the other post) but Linux does not have this utility, so I'm wondering how tomcat decides which JVM to use.