UnsatisfiedLinkError: ocijdbc10.dll: %1 is not a valid Win32 application
we are running 64-bit Oracle client and getting the following exception in JDBC application when trying to use OCI JDBC URL:
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\oracle\product\10.2.0\db_1\BIN\ocijdbc10.dll: %1 is not a valid Win32 application
Obviously this is an incompatibility with Oracle 64-bit and JRE 32-bit. Should we install JRE 64-bit? We use Intel's hardware, but on Sun's site it looks like JRE 64-bit is for AMD only - name of the file is jre-1_5_0_09-windows-<b>amd64</b>.exe.