• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Himanshu Choudhary
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my first question here.

I am getting above error when i try to deploy my application. My application was running successfully on windows7, but now on VM i have windows8 and when i deploy my application i am getting such error.

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

I have installed java 64bit previously, and after getting error i have installed 32bit java also. But still i am getting the same error.

After installing java 32bit i have just changes the 2 system variable path (java_home and jre_home), is there anything else i need to change so that my app will use 32bit java.

Thanks.
 
Campbell Ritchie
Marshal
Posts: 56599
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

Don't know, but please provide more details. What is the IA .dll you are trying to load?
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your program uses native libraries, then the bitness of the JVM you are using must be the same as the bitness of the native library.

So, if you have a 32-bit native library (DLL) then you must use a 32-bit JVM. It will not work with a 64-bit JVM. It doesn't matter if the operating system is 32-bit or 64-bit.

If it still does not seem to work with a 32-bit JVM, then check if you are really using the 32-bit JVM and not a 64-bit JVM that you still might have installed.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!