I'm trying to get Apache Aerby to run as a windows service with FireDaemon and i need to use command line parameters rather than the batch scripts to start/stop Apacher Derby.

I've tried copying some of the startup parameters from the batch file but it's not working.

My command line is:

-jar derby.jar %DERBY_OPTS% -classpath "%DERBY_RUNPATH%" org.apache.derby.drda.NetworkServerControl start

I have the following environment variables set too:

JAVA_HOME: C:\Java Server JRE\jdk1.7.0_51
CLASSPATH: C:\db-derby-10.10.1.1-bin\bin\../lib/derby.jar;C:\db-derby-10.10.1.1-bin\bin\../lib/derbynet.jar;C:\db-derby-10.10.1.1-bin\bin\../lib/derbyclient.jar;C:\db-derby-10.10.1.1-bin\bin\../lib/derbytools.jar

Any idea if i can even run Apache Derby with command line parameters?

Reply via email to