I am trying to make a connection to oracle through java program. Following is the configuration.
- Windows 7, 64 bit.
- JDK 1.6
- Oracle client 11g R2, 64 bit.
- ojdbc6.jar in the class path of my standalone application.
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.
\bin\ocijdbc11.dll
should have beenc:\xxxxxx\bin\ocijdbc11.dll
– Leanaleanard