There is a project on sourceforge that is called the java service wrapper. If you have at least JDK1.3 you can use it. The service wrapper makes it possible to turn your java application in a windows service or unix deamon. For more details : http://sourceforge.net/projects/wrapper/