title: Firebird connection with java
body: <p>I have installed Firebird 2.1 on windows Xp and using firebirdsql.jdbc-2.1.6 driver to connect with java. Code:</p>
  
  <pre><code>Class.forName("org.firebirdsql.jdbc.FBDriver"); 
  
  connection = DriverManager.getConnection(
      "jdbc:firebirdsql://localhost/3050//C:/firebird/database/EMPLOYEE.FDB", 
      "test","test"); 
  </code></pre>
  
  <p>I am getting following error:</p>
  
  <pre>
  Caused by: org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544375.
  unavailable database 
  Reason: unavailable database at 
  org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:122) at 
  org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:140) at 
  java.sql.DriverManager.getConnection(DriverManager.java:525) at 
  java.sql.DriverManager.getConnection(DriverManager.java:171)
  </pre>
  
  <p>Please help.</p>
  
  <p>Problem solved:
  Actually I had problem with jar file that I got from </p>
  
  <p><a href="http://mirrors.ibiblio.org/pub/mirrors/maven2" rel="noreferrer">http://mirrors.ibiblio.org/pub/mirrors/maven2</a></p>
  
  <p>I downloaded jaybird-full-2.1.6.jar from firebird offical website and problem got solved.</p>
  
  <p>Correct URL is </p>
  
  <pre><code>"jdbc:firebirdsql://localhost:3050/C:\\firebird\\database\\EMPLOYEE.FDB"
  </code></pre>
  
  <p>I tried this URL earlier also but it was not working beacuse of jar issue.</p>