1838671 Members
5972 Online
110128 Solutions
New Discussion

Java as Unix Service

 
pc123_1
Frequent Advisor

Java as Unix Service

Hello.
Is it possible to lauch a java application as Unix Service? That is register it as a listener to system events, such as system shutdown?

Please, help with resources and source code on this toppic. I have come across source code for running java as NT Service, however cannot find anything for Unix.

thank you.
2 REPLIES 2
pc123_1
Frequent Advisor

Re: Java as Unix Service

If the above task is to difficult, how can I make a script, say myscript.sh, to be run on system shutdown and system start up?

Jordan Bean
Honored Contributor

Re: Java as Unix Service