Subject Why: java.lang.ClassNotFoundException: org/firebirdsql/jdbc/FBDriver
Author garyscotthenry
Here is my system info:

- Server version/model: Installed Firebird-2.5.2.26539_0_Win32.exe
- OS version: 64-bit Windows 7
- Client language: Microsoft Visual C++ 2010
- Client data access interface: JDBC Driver

I have a test program that calls the following functions:

cls = (*env)->FindClass(env, "java/lang/Class");
mid = (*env)->GetStaticMethodID(env, cls, "forName", "(Ljava/lang/String;)Ljava/lang/Class;");
jstr = (*env)->NewStringUTF(env, "org.firebirdsql.jdbc.FBDriver");
obj = (*env)->CallStaticObjectMethodV(env, cls, mid, jstr);

The exception returned is:

java.lang.ClassNotFoundException: org/firebirdsql/jdbc/FBDriver

My CLASSPATH is set to the location where I installed jaybird-full-2.2.1.jar:

CLASSPATH=
D:\tmp\Pivotal\1086514JavaClassNotFound\Firebird\Jaybird\jaybird-full-2.2.1.jar;
D:\tmp\Pivotal\1086514JavaClassNotFound\Firebird\Jaybird

As far as I know FBDriver should be in jaybird-full-2.2.1.jar. If anyone knows of something I can try to get rid of the ClassNotFoundException let me know.

Thanks,

Gary