Subject Embedded FB on Windows - using Java - help appreciated.
Author plinehan
Hi all,

Have gone back to College and am trying to get an app
working with Firebird Embedded on Windows, using the
dll (no equivalent on Unix?).

I don't have admin access to the machine, but can change
the user variables and have put everything into
D:\Paulie\Test1 and have added this to the CLASSPATH
and PATH variables.

I also put all the files from the into this directory.

I also put IBOConsole into this dir and it runs fine!

This code fails (and as a result, nothing works!)

catch(Exception e)

and I get the error (in BlueJ)

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

From the dos prompt I get

D:\Paulie\Test1>java TestDB.class
Exception in thread "main" java.lang.NoClassDefFoundError: TestDB/class
Caused by: java.lang.ClassNotFoundException: TestDB.class
at$ Source)
at Method)
at Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)


Does anybody have a solution to my problem - i.e. connecting to
Firebird dll?

TIA and rgs.