After upgrading Java on Windows, Tomcat fails to start. Attempting to start the Tomcat service results in the below error:
It is likely that Tomcat has hardcoded the Java path in the %Tomcat_Home%\bin\Tomcat#w.exe
Release : 9.4
Component : Automic Applications Manager
Go to the %Tomcat_Home%\bin directory and double left click the Tomcat#w.exe executable. This will open a window similar to the below screenshot after selecting the Java Tab:
A path should be seen in the yellow highlighted field above. This needs to be changed to the equivalent path for the upgrade Java.
Or simply check the "User default" box as seen above, and Tomcat will use the default Java pulled from the system level.
The Tomcat service should start without issue.