Installing required jar files and adding them to the classpath

To use the Network Server and network client driver, add the following jar file to your server classpath.

Adding this file to your classpath has the effect of including all of the Derby classes in your classpath. These classes are in the following jar files, which you can also add to your classpath separately:

All of the jar files are in the $DERBY_HOME/lib directory.

Derby provides script files for setting the classpath to work with the Network Server. The scripts are located in the $DERBY_HOME/bin directory.

See Managing the Derby Network Server and Getting Started with Derby for more information on setting the classpath.
Related concepts
The Network Server and Java Virtual Machines (JVMs)
Accessing the Network Server by using the network client driver
Accessing the Network Server by using a DataSource object
XA and the Network Server
Using the Derby tools with the Network Server
Differences between running Derby in embedded mode and using the Network Server
Related tasks
Starting the Network Server
Shutting down the Network Server
Obtaining system information
Setting port numbers