<< 自己编写实现java.util.Comparator自定义排序规则 | 首页 | The Jakarta Commons Sandbox ——Proxy >>

如何在Linux/Unix运行一个守护Java程序

Daemon - Daemon : Java based daemons or services

Introduction

Actualy only the UNIX like platforms are supported. The sources are located in the src/native/unix subdirectory of the project sources. For win32 platfroms the cygwin emulation layer is used. See cygwin for more informations.

In the futur APR may be used to provide more convinient platform support.

http://wrapper.tanukisoftware.org

Configurable tool which allows Java applications to be installed and controlled like native NT or Unix services.
Includes fault correction software to automatically restart crashed or frozen JVMs. Critical when app is needed 24x7. Built for flexibility
to run my app:
nohup java -jar JarFile.jar </dev/null >>myLogFile 2>>myErrorFile&
标签 :



发表评论 发送引用通报