We replaced Apache Tomcat 8 with Tomcat 9. What is the safe way to delete Apache Tomcat 8?
If you are up and running with the new Tomcat with no problems, you can
If removing another older version, substitute your Tomcat version for the 8.5.4 version in the example above.
You can leave the old Tomcat there, if you prefer.