Delete comment from: Javarevisited

Anonymous said...

when i write code of line to register the driver
DriverManager.registerDriver(new sun.jdbc.odbc.JdbcOdbcDriver());

i found the error like this

The constructor JdbcOdbcDriver() is not

accessible due to restriction on required library

C:\Program Files\Java\jre6\lib\rt.jar

please help?

Feb 19, 2013, 6:00:05 AM


Posted to Java Program to connect Oracle Database with Example - JDBC Tutorial Sample Code

Google apps
Main menu