cs0815
cs0815

Reputation: 17418

jdk jdbc bit issue

I am trying to get the mapviewer running. Whatever I do I get either one of these error messages:

Data source cannot be created : C:\oraclexe\app\oracle\product\11.2.0\server
\bin\ocijdbc10.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

Data source cannot be created : C:\oraclexe\app\oracle\product\11.2.0\server
\bin\ocijdbc10.dll: %1 is not a valid Win32 application

I understand that it has to do with the jdk/dll bit version. However, as I have tried all possibilities can someone please suggest a solution which I may have overlooked? Thanks.

Upvotes: 0

Views: 1351

Answers (1)

Dan
Dan

Reputation: 1018

It looks like you are using the OCI driver. Try using the thin JDBC driver instead. This is platform agnostic.

http://www.orafaq.com/wiki/JDBC

The OCI driver works with the installed Oracle client and therefore requires native DLLs. The thin driver is pure Java.

Upvotes: 1

Related Questions