import library into netbeans.
I've imported a library into my netbeans application. When doing this it created a new package called "sigar-bin" Now the application I have works fine using this package as a folder and just sending the command to the jar, but now I want it to all be one application. This is the command I used when it was just a folder and not part of the application.
My question is now that it is a package what command would I run to get the same effect. I tried importing the package into my class but it will not let me.
String command = "java.exe -jar sigar-bin/lib/sigar.jar cpuinfo";
Thanks for the help.