New
#1
How do I keep a Java Application running at all times?
Hi,
I am developing a Java based application and need to make sure that if it crashes, it comes back on. I tried setting it up as a service, but as it requires interaction with the user, the "Interactive Services Detection" is tripped when I try to bring it up.
My thoughts right now are to have it update a text file periodically and have a service monitor that text file. If the file has not been updated, then the service runs a script which reopens the application... does anyone know if there is an easier way of doing this? (or if this will even work?)
Thanks!