diff --git a/bindings/java/src/net/hyperic/sigar/win32/Win32Bindings.java b/bindings/java/src/net/hyperic/sigar/win32/Win32Bindings.java index 5d7311a0..509ccd04 100644 --- a/bindings/java/src/net/hyperic/sigar/win32/Win32Bindings.java +++ b/bindings/java/src/net/hyperic/sigar/win32/Win32Bindings.java @@ -1,10 +1,15 @@ package net.hyperic.sigar.win32; import net.hyperic.sigar.Sigar; +import net.hyperic.sigar.SigarException; abstract class Win32Bindings { static { - new Sigar(); //XXX Sigar.load() + try { + Sigar.load(); + } catch (SigarException e) { + + } } }