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.
I have installed InstantDB database. When I try to load their driver with Class.forName("org.enhydra.instantdb.jdbc.idbDriver"), it works Ok if I'm just running my project but fails with java.lang.ClassNotFoundException: org/enhydra/instantdb/jdbc/idbDriver if I'm running in debug mode. I have tried adding the relevant jar to the CLASSPATH and copying it to forte4j/lib/ext. Nothing helps.
This is relevant for both Comunity and Enterprize editions.
I think that this issue is a classpath problem in general rather than a problem related to loading classes in debug mode. Check settings of the used debugger type. Go to Project/Settings/Debugger Types/Default Debugging/Properties, edit property External Process. Classpath parameter defaulty looks like -classpath {q}{filesystems}{q} {filesystems} tag is replaced by paths corresponding to mounted directories. Add {library} tag to include system libraries (including jars in lib/ext). You can add the desired path into classpath parameter directly as well or it is possible to mount driver's jar to became part of {filesystems} tag ...
Worksforme -> Closed.