There are several ways that you can run the Derby tools and startup utilities.
The method that you choose to run the tools and utilities determines the environment variables that you set for Derby.
Method | When to Use | Requirements |
---|---|---|
Run the tools using the command shell scripts that are provided with Derby. | Use this method when you want to run the tools with the least amount of typing and have installed the full bin distribution of Derby. |
|
Run the tools using the derbyrun.jar archive file. | Use this method when:
|
The derbyrun.jar file must be in the same folder as the other Derby .jar files. For more information, see Syntax for the derbyrun.jar file. |
Run the tools using the complete java syntax, or use Derby in a Java program. | Use this method when:
|
For details on setting the CLASSPATH, see Manually setting the CLASSPATH environment variable. |