为系统添加自己的程序服务
1.Java通过Java sevices为xp系统添加服务(见附件 JavaService-2.0.10.zip )
Open the registry (usual cautions apply - backup first, etc) and find the entry for the RabbIT service. Add a new key called "Parameters" and in that, add a string value called Application, with value Edit the RabbIT conf file to use absolute paths to all files, log, user, etc etc.Open the services manager (via Control Panel, Administrative Tools) - double-click on the RabbIT service, and then click "Start".RabbIT should now be running on your system!
If it doesn't work, try debugging by open a command window and running the following command:
?
————————————————————————————————————————
?
?编写有界面的系统服务程序