Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
12.0, 11.2, 12.1, 12.0.1, 12.2
-
None
-
None
-
Product Version: Apache NetBeans IDE 11.2
Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
Runtime: OpenJDK Runtime Environment 13.0.1+9
System: Windows 10 version 10.0 running on amd64; Cp1252; en_GB (nb)
Description
If you assign Derby version 10.15.1.3 as the Java DB installation, as soon as you try and connect to the sample database, or as soon as you try and create a new database, you get an error dialog box "Unable to connect. Cannot establish connection to jdbc:derby://localhost:1527/sample using org.apache.derby.jdbc.ClientDriver (unable to find a suitable driver)."
If instead you use Derby version 10.14.2.0, it all works OK.
Note: please refer to the release notes for the new version of Derby DB here : http://db.apache.org/derby/releases/release-10.15.1.3.cgi
This indicates that some "JPMS modularization" has taken place - I wonder if this will be the root cause of the issue - and in which case it will impact all versions of NetBeans
To reproduce the issue:
1. In the Services window, expand Databases, click right on Java DB and set the properties to point to the installation folder for Derby 10.15.1.3
2. Click right on the sample database and select Connect...