Recommended libraries/howtos for using WMI with java?

Yablargo picture Yablargo · Jan 5, 2011 · Viewed 27k times · Source

Hey Folks. I have a reasonably large commercial project (so for-pay licensing is always an option) that is moving into the windows space and I am planning on doing alot of polling with WMI. This is a Java 1.6 client app. Are there any good resources or books out there to get me started in accomplishing this in java? I feel my .NET fu is pretty strong, but I often don't know where to start to accomplish the same tasks in Java.

Thanks!

Answer

Garett picture Garett · Jan 9, 2011

I don't know of any books specific to Java, but If I can offer some advice it would be to just start with WMI MSDN documentation. Also, since WMI is a COM based API, I would look into using a Java to COM bridge for accessing the API. Any one of the following should work:

For a Java wrapper around WMI, there is the jWMI library.