I may of found a bug with starting derby through the NetworkServiceControl class. With the clients maven repository jars are <name>-<version>.jar, we use an ant script to start/stop and create databases on our development machines. I first found that with ant when we would start derby it would crash. I then tried to start derby from the command line.
Machine is Windows XP
Here is the failing command:
java -classpath "C:\tmp\derby-10.8.2.2.jar;C:\tmp\derbyclient-10.8.2.2.jar;C:\tmp\derbynet-10.8.2.2.jar;C:\tmp\derbytools-10.8.2.2.jar" org.apache.derby.drda.NetworkServerControl start -h localhost -p 1527
Cannot find derbynet.jar on the classpath.
org.apache.derby.drda.NetworkServerControl start -h localhost -p 1527