How to install SIGAR on Ubuntu-based Linux?

后端 未结 5 944
温柔的废话
温柔的废话 2021-01-18 08:23

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

5条回答
  •  梦谈多话
    2021-01-18 08:42

    I believe it needs to be put into your programs library folder, alongside the "sigar.jar" file.

    If you plan to run your program on other OS variants, you should also have a bunch of ".dll", ".so" and ".dylib" files in the same lib folder.

    Edit: You can download sigar at the link below, it contains the lib files for all major platforms: http://sourceforge.net/projects/sigar/?source=navbar

提交回复
热议问题