Issue Name –
windows could not start the service Tomcat service on local computer error code 1
Open the bin folder where the Tomcat is Installed and open tomcatw.exe file ( The file can be tomcat9w.exe/tomcat8w.exe/tomcat7w.exe )
In Java please check mark the box of Use Default for the Java Path
Click Ok and Start the Tomcat Service and this should solve the problem.