The Java DB location is not set correctly - netbeans

database, glassfish, jsp, netbeans, netbeans-7

Solution

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

To do this please do the following:

- Click on "Windows" - "Services"

- Expand "Databases"

- Select "Java DB"

- Do a right-click and select "Properties..."

- 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:

Problem

I have checked the services tab to the left and there isn't a javaDB in the database option, there's nothing in there? i'm using jsp's and beans, is there something i'm doing wrong?. i'm getting the message The Java DB location is not set correctly when i run my jsp for the first time.

Original source

Related problems