# 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/prodtech/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 style scripts for executing utilities and setting up the environment. These are provided in this release for backward compatibility. In a next release, they will be deprecated in favor of the scripts in the bin directory.

Parent topic: Installing and working with Derby
Related tasks
Setting up your environment