Starting ij

Derby provides batch and shell scripts for users in Windows and UNIX environments. If you put the appropriate script in your path, you will be able to start ij with a simple command. These scripts use the ij.protocol property, which automatically loads a driver and simplifies the process of connecting to a database. The scripts are found in the %DERBY_INSTALL%/bin/ directory. You can also customize the ij scripts to suit your environment.

If you are starting ij from a command line, be sure that the derbytools.jar file is in your classpath. If you are using Derby as a database server, start the server before connecting to the Derby database. You can start ij by running the ij scripts in the /frameworks/embedded/bin/ directory or in the /frameworks/NetworkServer/bin/ directory.

To start ij, run the script provided or use this command:
java [<options>] [-p <propertyFile>] [<inputFile>]
The command line items are:

For detailed information about ij commands, see ij commands and errors reference.

Related concepts
Getting started with ij
Related tasks
Starting ij using properties