dependency for my test program is org.fusesource.sigar and I have also added sigar-1.6.4.jar in my classpath. I understand that adding sigar-amd64-winnt.dll to my classpath might help, the question is where do I find this file? I have searched and even tried to download it without any success.
Your assistance will be greatly appreciated in this regard
org.hyperic.sigar.SigarException: no sigar-amd64-winnt.dll in java.library.path
at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:172)
at org.hyperic.sigar.Sigar.<clinit>(Sigar.java:100)
at org.hyperic.sigar.win32.Win32.<clinit>(Win32.java:29)
at com.mycompany.testadobeinstalled.TestAdobe.main(TestAdobe.java:28)
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.hyperic.sigar.win32.RegistryKey.RegOpenKey(JLjava/lang/String;)J
at org.hyperic.sigar.win32.RegistryKey.RegOpenKey(Native Method)
at org.hyperic.sigar.win32.RegistryKey.openSubKey(RegistryKey.java:221)
at com.mycompany.testadobeinstalled.TestAdobe.main(TestAdobe.java:28)
Download the sigar package here.
Unzip the file and browser to sigar-bin/lib. In this folder are all DLL's.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With