The Java DB location is not set correctly - netbeans

You have to make sure that the paths to the Java DB are actually available!

To do this please do the following:

  1. Click on "Windows" - "Services"
  2. Expand "Databases"
  3. Select "Java DB"
  4. Do a right-click and select "Properties..."
  5. Make sure that the locations are valid!

Sample paths

Java DB Installation: C:\glassfish\glassfish-3.1.2.2\javadb

Database Location: C:\Users\YourUsername.netbeans-derby

Screenshot:

enter image description here


Detailed instructions on how to install(probably unecessary javaDB is part of JDK6), configure and register JavaDB for Netbeans can be found @ Netbeans KB. The steps are basically:

  1. Find where javaDB is installed (search for folder "javadb" ?) or download and install it.
  2. Make/choose a directory to keep the databases in. (So now you have/know two directories)
  3. Register this info with Netbeans by specifying theese two directories.
  4. Test that it works.