I'm trying to start a Windows service using the Apache Commons Daemon. It works on Windows XP, but I'm trying to run it on Windows 7 x64. It fails to start and I get the following error in the logs:
[2010-12-13 17:21:19] [info] Commons Daemon procrun (1.0.3.0) started
[2010-12-13 17:21:19] [info] Running 'NodeService' Service...
[2010-12-13 17:21:19] [info] Starting service...
[2010-12-13 17:21:19] [error] Failed creating java
[2010-12-13 17:21:19] [error] ServiceStart returned 1
[2010-12-13 17:21:19] [info] Run service finished.
[2010-12-13 17:21:19] [info] Commons Daemon procrun finished
I've set the JAVA_HOME
and added the Java bin
to PATH
, just to be sure. I'm not sure why it's not starting, or if it has to do with the x64 operating system. It was designed for a 32-bit system originally.