db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "john miltone" <miltone.milt...@gmail.com>
Subject RE: DriverManager.getConnection error with JDK 7
Date Tue, 26 Feb 2013 20:50:58 GMT

I find my problem. 
All the issue resume to simple sentence. I think JDK 7 embedded in its
classpath the Derby driver class.
It's more confuse because in a path OS installation java jdk7 there is a
directory db with bin and lib Derby.

It's packed with jdk but not really integrated. The manual reference, Derby
developer guide and get started not speak to this mean very well.

Thank for your help I can use finally Derby 8-)

-----Message d'origine-----
De : Bryan Pendleton [mailto:bpendleton.derby@gmail.com] 
Envoyé : samedi 23 février 2013 18:06
À : Derby Discussion
Objet : Re: DriverManager.getConnection error with JDK 7

>> I caught SQLException and he said that : "No suitable driver found 
>> for jdbc:derby:MoneyBack1;create=true;user=miltone;password=password"
> So your classloader can't find the derby driver. Have you checked that
derby.jar is on your classpath?

The sysinfo tool is useful for diagnosing classpath problems like these:




View raw message