Friday, July 31, 2009

JDBC help very important?

hi guys i am using windows XP and Oracle 8.0.5 when i try to connect to the database using the follwong statment





DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());





// Connect to the local database


Connection conn = DriverManager.getConnection ("jdbc:oracle:oci8:@mydatabase", "scott", "tiger");





i get the following exception





Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\orant\BIN\oci805jdbc.dll: Can't find dependent libraries


at java.lang.ClassLoader$NativeLibrary.load... Method)








could anyone help me please

JDBC help very important?
Download the oracle drivers classes12.jar. That will let you connect to Oracle


No comments:

Post a Comment