use SigarLoader.getLocation
This commit is contained in:
parent
f4bbb2f167
commit
e0fc284147
|
@ -123,8 +123,7 @@ public class Runner {
|
|||
String[] pargs = new String[args.length - 1];
|
||||
System.arraycopy(args, 1, pargs, 0, args.length-1);
|
||||
|
||||
String sigarLib =
|
||||
new SigarLoader(SigarLoader.class).findJarPath("sigar.jar");
|
||||
String sigarLib = SigarLoader.getLocation();
|
||||
|
||||
String[] dirs = { sigarLib, "lib", "." };
|
||||
for (int i=0; i<dirs.length; i++) {
|
||||
|
|
Loading…
Reference in New Issue