Derby libraries are located in the /lib subdirectory of the Derby base directory. You must set the classpath on your development machine to include the appropriate libraries.
Getting Started with Java DB explains how to set the classpath in a development environment.