aspose file tools*
The moose likes Oracle/OAS and the fly likes Can't load IA 32-bit .dll on a AMD 64-bit platform Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Can Watch "Can New topic
Author

Can't load IA 32-bit .dll on a AMD 64-bit platform

Tan Mit
Greenhorn

Joined: Aug 06, 2012
Posts: 14
I recently moved on Windows 7 (64 bit) and have been trying to build my project thru Maven. I keep getting the below error when I try to build a project which talks to DB. I have 32 bit Oracle 11g on my system. Please let me know how I can resolve this.


Caused by: java.lang.UnsatisfiedLinkError: C:\oracle\product\11.2.0\client_1\bin
\ocijdbc11.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3171)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java
:3167)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:233)
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

Is this at runtime?

If so, it's telling you that you should install the 64bit AMD Oracle native client components.

WP
Tan Mit
Greenhorn

Joined: Aug 06, 2012
Posts: 14
Yes its run time. Yeah I am trying to get it installed on my machine but apparently Quest TOAD doesn't work on 64 bit. So I need both 32 and 64 bit on my machine and while installing 64 it merges them both. IT help desk is helping me in it.

One more que - Using JDK 32 or 64 bit will not make any difference .. right? I can use either?
Tan Mit
Greenhorn

Joined: Aug 06, 2012
Posts: 14
I got rid of that but now I am getting this error
Tan Mit
Greenhorn

Joined: Aug 06, 2012
Posts: 14
I got rid of that but this is still there
Tan Mit
Greenhorn

Joined: Aug 06, 2012
Posts: 14
Could someone please advice on this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can't load IA 32-bit .dll on a AMD 64-bit platform