db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendleton.de...@gmail.com>
Subject Re: database connectivity error
Date Fri, 13 Sep 2013 02:44:24 GMT

> C:\Users\HeartBeat\Desktop>java org.apache.derby.tools.sysinfo
> --------- Derby Information --------
> [C:\Users\HeartBeat\Desktop\Derby\lib\derby.jar] 10.10.1.1 - (1458268)
> [C:\Users\HeartBeat\Desktop\Derby\lib\derbytools.jar] 10.10.1.1 - (1458268)
> ------------------------------------------------------

Good.

> but still when i run SimpleApp.java it gives error
>
> SimpleApp starting in embedded mode
>
> Unable to load the JDBC driver org.apache.derby.jdbc.EmbeddedDriver
> Please check your CLASSPATH.
> java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver

What command did you use to run SimpleApp?

And did you run that command immediately after you ran

	java org.apache.derby.tools.sysinfo

from the very same CMD.EXE window?

bryan



Mime
View raw message