Set the DERBY_INSTALL environment variable to point to the <appserver_install_dir>/javadb directory.
Unset your CLASSPATH environment variable.
You can also optionally set the following properties:
For more information about these utilities, see the Derby Tools and Admin guides.