I built an application with embedded Derby (cloudscape) database. It runs fine as long as I don't try to make a executable JAR file. Then I get this error message: java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
(The program parts which don't use the database still run fine). Derby (cloudscape) needs the derby.jar to find its EmbeddedDriver.
How can I tell my jar'ed app where to find the Driver? Do I have to put derby.jar in a special place in my app's jar file structure? Or redo my classpath somehow? (But why, if derby.jar is found by my app in a not-jar'ed way?)
I am very glad about any tips and help, thank you! Juliane