• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Erro Java UnsatisfiedLinkError

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guys,

I'm trying to run a program in java for the following command:



But I received the following error message:

"Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Nitgen\NBioBSPJNI.dll: Can't .dll load IA 32-bit on a 64-bit AMD platform"

How to solve it?

Thank you,

Fernando
 
Marshal
Posts: 73749
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unsatisfied Link problems are to do with native code not being available. Please give details of your installation, operating system, etc. Also are you using a 64‑bit machine?
You may need to reinstall Java®.
Additional: Please also give details of what NitGen is.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The error message means that you are running your program on a 64-bit JVM, but the native library you are trying to use is 32-bit.

The "bitness" of the JVM needs to be the same as the "bitness" of the native library. So, if you have a 32-bit native library, then you must use a 32-bit JVM, or you must find a 64-bit version of the native library.
 
Marshal
Posts: 22391
121
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:You may need to reinstall Java®.


There's no need to, Jesper has it right.
 
So it takes a day for light to pass through this glass? So this was yesterday's tiny ad?
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic