//Load the driver.
//Assuming you haven't bought an access driver, you're using
//The bridge - must have the odbc access drivers installed.
String driver = "sun.jdbc.odbc.JdbcOdbcDriver";
try {
Class.forName(driver);
} catch (ClassNotFoundException e) {
e.printStackTrace("Not a valid driver"

;
}
//Create a url, substitute your db path for<YOURACCESSFILE>.
//Great opportunity to use Property file or XML config.
//Tweak the odbc settings to your taste.
String url= "jdbc

dbc

RIVER={Microsoft Access Driver
(*.mdb)};UID=admin;UserCommitSync=Yes;Exclusive=Yes;Threads=15;SafeTransactions=1;PageTimeout=10;MaxScanRows=8;MaxBuffe
rSize=65535;FIL=MS Access;DriverId\=281;
BQ=<YOURACCESSFILE>;";
//Enable driver manager tracing if you want:
DriverManager.setLogWriter(new PrintWriter(new OuputStreamWriter(System.out)));
//You now have a connection, hopefully.
Connection conn = DriverManager.getConnection(url);
//Create a statement to execute.
Statement st = conn.createStatement();
//execute a query for resultset.
ResultSet rs = st.executeQuery("SELECT * FROM 5_gb_access_table"

;
//If you want dynamic column info, remember columns
//start with 1 index (sql).
ResultSetMetaData md = rs.getMetaData();
//print the data.
while (rs.next()) {
for(int i = 1; i <= md.getColumnCount(); i++) {
System.out.print(rs.getString(i) + " "

;
}
//Add new line
System.out.print("\n"

;
}
//clean up.
rs.close();
st.close();
conn.close();
rs = null;
st = null;
conn = null;
...
Hope this is somewhat helpful. If you're stuck using jdbc-odbc bridge with Access, you'll find the odbc driver doesn't support a lot of f(x)ality. You can use the ODBC trace feature from admin tools to troubleshoot.
Good luck.