Subject Re: Develop Java Application with Embedded Server
Author serge.fonville
--- In Firebird-Java@yahoogroups.com, Roman Rokytskyy
<rrokytskyy@...> wrote:
>
> > Since I do not know in which directory it will be installed I
want it
> > to run standalone (all in one directory). Also it will be written
in
> > Java. My problem is that I do not know what I need to configure
where,
> > so I get all kinds of errors (presently somethig about being
unable to
> > find or load gds32.dll). Specifying absolute paths isn't an
option. Is
> > this at all possible with a combination of embedded FirebirdSQL
and
> > Java?
>
> Yes, however you have to add the "current dir" to the PATH and also
you
> have to specify the FIREBIRD variable to point to the "current
dir".
> Something like:
>
> set PATH=.;%PATH%
> set FIREBIRD=.
>
> javaw.exe -classpath .... com.mycompany.MainClass
>
> should do the trick.
>
> Roman
>
Roman, thank you very much for your reply.

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?

Thanks a lot,

Serge Fonville