Did you know that you can make WMI (Windows Management Interface) queries directly from Java? In this tutorial, I present the jWMI library which provides access to the WMI in pure java. With jWMI, you no longer need JNI, COM, or other libraries to query the Windows registry, system services or other Windows information. Take a look at the article here: http://henryranch.net/software/jwmi-query-windows-wmi-from-java/. Join nearly 1000 other developers who are already using jWMI!
Access WMI directly from java