Sean McCully wrote:

Apologies should I continue the discussion here or move it?
Yes when I execute the derby jar it works, and actually I was able to get the driver to load by merely replacing the String name with a String constant but on subsequents loads it failed. Also this may be due to the computer I was using which experienced a crashed afterwards. I will check tommorrow and move this discussion to the derby-user mailing list. Thanks!!

*/....  SNIP ...
/*


        On 11/17/05, *Sean McCully* < [EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>> wrote:

            Hello I probably have a rather simple question, when I
            execute the following line
Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance();

it throws the following exception java.lang.ClassNotFoundException :
            org.apache.derby.jdbc.EmbeddedDriver
derby.jar is included in my Classpath, what is the problem?

Hi Sean -
Are you using and IDE or executing in a server environment? In these cases you need to be sure that derby.jar is in the classpath of the Server / IDE. Hope it's something as easy as this.

Reply via email to