I've tried everything. I can't get an
applet to connect to an Access Database using the JDBC-ODBC driver.
I've got all the data sources setup in ODBC, but can't seem to connect, instead I recieve this connection:
java.security.AccessControlException: access denied (java.lan.RuntimePermission accessClassInPackage.sun.jdbc)
Has anyone seen this error before? I've commented out code such that I think I have found the line that is causing the problem at runtime.
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
I have a comment just before the try block that the above line is in that outputs the message "run ClassforName" to the command prompt.
Then I have the first line of the catch block output "ClassforName failed".
The output I get at the command prompt is:
run ClassforName
ClassforName failed.
The applet output is the error mentioned above.
HELP ME!!!
Ryan