Java DB is simply a re-branded distribution of the Apache Derby open source database. It contains the same binaries as Apache Derby.

As of JDK 9, it is no longer being planned to include it in the ‘db’ directory of Oracle JDK downloads.

Developers looking ahead to JDK 9 should plan to get and bundle Apache Derby independently for the same purpose.

 – Don