I am trying to make a connection to oracle through java program. Following is the configuration.
But I am getting following exception- "java.lang.UnsatisfiedLinkError: \bin\ocijdbc11.dll: %1 is not a valid Win32 application"
I googled alot but was not able to figure out the solution.
Please help me solve this problem.
Thanks in advance.
This error seems to be related with the compatibility of the OCI driver version with your Windows version.
Check if your OCI driver is compatible with a 32 bit architecture or else is for a 64 bit (and hence the error).
Here (https://forums.oracle.com/forums/thread.jspa?threadID=2189215) you can find a close related error (same error, for a different library), which finally was fixed downloading the S.O. specific version of the library and reinstalling it.
EDIT: so, after your edition, it seems that you have to install the 64 bit JDK and run your application on it, as your driver and your OS are aligned (64 bit).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With