db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris <jesdisci...@gmail.com>
Subject Re: Activity 4 Error: No suitable driver found...
Date Mon, 10 Mar 2008 20:30:29 GMT
On 3/10/08, Narayanan <V.Narayanan@sun.com> wrote:
>
> you are basically trying to run derby in the client/server mode of
> operation.
>
> 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
>
> http://db.apache.org/derby/docs/dev/adminguide/tadmincbdjhhfd.html
>
>
> Narayanan
>

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 - 10.3.2.1 - (599110) started and ready to
accept connections on port 1527 at 2008-03-10 20:00:20.343 GMT

echo %CLASSPATH%
.;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.

Mime
View raw message