From 1be17d8e6dff5c7fc2e911b0c9924d3d4c7e7001 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 16 Jan 2006 17:58:40 +0000 Subject: [PATCH] absolute path required for FindExecutable --- bindings/java/src/net/hyperic/sigar/win32/Win32.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }