2 Replies Latest reply: Jan 15, 2009 4:47 AM by mespadoto RSS

    UnsatisfiedLinkError on CpuInfo.gather()

    mespadoto Hot Shot
      I am trying to get cpu information using the org.hyperic.sigar.CpuInfo class.
      When I call the gather() method, I get the following exception:

      Exception in thread "main" java.lang.UnsatisfiedLinkError: gather at org.hyperic.sigar.CpuInfo.gather(Native Method)

      All the libraries are in place, and since everithing else is working (cpu, io, memory stats), I assume that it's not a library location issue.

      I tried running my application on Windows XP and Solaris 10 x86 and got the same error on both. I am currently using Sigar 1.6.0, but I got the same error with 1.5.0.1.

      Any thoughts ?

      Thanks in advance.