powered by Jive Software

Jdbc and oracle connectivity problem

the compilation of Sample.java is ok but the execution of the program is showing the following error:

Exception in thread “main” java.sql.SQLException: No suitable driver

at java.sql.DriverManager:getConnection(DriverManager.java:532)

at java.sql.DriverManager:getConnection(DriverManager.java:171)

at Sample.open(Sample.java:52)

at Sample.main(Sample.java:19)

can you help me…

Do you have the oracle connector classes in the classpath? The “java.sql.SQLException: No suitable driver” error means that the oracle driver, in your case, could not be found.


– Gato