To use the ij tool with the network client driver:
- Start ij in
one of the following ways. For details, see "Starting ij" in the
Derby Tools and Utilities Guide.
- Use a script. Run the ij.bat script on Windows
systems and the ij script on UNIX systems. These scripts are located in
the $DERBY_HOME/bin directory.
- Run the ij tool using the
$DERBY_HOME/lib/derbyrun.jar file.
java -jar derbyrun.jar ij
- Run the ij tool by specifying the class name.
java org.apache.derby.tools.ij
- Connect by specifying the URL:
ij> CONNECT 'jdbc:derby://localhost:1527/sample'
USER 'judy' PASSWORD 'no12see';
See Network client driver examples for
additional URL examples.