Refering to the documentation there are two things to do in case you get a java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
if you run the SampleApp.
As you said that you checked sysinfo I would try it with adding derby.jar
and derbytools.jar
even if the tools are optional.
Or you can compare the SampleApp to your App....