Subject AW: [Firebird-Java] Re: failed to initialize jaybird native library / firebird client library
Author Roman Rokytskyy
Firebird Embedded is completely standalone. But before you start your Java application, you have to set the $FIREBIRD variable in the same environment in which you start your Java application. In other words - create a script that sets the variable and then starts your Java code.

Hope this helps.

Roman

----- Urspr√ľngliche Nachricht -----
Von: judlian23 <jtb3f@...>
Gesendet: Mittwoch, 5. November 2008 01:08
An: Firebird-Java@yahoogroups.com
Betreff: [Firebird-Java] Re: failed to initialize jaybird native library / firebird client library

I guess that brings up more questions for me.

Is the embedded installation
(http://www.firebirdfaq.org/Firebird-Embedded-Linux-HOWTO.html)
completely standalone or do I need to also install the firebird server?

I know how to set the $FIREBIRD environment variable from the command
line, but how do I set that environment variable from within my java
application?

--- In Firebird-Java@yahoogroups.com, Roman Rokytskyy <roman@...> wrote:
>
> > java.lang.RuntimeException: Failed to initilize Jaybird native
> > library. This is most likley due to a failure to load the firebird
> > client library.
>
> Jaybird loaded the libjaybird21.so and called the native init method
> with library name as a param. The native code does simple dload, but it
> failed two times (one in attempt to load fbembed.dll, which is ok, next
> and last by loading the libfbembed.so). So it looks like it cannot find
> Firebird.
>
> Is $FIREBIRD environment variable set? Is libfbembed.so in
> $LD_LIBRARY_PATH? Did you check the firebird.log about any errors?
>
> Roman
>



------------------------------------

Yahoo! Groups Links