db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject Re: Cannot find derby driver?
Date Sat, 02 Apr 2005 15:08:03 GMT
A good thing to check is your classpath to make sure the derby.jar is there.
echo $CLASSPATH and double check that derby.jar is there and the path is
correct.

The sysinfo utility will check for you.
java org.apache.derby.tools.sysinfo

but of course if you don't have any of the Derby jars in your classpath,
you will get class not found for that too.

I am responding to derby-user@db.apache.org and ccing you as derby-user
is a more appropriate forum for this type of question than derby-dev.

Thanks

Kathey



Sam Huang wrote:

> Hello,
> The following code
> Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
> release the error:
> /Exception in thread "main" java.lang.ClassNotFoundException:
> org.apache.derby.jdbc.EmbeddedDriver/
> For why? Thanks!
> Regards,
> Sam Hwang



Mime
View raw message