On Fri, 2005-03-04 at 15:37 +0200, Vasiliy Keretsman wrote: > Hello! > > I have some problem with JSVC using commons-daemon-1.0. > It seems to me it can not find DaemonLoader class. But > commons-daemon.jar is in classpath > > > jsvc.exec debug: Java VM created successfully > jsvc.exec error: Cannot find daemon loader > org/apache/commons/daemon/support/DaemonLoader > jsvc.exec error: Service exit with a return value of 1 > > Command line is > #jsvc -debug -home $JAVA_HOME -cp commons-daemon.jar MAIN_CLASS > > Can anybody help me?
Perhaps $JAVA_HOME has a space in it? You could try: jsvc -debug -home "$JAVA_HOME" -cp commons-daemon.jar MAIN_CLASS Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]