Installation 1. download bin installation from derby's download page 2. set environment variable in /etc/environment or ~/.bashrc or ~/.bash_aliase export JAVA_HOME=/usr/lib/jvm/java-6-sun export PATH=$PATH:$JAVA_HOME/bin export DERBY_INSTALL=/mnt/disk/AIT/Quality/db-derby-10.5.1.1-bin // change this into your derby installation path export CLASSPATH=$DERBY_INSTALL/lib/derby.jar:$DERBY_INSTALL/lib/derbytools.jar:. 3. run $ cd $DERBY_INSTALL/bin $ . setEmbeddedCP and terminal will close, don't be panic. go on to next steps. 4. Testing if installation is correct $ java org.apache.derby.tools.sysinfo Result should be something like this. ------------------ Java Information ------------------ Java Version: 1.6.0_13 Java Vendor: Sun Microsystems Inc. Java home: /usr/lib/jvm/java-6-sun-1.6.0.13/jre Java classpath: /mnt/disk/AIT/Quality/db-derby-10.5.1.1-bin/lib/derby.jar:/mnt/disk/AIT/Quality/db-derby-10.5.1.1-bin/lib/derbytools.jar:. OS name: Linux OS archi...