Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8848075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:20:33+00:00 2026-06-14T12:20:33+00:00

I am attempting to use a 3rd-party dll for a program I am writing

  • 0

I am attempting to use a 3rd-party dll for a program I am writing in java. Unfortunately, it only has 32-bit support. When I attempt to load the dll in a 64-bit VM, I get the following error:

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

I have tried running in a 32-bit VM, which works in eclipse, but when I export the project, I get the same error. Please help!

Sincerely, Ben

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T12:20:35+00:00Added an answer on June 14, 2026 at 12:20 pm

    You cannot use a 32-bit DLL in a 64-bit Hotspot JVM. It won’t work. And I don’t know of any other 64-bit JVM that supports 32-bit DLLs.

    Indeed, as Peter Lawrey points out, this is not just a JVM limitation. No mainstream operating system allows an application running in 64-bit mode to load and use a 32-bit library.

    Your choices are:

    • Switch to a 32-bit JVM. (You can run a 32bit JVM on a 64-bit OS …)
    • Port the DLL to 64-bit.
    • Switch to an alternative library that is pure Java, or has a 64-bit DLL.

    I have tried running in a 32-bit VM, which works in eclipse, but when I export the project, I get the same error.

    That can only mean that you are running a 32-bit JVM to run the application within Eclipse, and a 64-bit JVM to run the application outside of Eclipse. (The issue is how you run the application, not how you export it …)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to call native methods within a 3rd party DLL, which has a
I'm attempting to use some 3rd party libraries in my iOS app, as recommended
I'm attempting to utilize a 3rd-party PHP library in a semi-developed web project. Unfortunately,
I'm attempting to use a 3rd party service that uses OAuth 1.0a and requires
I have a 3rd party DLL that I need to use in my application.
I'm attempting to use a 3rd party JDBC driver with my Coldfusion installation, but
I am attempting to use the haml-jekyll-extension only I do not understand how to
I'm writing a script that's meant to be embedded on 3rd party sites to
I am attempting use Java Pathfinder and I have pathfinder working. import gov.nasa.jpf.jvm.Verify; user.java:2:
I'm using a remote 3rd party storage solution that does not have support for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.