Reputation: 147
I have written a java client application that needs to run all the time. The client needs to run on windows and also on osx computers. Is there an - operating system independent - way to run the jar file in the background?
Upvotes: 3
Views: 3161
Reputation: 9162
Take a look at http://commons.apache.org/proper/commons-daemon/index.html project. It allows to run the java code as daemon services.
Upvotes: 1