The Java DB configuration that is supplied with Enterprise Server 2.1 includes scripts that can help you use Java DB. The following scripts are available for use in the as-install/javadb/bin directory:
startNetworkServer, startNetworkServer.bat— Script to start the network server
stopNetworkServer, stopNetworkServer.bat— Script to stop the network server
ij, ij.bat— Interactive JDBC scripting tool
dblook, dblook.bat — Script to view all or part of the DDL for a database
sysinfo, sysinfo.bat — Script to display versioning information about the Java DB environment
NetworkServerControl, NetworkServerControl.bat — Script which provides a means of executing commands on the NetworkServerControl API
Ensure that the JAVA_HOME environment variable specifies the directory where the JDK is installed.
Set the DERBY_HOME environment variable to point to the as-install/javadb directory.
For more information about these utilities, see the following Derby documentation: