1

I am trying to create a new JavaDB. I have added the Java DB Drivers into Libraries but it's still throwing out an error when creating a new Database under services.

I downloaded and defined db-derby-10.15.2.0-bin

enter image description here

and I defined drover files here

enter image description here

i clicked create database here

enter image description here

and filled this form

enter image description here

after I clicked om it shows like this

enter image description here

any one please help mee

  • 2
    what Java version are you using? some drivers seems to be compiled against java 9, have you tried another prior Derby version? – Kaneda Apr 02 '21 at 03:03
  • 1
    you can also add the driver via right clicking in libraries and choose add java db driver from the list. – Kaneda Apr 02 '21 at 03:05
  • i am using JDK-15 –  Apr 02 '21 at 03:05
  • but I do not want to add insight to the project I need to add a database through Netbeans service –  Apr 02 '21 at 03:12

3 Answers3

1

finally, I solved this problem, I don't know why it's not working. but I changed derby version 10.15 to 10.2 now its working

0

Accordingly with the Derby release notes I think you are missing the derby tools

In addition, the derbytools.jar library is now required when running the network server and/or when using Derby DataSources.

Kaneda
  • 409
  • 3
  • 13
0

Don't download the 10.15.2.0 version

Just download from the below, and it will work fine:

https://db.apache.org/derby/releases/release-10_14_2_0.cgi

Safin Ghoghabori
  • 317
  • 2
  • 14