If you are running Tomcat
from Eclipse
, the JVM version that Tomcat
will use is the one that is the checked JRE in the Installed JREs.
Example:
Check:
Bonus:
If you want to find out which Tomcat's version is compatible with which version of Java, check it out here