Subject | Re: Develop Java Application with Embedded Server |
---|---|
Author | serge.fonville |
Post date | 2008-02-18T10:58:11Z |
--- In Firebird-Java@yahoogroups.com, Roman Rokytskyy
<rrokytskyy@...> wrote:
not be found in java.library.path.
When I add the directory where jaybird21.dll is located to the system
path path I get the error:
GDS Exception. 335544344. I/O error for file CreateFile (open) ""
Error while trying to open file
null
Reason: I/O error for file CreateFile (open) ""
Error while trying to open file
null
I think this implies two things: The jaybird21.dll should somehow be
visible through the path to java (no portability there, I'm afraid),
unless it is possible to define java.library.path from inside the
java source and I need some sort of tool to create the database file.
Thank you very, very much for all your help so far
<rrokytskyy@...> wrote:
>GDS32.DLL
>
> > 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
> >If you
> > 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.
> use other encodings than ISO-8859-1, you have to create thesubdirectory
> intl/ and put the fbintl.conf and fbintl.dll into it.path
>
> And do not forget to use the
> jdbc.firebirdsql:embedded:<absolute_path_to_db> URL. The absolute
> is easy to get in Java:(".", "projectmanager.fdb").getAbsolutePath();
>
> String absolutePath = new File
>If i specify the absolutepath I get an error stating jaybird21 could
> Roman
>
not be found in java.library.path.
When I add the directory where jaybird21.dll is located to the system
path path I get the error:
GDS Exception. 335544344. I/O error for file CreateFile (open) ""
Error while trying to open file
null
Reason: I/O error for file CreateFile (open) ""
Error while trying to open file
null
I think this implies two things: The jaybird21.dll should somehow be
visible through the path to java (no portability there, I'm afraid),
unless it is possible to define java.library.path from inside the
java source and I need some sort of tool to create the database file.
Thank you very, very much for all your help so far