On 3/10/08, Narayanan <V.Narayanan@sun.com> wrote:
you are basically trying to run derby in the client/server mode of

You need to have derbyclient.jar in your classpath.

You also need to start the derby network server

You can find instructions on starting the derby network server here



Sorry, I didn't start from the beginning last time...  (DERBY_HOME = C:\wamp\derby)

java -jar %DERBY_HOME%\lib\derbyrun.jar server start
Security manager installed using the Basic server security policy.
Apache Derby Network Server - - (599110) started and ready to accept connections on port 1527 at 2008-03-10 20:00:20.343 GMT

.;C:\Program Files\Java\jre1.6.0_01\lib\ext\QTJava.zip;C:\wamp\derby\lib;C:\wamp\derby\bin;C:\Program Files\Java\jdk1.6.0_03\bin

echo %PATH%
*** too long, the important part is: C:\wamp\derby\bin; ***

java WwdClient

>>> Please check your CLASSPATH variable <<<

. . . exception thrown:

---SQLException Caught---

SQLState: 08001
Severity: 0
Message: No suitable driver found for jdbc:derby://localhost:1527/jdbcDemoDB;create=true
Getting Started With Derby JDBC program ending.