• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.lang.UnsatisfiedLinkError

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am facing this problem. i have tried many things but not succeeded.


 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch.

UnsatisfiedLinkError can mean different things. It can mean that Java cannot load a native library, but that doesn't seem to be the problem in your case, looking at the first line of your output.

In your case, it most likely means that there is a version mismatch with the native library. Java cannot find the method lookupDevices() in the native library. You probably have the wrong version of the native library somewhere (jpcap.dll on Windows, jpcap.so on Unix-like operating systems).

Make sure you use a version of the native library that is compatible with the Java program you're running (a version that has the lookupDevices() method as Java expects it).
 
reply
    Bookmark Topic Watch Topic
  • New Topic