


button three times to add the jars derbytools.jar, derbyshared.jar and derbyoptionaltools.jar from the lib directory of your Derby installation (which is named C:\Apache\db-derby-10.16.1.1-bin in my case, but yours is almost certainly something else).Īfter doing that your Customize JDBC Driver window for your Java DB (Embedded) driver should look similar to this: The Customize JDBC Driver window will be displayed.Ĭlick the Add. In the Services panel in NetBeans select the entry Databases > Drivers > Java DB (Embedded), right click and select Customize. from the context menu this error is displayed:Īlthough that linked bug report is open and unresolved, a helpful user posted a workaround in the comments so that a suitable driver can be found: After selecting the sample database connection jdbc:derby://localhost:1527/sample and selecting Connect. I can reproduce the connection failure issue on NetBeans 15 using JDK 19 and Derby 10.16.1.1. Unresolved NetBeans Bug NETBEANS-3424 Unable to use Derby DB version 10.15.1.3 in Netbeans 11.2 looks relevant to your problem, though you are using different software releases of Derby, Java and NetBeans and your issue is with starting the server rather than establishing a connection.
