Installing Java DB

Java DB is installed automatically as part of the Java SE Development Kit (JDK).

To obtain the JDK, navigate your web browser to http://www.oracle.com/technetwork/java/javase/downloads/ and click the Download JDK button. Follow the instructions on subsequent pages.

Java DB is installed in the db directory of the JDK installation. This distribution contains scripts, libraries, and demonstration programs. The installation contains several subdirectories:

For a Java DB installation, set the DERBY_HOME environment variable, described in Setting the environment variables, to JAVA_HOME/db.