JDBC Oracle DLL Problem
864496May 25 2011 — edited May 26 2011Hi,
I'm using JDK 1.6,Oracle 11g and Eclipse on Windows XP to build a standalone application.'m facing a big problem connecting to the DB.So,it seems liek I had initally added orai18n.jar to my classpath.but then I was receiving a compilation Error with this statement
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); where the error was type oracle.jdbc not resolved.
So,I added ojdbc14.jar to the classpath removing orai18n.jar.Now this error vanished but I srated getting a runtime error that ocijdbc10.dll wasn't found.I went through all the forums here and it was suggested to download a 10g client and copy ocijdbc10.dll from its bin to my cuurent bin for 11g.
Doing that produced a new exception i.e
bin\ocijdbc10.dll: The specified procedure could not be found. It seems like ocijdbc10.dll cannot function in that environment.
Could anyone please suggest a possible solution to the problem.