2011/7/18 Mladen Turk <[email protected]> > On 07/18/2011 04:49 PM, Hans Rupp wrote: > >> 2011/7/18 Mladen Turk<[email protected]> >> >> But it would very nice, if you can give me some hints, how to do it a >> better way. >> >> > Here is one option: > > Start -> All Programs -> Accessories -> System Tools -> Scheduled Tasks > > Click on Add Scheduled Task > Click Next > Click Browse > ... select you JAVA_HOME\bin\javaw.exe > Name your task. eg. My Fancy task > Click on "When my computer starts" > > Enter username and password > Set additional command line properties like you would > when invoking javaw from the command line. > If you app doesn't work with javaw you are out of luck :) > > > Cheers > > Thank you, this meets my first and third requirement, but how about the second one: Application must be able to recover automatically from jvm crashes (service restarts when terminated abnormally) How can i achieve this with tasks?
> ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > user-unsubscribe@commons.**apache.org<[email protected]> > For additional commands, e-mail: [email protected] > >
