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 the driver files here:

Enter image description here

I clicked create database here:

Enter image description here

And filled in this form:

Enter image description here

After I clicked on it, it shows like this:

Enter image description here

How can I fix this?

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

3 Answers 3

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, and now its working.

Sign up to request clarification or add additional context in comments.

Comments

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

Comments

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.