title: Failed to load Firebird client library: Embedded database with Jaybird
body: <p>I've been working on a program that connects to a Firebird database and listens for events. I'm trying to get it to work with an embedded database.</p>
  
  <pre><code>EventManager em = new FBEventManager(GDSType.getType("EMBEDDED"));
  em.setHost("localhost");
  em.setDatabase("C:\\test.fdb");
  em.connect();
  </code></pre>
  
  <pre class="lang-none prettyprint-override"><code>Exception in thread "main" java.lang.RuntimeException: Failed to initialize Jaybird native library. This is most likely due to a failure to load the firebird client library.
      at org.firebirdsql.gds.impl.jni.JniGDSImpl.attemptToLoadAClientLibraryFromList(JniGDSImpl.java:106)
      at org.firebirdsql.gds.impl.jni.EmbeddedGDSImpl.&lt;init&gt;(EmbeddedGDSImpl.java:31)
      at org.firebirdsql.gds.impl.jni.EmbeddedGDSImpl.&lt;init&gt;(EmbeddedGDSImpl.java:21)
      at org.firebirdsql.gds.impl.jni.EmbeddedGDSFactoryPlugin.getGDS(EmbeddedGDSFactoryPlugin.java:40)
      at org.firebirdsql.gds.impl.GDSFactory.getGDSForType(GDSFactory.java:220)
      at org.firebirdsql.event.FBEventManager.&lt;init&gt;(FBEventManager.java:91)
      at eventhandler.FirebirdEventMaster.&lt;init&gt;(FirebirdEventMaster.java:42)
      at eventhandler.FirebirdEventMaster.getInstance(FirebirdEventMaster.java:33)
      at eventhandler.Driver.main(Driver.java:13)
  </code></pre>
  
  <p>After much googling, I've tried...</p>
  
  <p><strong>"VM Options":</strong> -Djava.library.path="C:\Users\jrile\Downloads\Jaybird-2.2.3JDK_1.6"</p>
  
  <p><strong>"FIREBIRD" and "PATH" system variable:</strong> "C:\Users\jrile\Downloads\Firebird-2.5.2.26540-0_x64_embed"</p>
  
  <p>Using Windows 64 bit and Firebird Embedded 64 bit. Any help would be much appreciated</p>