Question

I know that there were some of similar questions, but I would rather know how to set java application just by same application. Just more precisely I want to create program in java and send it to my fiend, after open it my application will set itself as windows service, something like hamachi, when we download, it will always run with our system. I read about java service wrapper, but I think it allows to do this from computer position, am I wrong?

Était-ce utile?

La solution

You can wrapp to exe with launch4j

You can add service based on exe described here

Hope it helps!

Autres conseils

I use WinRun4J for installing a Windows Service which starts a Java Application. It works with with 64-bit and 32-bit JVM. It is very easy to configure and install. And it's under active development and the guy gives good support. Tested it on Windows Server 2008, Windows XP, Windows 7 with Java 6 & 7 (32-bit and 64-bit)

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top