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