Subject Re: [Firebird-Java] How to use Jaybird with embedded Firebird ?
Author Roman Rokytskyy
> I want to use a java application with Jaybird using the embedded
> Firebird, ie with no installation from the user.
> Is it only possible ??

Should be possible.

> Where to copy fbembed.dll ?

If must be available via java.library.path system property. You can sent it
at the JVM startup. By default JVM looks in the PATH.

> My url is something like :
> jdbc:firebirdsql:embedded:d:\myFolder\myBase.gdb

> and I got : "Resource Exception. Unable to complete network request
> to host "embedded".
> Reason: Unable to complete network request to host "embedded"

Ensure that you use JayBird 1.5, and not 1.0.1. Check your %JRE%/lib/ext
directory and your classpath.

> If I launch the fbserver service and if I setup with the url :
> jdbc:firebirdsql:localhost/3070:d:\myFolder\myBase.gdb, it works.

> What's wrong ???

Most likely you have an old JayBird somewhere. It did not know what to do
with the jdbc:firebirdsql:embedded: URLs.

Roman