From e0fc284147faf7087e82bf5e87aff109b4e797b7 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 23 Jul 2004 23:44:22 +0000 Subject: [PATCH] use SigarLoader.getLocation --- bindings/java/src/net/hyperic/sigar/cmd/Runner.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bindings/java/src/net/hyperic/sigar/cmd/Runner.java b/bindings/java/src/net/hyperic/sigar/cmd/Runner.java index 9fdf3880..6768083e 100644 --- a/bindings/java/src/net/hyperic/sigar/cmd/Runner.java +++ b/bindings/java/src/net/hyperic/sigar/cmd/Runner.java @@ -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