I am using SIGAR in a java project with Maven and Spring. I have the Maven Dependency and Maven Repository included in my pom.xml file, as described in this lin
pom.xml
just install sigar lib:
sudo apt install libhyperic-sigar-java
this works for me.