This section explains how to use and configure Derby in an embedded environment.
If you installed the Demos and Samples for the JDK, you can run the sample application program $JAVA_HOME/demo/db/programs/simple, which illustrates how to run Derby embedded in the calling program. See "Installing Java DB" in Getting Started with Java DB for details on installing the sample programs.