Description: To install Java DB you must first download the Java DB zip file from the Java DB Web site.
Keywords: Java DB, installing

# Installing Java DB

To install Java DB you must first download the Java DB zip file from the Java DB Web site.

Navigate your Web browser to http://developers.sun.com/javadb/downloads/. Click Download. Follow the instructions on subsequent pages. You will need to register for a Sun Online Account if you have not done so before.

Extract the downloaded package, which contains the distribution of Java DB. This distribution contains scripts, libraries, and demonstration programs. The extracted installation contains several subdirectories:

- The demo subdirectory contains the demonstration programs.
- The bin subdirectory contains the scripts for executing utilities and setting up the environment.
- The javadoc subdirectory contains the `api` documentation that was generated from source code comments.
- The docs subdirectory contains the Java DB documentation.
- The lib subdirectory contains the Java DB .jar files.
- The frameworks subdirectory contains older scripts for executing utilities and setting up the environment. These are provided in this release for backward compatibility. These scripts are deprecated in favor of the scripts in the bin directory, and will be removed in a future release.

Parent topic: Installing and configuring Derby