ToHe
ToHe

Reputation: 147

Run jar in background (windows & osx)

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

Answers (1)

WeMakeSoftware
WeMakeSoftware

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

Related Questions