make sure that derby.jar (embedded driver) or derbyclient.jar (network) is in your classpath, then for embedded version simply call:

Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
DriverManager.getConnection("jdbc:derby:/path/to/your/db");

for network version load appropriate class and modify the url according to manual

cheers,
i


On Mar 3, 2007, at 5:55 AM, nutan lade wrote:

Can u please solve these problem.When i am trying to use the driver Derby i am getting an error saying that ClassNotFoundExeception.So how to load these driver while using netbeans 5.5.

--
Nutan Kumar Lade

Reply via email to