I am using sigar api from http://sigar.hyperic.com
to retrieve information on cpu's and such. it runs fine from when launched from the IDE. However, the issue that I'm having is when i add the jar files to tomcat and lauch the application with my jnlp file i get the following error.
eption: no libsigar-universal-macosx.
dylib in java.library.path
Exception in thread "Thread-21" java.lang.UnsatisfiedLinkE
It appears that I need to do something with the file libsigar-universal-macosx.
Do i need to add it as a resource somehow to the .jnlp file or place it somewhere else?
Thanks in advance for all the help
sigar = new Sigar();
infos = sigar.getCpuInfoList();