Subject Re: [Firebird-Java] JayBird and FireBird locations
Author Adriano dos Santos Fernandes
Roman Rokytskyy escreveu:
> Copy all DLLs to %JAVA_HOME%/bin, should also work. But that is not the
> answer you would like to hear, I guess :)
>
Yes, this is bad, but works.

> As I said, Firebird Embedded is not very friendly with Java because the
> primary target are Delphi and, possibly, .NET users who use this type of
> server extensively.
>
That shouldn't remain.

> The fbembed.dll loading mechanism was discussed several times among
> developers, one of the main requirements is that it should run when
> Firebird Embedded is copied to the same directory where the .exe is
> located (requirement from Delphi users - ease of use).
>
> Then we have Java, where the process that loads the library is not
> located in the working directory. In this case we have the FIREBIRD env
> variable. Merging fbembed.dll with jaybirdXX.dll to make it loadable
> directly from Java is not acceptable for the Firebird project due to
> dependency on JDK (and you would need to statically link the ICU libs as
> well), though it is thinkable.
http://tracker.firebirdsql.org/browse/CORE-1814

With these changes (more Jaybird related change) I was able to use
embedded even with webstart.


Adriano