Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The Java DB location is not set correctly - netbeans

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.

like image 635
John Smith Avatar asked Apr 29 '12 10:04

John Smith


1 Answers

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

like image 167
Benny Neugebauer Avatar answered Oct 03 '22 09:10

Benny Neugebauer