Posted By:
Betty_Sun
Posted On:
Wednesday, July 31, 2002 03:51 PM
I Run JDBCTest, then follow instruction at step 3 to "Register Driver", then use defalt Driver URL "sun.jdbc.odbc.JdbcOdbcDriver", then in JDBC/Database output window, it has the following message: registerDriver() Failed: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc) ******** in java code window, the code failed as follow: // REGISTER DRIVER try { Driver d = (Driver)Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); } catch (Exception e) { System.out.println(e) } I cannot go further to con
More>>
I Run JDBCTest, then follow instruction at step 3 to "Register Driver", then use defalt Driver URL "sun.jdbc.odbc.JdbcOdbcDriver", then
in JDBC/Database output window, it has the following message:
registerDriver() Failed:
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
********
in java code window, the code failed as follow:
// REGISTER DRIVER
try {
Driver d = (Driver)Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
} catch (Exception e) {
System.out.println(e)
}
I cannot go further to connect database
<<Less