I just installed derby, and I followed the instructions here exactly as I was told, but replacing the paths with my paths. But for some reason why I am trying to create a connection to connect to the creation of a database and run my sql scripts to create tables and populate them, it gives me some errors, firstly, this one
ERROR 08001: No suitable driver found for jdbc:derby:SuperMarket;create=true
Then when my sql scripts run, I get this error
IJ ERROR: Unable to establish connection
I donβt see what I did wrong, this is the line I used to set the class path
C:\> set CLASSPATH=%DERBY_INSTALL%\lib\derby.jar;%DERBY_INSTALL%\lib\derbytools.jar;.
I included the derby.jar file, which was necessary, so I see no problem, does anyone know what I did wrong? Also when i run
connect 'jdbc:derby://localhost:1527/MyDB';
The server starts normally
C:\Derbs\db-derby-10.10.2.0-bin\bin>startNetworkServer Thu Jun 26 11:56:38 PDT 2014 : Security manager installed using the Basic server security policy. Thu Jun 26 11:56:39 PDT 2014 : Apache Derby Network Server - 10.10.2.0 - (158244 6) started and ready to accept connections on port 1527
sql database derby jdbc
user3780970
source share