Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDBC Oracle DLL Problem

864496May 25 2011 — edited May 26 2011
Hi,

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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 23 2011
Added on May 25 2011
1 comment
291 views