0
我试图使用WinRun4J作为Windows服务运行Java应用程序。如何使用WinRun4J作为Windows服务运行Java应用程序
我在应用程序目录复制WinRun4J64c.exe,放在旁边的下列service.ini文件:
service.class=org.boris.winrun4j.MainService
service.id=MyAPP
service.name=MyAPP
service.description=some description
classpath.1=./lib/*
classpath.2=WinRun4J.jar
[MainService]
class=play.core.server.NettyServer
但如果我启动服务:WinRun4J64c.exe --WinRun4J:RegisterService
我得到:
Service control dispatcher error: 1063
什么是错的?