# Scripts included with Derby

Derby includes scripts that start the Derby tools, add the appropriate libraries to the CLASSPATH, and start and stop the Network Server. These scripts available only when you download the bin distribution of Derby.

The Derby scripts are located in the /bin directory where you installed Derby. To run the scripts, you need to set several environment variables so that the scripts run correctly. See Setting the environment variables to set the environment variables.

You must run the Derby scripts in an appropriate command line environment, such as a Windows command prompt or a UNIX shell.

The complete list of scripts that are included with Derby is:

bin/dblook
  Runs the `dblook` tool.
bin/ij
  Starts the `ij` tool.
bin/NetworkServerControl
  Runs NetworkServerControl.
bin/setEmbeddedCP
  Puts all of the Derby libraries for an embedded environment in the CLASSPATH.
bin/setNetworkClientCP
  Puts the libraries needed to connect to the Derby Network Server into the CLASSPATH.
bin/setNetworkServerCP
  Puts the libraries needed to start the Derby Network Server into the CLASSPATH.
bin/startNetworkServer
  Starts the Network Server on the local machine.
bin/stopNetworkServer
  Stops the Network Server on the local machine.
bin/sysinfo
  Runs the `sysinfo` tool.

Parent topic: Derby libraries and scripts: complete reference
Related reference
Libraries provided by Derby