Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Java connection to FileMaker refused

Featured Replies

  • Newbies

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 an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.