Apache Commons Daemon software provides an alternative invocation mechanism for unix-daemon-like Java code.