bugmagnet
bugmagnet

Reputation: 7769

Could Java be used to write a Win32 System Service?

The title sort of sums it up. I was thinking of using Jabaco seeing as it makes .EXEs (as well as .jar files), and I'm more familiar with VB syntax than with Java.

Upvotes: 3

Views: 426

Answers (4)

Prof. Falken
Prof. Falken

Reputation: 24867

Jpackages dot com have a product called execJ which does exactly that.

I also found an article about how to do it differently here.

Upvotes: 1

Brian Agnew
Brian Agnew

Reputation: 272217

You could certainly do this with the Java Service Wrapper. I'm not familiar with Jabaco, but I wouldn't be at all surprised if you can simply reference the Jabaco runtime from the Java Service Wrapper. It's a pretty trivial tool to use, and the free variant should be sufficient.

Upvotes: 3

Trevor Harrison
Trevor Harrison

Reputation: 1764

Also, there is a java specific win32 service wrapper: JSL

Upvotes: 2

Roland Rabien
Roland Rabien

Reputation: 8836

I'm not sure if you could java directly to create a service, but you can use srvany.exe to run any program as a service.

http://support.microsoft.com/kb/137890

Upvotes: 1

Related Questions