rebels_mascot wrote:
I've tried:
CLASSPATH=.;%DERBY_HOME%\lib\derby.jar
Shouldn't that be ':' instead of ';' in the classpath, like this:
CLASSPATH=.:\path_to_derby\lib\derby.jar
It also seems that you try to use the embedded driver to connect to a
Derby server. Basically, you can connect to a Derby database either
using the embedded or the client/server mode
* If embedded, use:
- Driver: "org.apache.derby.jdbc.EmbeddedDriver" (found in derby.jar)
- Connection URL:
"jdbc:derby:dsChatTestDB;create=true;user=admin;password=admin"
* If client/server, use
- Driver: "org.apache.derby.jdbc.ClientDriver" (found in derbyclient.jar)
- Connection URL:
"jdbc:derby://localhost:1527/dsChatTestDB;create=true;user=admin;password=admin"
For more information, see e.g.
http://db.apache.org/derby/docs/dev/getstart/cgstutorialintro.html
http://db.apache.org/derby/docs/dev/adminguide/cadminapps.html
Hope this helps
--
Jørgen Løland