Subject RE: more on getting embedded ... RE: [Firebird-Java] Once again ... Re: Firebird Embedded deploying with Java
Author palmer ristevski
OK!
Thanks for the input Mark.
I'll give it a try!

P

To: Firebird-Java@yahoogroups.com
From: Avalanche1979@...
Date: Sun, 11 Oct 2009 20:04:26 +0200
Subject: Re: more on getting embedded ... RE: [Firebird-Java] Once again ... Re: Firebird Embedded deploying with Java





















palmer ristevski wrote:



> Also anther problem is that when I put the JayBird.jar file in the class path in NetBeans IDE,

> I don't seem to be able to put the .dll files in the class path. But I put the .dll files in the same

> directory as the .jar file.



> SO in the end you see the documentation on getting EMBEDDED mode working is all over the place.

> It is difficult to get all the information one needs in one place.



> Has anybody made an effort to put all the steps required to get embedded mode of Firebird working,

> on a blog site or something.



I don't normally use embedded, but simply copying the contents of the

Firebird embedded Zip + jaybird21.dll into the root of my Netbeans

project makes everything just work. That is without specifying

java.library.path or the system PATH, or without using

System.load(<absolute-path-to-jaybird21.dll>).



Of course to get it working outside of Netbeans will probably need some

additional tweaking of the ANT build.xml to get a complete distribution.



This isn't the prettiest solution, but it does work!

--

Mark Rotteveel




















_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/

[Non-text portions of this message have been removed]