Subject | Re: [Firebird-Java] Re: JayBird & Embeeded |
---|---|
Author | Marco Parmeggiani |
Post date | 2004-03-22T17:56:13Z |
In data Mon, 22 Mar 2004 17:00:47 -0000, hai scritto:
In this way i have to copy java.exe in the appdir in order to get all dll's
correctly loaded and the app correctly running. Embedded dll's should stay
in the dir where the "application exe" resides... and for a java app that
directory isn't the one where the jar resides but the one where java.exe
resides...
Now, thinking about it, i have a doubt... what happens if you haven't a jre
installed at system level (using the installer)? Probably it won't work as
java.exe will not find all its files... so, the right way to have a
directory containg a fully working embedded firebird app providing also an
"embedded" jre is to put all dll structure in the bin directory of the jre
provided with the application... i should check this...
be sure to respect the directory structure and remember what i said above:
<your app exe>
fbembed.dll
ib_util-dll
aliases.conf
firebird.conf
firebird.msg
intl/fbintl.dll
udf/fbudf.dll
udf/ib_udf.dll
HTH
ciao
> is fbembedded.dll in your system32 dir?No, i keep all dll's in the app dir. But wait a minute....
In this way i have to copy java.exe in the appdir in order to get all dll's
correctly loaded and the app correctly running. Embedded dll's should stay
in the dir where the "application exe" resides... and for a java app that
directory isn't the one where the jar resides but the one where java.exe
resides...
Now, thinking about it, i have a doubt... what happens if you haven't a jre
installed at system level (using the installer)? Probably it won't work as
java.exe will not find all its files... so, the right way to have a
directory containg a fully working embedded firebird app providing also an
"embedded" jre is to put all dll structure in the bin directory of the jre
provided with the application... i should check this...
> Did you get Firebird-1.5.0.4290_embed_win32.zip?yes
be sure to respect the directory structure and remember what i said above:
<your app exe>
fbembed.dll
ib_util-dll
aliases.conf
firebird.conf
firebird.msg
intl/fbintl.dll
udf/fbudf.dll
udf/ib_udf.dll
HTH
ciao