Error 1053: my java wrapped application doesn't respond but it's actually running


Error 1053: my java wrapped application doesn't respond but it's actually running



I'm writing an application in Java.


Java



The aim is to take infos about computer software (Ex: OS version, hotfix, disk capacity etc..).


infos


Ex: OS version, hotfix, disk capacity etc..



I needed to have some features that an exe provides (icon, company name) so i wrapped my myapp.jar to myapp.exe.


myapp.jar


myapp.exe



It works perfectly but when i try to add this application through sc.exe create <myservice> binpath="mypath" ..... as service to windows and i try to run it, my application starts perfectly but the service manager says after 30 seconds that the service is not responding (Error 1053) and i really don't know how to make my app does it.


sc.exe create <myservice> binpath="mypath" .....


Error 1053



Thanks in advance and sorry for my english



Stefano





Take a look at YAJSW
– Rcordoval
Jul 1 at 11:58









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

How to add background colour in existing image using Swift?

Moria Casán

How to make file upload 'Required' in Contact Form 7?