title: Not able to connect with Sybase database
body: <p>In java I am trying to connect with Sybase database through java program as shown below </p>
  
  <pre><code>public static void connect() {
  
          SybDriver sybDriver = null;
          Connection conn;
  
          try {
              sybDriver = (SybDriver) Class.forName(
                  //  "com.sybase.jdbc3.jdbc.SybDriver").newInstance();
                      "com.sybase.jdbc2.jdbc.SybDriver").newInstance();
              System.out.println("Driver Loaded");
              conn = DriverManager.getConnection(url, username, password);
              boolean isTrue = conn.isValid(3);
              System.out.println(isTrue);
  </code></pre>
  
  <p>But i am getting the below exception</p>
  
  <p>Driver Loaded</p>
  
  <pre><code>Exception in thread "main" java.lang.AbstractMethodError: com.sybase.jdbc2.jdbc.SybConnection.isValid(I)Z
      at connectionTry.connect(connectionTry.java:97)
      at connectionTry.main(connectionTry.java:23)
  </code></pre>
  
  <p>I have done analysis in google what i have to came up to know jconnn.jar is missing as the issue is the method isValid(I)Z is not there in jconn2.jar is not there please advise how to overcome from this error please.</p>