Subject Re: [Firebird-Java] Re: Develop Java Application with Embedded Server
Author Roman Rokytskyy
> I'll explain a little more about my context:
> It is a Project Manager;
> OS: Windows XP Home
> IDE: Eclipse
> Java: JDK 6 update 4
> Firebird (zip filename): Firebird-2.0.3.12981-1_embed_win32.zip
> Jaybird (zip filename): Jaybird-2.1.2JDK_1.6.zip
> Directorylisting:C:\Portable\Data\Projectmanager\projectmanager
> 17-02-2008 01:44 <DIR> .
> 17-02-2008 01:44 <DIR> ..
> 17-02-2008 01:43 1.563 DatabaseConnection.class
> 17-02-2008 01:43 704 DatabaseConnection.java
> 03-09-2007 17:05 127.696 firebird.msg
> 03-09-2007 17:09 5.632 ib_util.dll
> 03-09-2007 16:56 1.114.112 icudt30.dll
> 03-09-2007 16:54 200.704 icuin30.dll
> 03-09-2007 16:54 548.864 icuuc30.dll
> 10-01-2008 17:22 680.426 jaybird-full-2.1.2.jar
> 05-07-2006 23:50 73.728 jaybird21.dll
> 17-02-2008 01:17 572 ProjectManager.class
> 17-02-2008 01:44 0 projectmanager.fdb
> 16-02-2008 23:53 224 ProjectManager.java
> Error: org.firebirdsql.gds.impl.jni.InternalError:
> FirebirdApiBinding::Initialize - Could not find or load the GDS32.DLL
>
> What do I need to do to resolve this error?

Your installation is not complete.

Add a fbembed.dll to the directory - that is the Firebird engine. If you
use other encodings than ISO-8859-1, you have to create the subdirectory
intl/ and put the fbintl.conf and fbintl.dll into it.

And do not forget to use the
jdbc.firebirdsql:embedded:<absolute_path_to_db> URL. The absolute path
is easy to get in Java:

String absolutePath = new File(".", "projectmanager.fdb").getAbsolutePath();

Roman