start tomcat 9 as a service windows code example
Example: start tomcat 9 as a service windows
Install the service named 'MyService'
C:\> service.bat install MyService
Install the service named 'MyService'
C:\> service.bat install MyService