Subject | Re: [Firebird-Java] JayBird and FireBird locations |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2009-09-29T20:04:04Z |
Roman Rokytskyy escreveu:
With these changes (more Jaybird related change) I was able to use
embedded even with webstart.
Adriano
> Copy all DLLs to %JAVA_HOME%/bin, should also work. But that is not theYes, this is bad, but works.
> answer you would like to hear, I guess :)
>
> As I said, Firebird Embedded is not very friendly with Java because theThat shouldn't remain.
> primary target are Delphi and, possibly, .NET users who use this type of
> server extensively.
>
> The fbembed.dll loading mechanism was discussed several times amonghttp://tracker.firebirdsql.org/browse/CORE-1814
> 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.
With these changes (more Jaybird related change) I was able to use
embedded even with webstart.
Adriano