diff --git a/bindings/java/src/net/hyperic/sigar/win32/Win32.java b/bindings/java/src/net/hyperic/sigar/win32/Win32.java index 030ce6b2..33f7c208 100644 --- a/bindings/java/src/net/hyperic/sigar/win32/Win32.java +++ b/bindings/java/src/net/hyperic/sigar/win32/Win32.java @@ -34,7 +34,7 @@ public abstract class Win32 { String exe; try { - exe = findExecutable(name); + exe = findExecutable(new File(name).getAbsolutePath()); } catch (SigarException e) { return null; }