This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Ubuntu 10.10. 1. Installed sun-java6-javadb using the Synaptic Package Manager 2. Started the IDE I would expect that the JavaDB driver + sample connection will be pre-registered in the IDE, but they are not. The driver is located under /usr/lib/jvm/java-6-sun/db/lib.
Petr, did you install IDE via installer or simply unzip a archive?
Just unzipped the build (beta 2 candidate build). I know that on Mac, when I use the zip build, Derby registration works well. Not sure about Windows.
I'll look in it.
It works for me, if you run IDE with appropriate java ie. --jdkhome /usr/lib/jvm/java-6-sun in this case, the derby location in /usr/lib/jvm/java-6-sun/db/lib is detected. The current logic of derby locator finds derby on <jdkhome>/db/lib, depends on active java home in IDE. If you think it's good to explore all known places where derby could found, reopen it again.
Ok, I agree the current logic sounds reasonable. When I specify --jdkhome explicitly, the IDE correctly picks up the JavaDB location and registers the driver + sample database. The root problem then is bug 195498, i.e. the IDE launcher should respect the OS default, so I don't need to explicitly specify --jdkhome.