This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Tan Mit
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 859
Chrome IBM DB2 Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got rid of that but now I am getting this error
 
Tan Mit
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got rid of that but this is still there
 
Tan Mit
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could someone please advice on this?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic