Jump to content

Tall

Newbies
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Industry
    IT

Tall's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Hello good people, I need help with this java programm gram doesn't want to connect to FileMaker Pro 14,, it gives out 3 errors as follow: java.lang.ClassNotFoundException: com.ddtek.jdbc.sequelink.SequeLinkDriver java.sql.SQLException: No suitable driver found for jdbc:sequelink://localhost:2399;serverDataSource=Onandjokwe ART;user=DSP10;password=DSP10 java.lang.NullPointerException I have set my classpath correctly i think and now i am confused , anyone please help, I am using Windows 7 Here is my code /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package filemakerreader; /** * * @author Tall */ import java.sql.*; public class FileMakerReader { public static void main(String[] args) { try { Driver d = (Driver)Class.forName("com.ddtek.jdbc.sequelink.SequeLinkDriver").newInstance(); } catch(Exception e) { System.out.println(e); } Connection con = null; try { DriverManager.getConnection("jdbc:filemaker://localhost:2399;serverDataSource=Onandjokwe ART;user=DSP10;password=DSP10"); } catch(Exception e) { System.out.println(e); } // get connection warnings SQLWarning warning = null; try { warning = con.getWarnings(); if (warning == null) { System.out.println("No warnings"); return; } while (warning != null) { System.out.println("Warning: "+warning); warning = warning.getNextWarning(); } } catch (Exception e) { System.out.println(e); } } }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.