Classpath

To simplify the process of setting up the CLASSPATH environment variable to run Derby and the tools a new jarfile,derbyrun.jar, has been added to the Derby distribution. This is the only jarfile that needs to be in your classpath. The following information is provided for people using Derby distributions that do not contain derbyrun.jar or who prefer to setup the classpath manually.

The following lists the files that need to be in the Derby classpath for each tool and configuration:

  • To use ij, you must have derbytools.jar in your classpath. If you are using the embedded driver, you must also include derby.jar.
  • To use the import and export utilities and the database class loading utilities, you must have derby.jar in your classpath.
  • To use sysinfo, either derby.jar or derbytools.jar must be in your classpath.
  • To use Derby tools from a client with the Derby Network Server, you must have derbyclient.jar and derbytools.jar in your classpath. See the Derby Server and Administration Guide for more information.
Related concepts
Java 2 Platform, Standard Edition, Version 1.3