Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

Java + SIGAR + Win 7 = "sigar has been closed"

$
0
0
Hello,

I am trying to use SIGAR but I always get "sigar has been closed" whenever I call anything related to sigar.

for example in a class that inherits from SigarCommandBase I call
this.sigar.getMem();

and the exception with the error is thrown "sigar has been closed".

I am on Windows 7 have a JDK 6_29. I call the dll with the following command:
Runtime.getRuntime().load("C:/sigar-amd64-winnt.dll");

I would appreciate if somebody could help me figuring out why I get this error.

Very kind regards,
         David

Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>