Unix-specific issues
Derby Developer's Guide
13
Derby is a database engine written completely in Java; it will run in any JVM, version 1.4
or higher.
Derby libraries and classpath
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 Derby explains how to set the classpath in a development
environment.
UNIX-specific issues
This section discusses Derby issues specifically related to UNIX platforms.
Configuring file descriptors
Derby databases create one file per table or index. Some operating systems limit the
number of files an application can open at one time.
If the default is a low number, such as 64, you might run into unexpected IOExceptions
(wrapped in
SQLExceptions
). If your operating system lets you configure the number of
file descriptors, set this number to a higher value.
Scripts
Your installation contains executable script files that simplify invoking the Derby tools.
On UNIX systems, these files might need to have their default protections set to include
execute privilege.
A typical way to do this is with the command chmod +x *.ksh.
Consult the documentation for your operating system for system-specific details.