109110111112113114115116
registerCommandHandler("service", new Win32Service(this)); registerCommandHandler("fversion", new FileVersionInfo(this)); } try { //requires junit.jar registerCommandHandler("test", new SigarTestRunner(this)); } catch (NoClassDefFoundError e) { } }
106107108109110111112113
if (SigarLoader.IS_WIN32) { registerCommandHandler("service", new Win32Service(this)); } try { //requires junit.jar registerCommandHandler("test", new SigarTestRunner(this)); } catch (NoClassDefFoundError e) { } }