Subject | Re: [Firebird-Java] JayBird and FireBird locations |
---|---|
Author | Alec Swan |
Post date | 2009-09-28T21:40:24Z |
The configuration I described in my previous message is still sub-optimal
because it is impossible to configure in certain IDE environments.
I really liked how some DB vendors put all their DLLs and Java classes in
one JAR file. You can then put that file on the classpath and you are all
set. Would it be possible to this with JayBird/Firebird?
If not, then why doesn't the following configuration work, is it a bug?
1. jaybird-full.jar and firebird.conf are on the application classpath
2. firebird.conf has RootDirectory set to point to the firebird installation
directory
Thanks,
Alec
because it is impossible to configure in certain IDE environments.
I really liked how some DB vendors put all their DLLs and Java classes in
one JAR file. You can then put that file on the classpath and you are all
set. Would it be possible to this with JayBird/Firebird?
If not, then why doesn't the following configuration work, is it a bug?
1. jaybird-full.jar and firebird.conf are on the application classpath
2. firebird.conf has RootDirectory set to point to the firebird installation
directory
Thanks,
Alec
On Mon, Sep 28, 2009 at 2:12 PM, Alec Swan <alecswan@...> wrote:
> I was able to get this to work by specifying three Java environment
> variables as follows:
>
> <sysproperty key="*java.library.path*" path="*${dbs.bin}*"/>
> <env key="*PATH*" path="*${dbs.bin}*"/> <!-- Must contain fbembed.dll,
> icudt30.dll, icuin30.dll and icuuc30.dll -->
> <env key="*FIREBIRD*" path="*${dbs.bin}*"/> <!-- Must contain remaining
> Firebird libraries and config. files. -->
>
> Removing any of these settings breaks the configuration.
>
> Alec
>
>
>
> On Mon, Sep 28, 2009 at 1:41 PM, Roman Rokytskyy <roman@...>wrote:
>
>>
>>
>> > And you may also put the DLLs dir. in PATH.
>>
>> I did that, did not work... Will check it with debugger.
>>
>> Roman
>>
>>
>
>
[Non-text portions of this message have been removed]