I am trying to install jvisualvm as Windows Service since my Tomcat is also running as Windows Service. I ran following command to install jvisualvm as service:
sc create jvisualvm binpath= ...(Location for jvisual.exe without quotes("))
And I get message of CreateService SUCCESS
But when I try to run from Services it is giving me error:
Windows could not start the jvisualvm on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion.
Can anyone suggest me what can be the cause for this error?