You can query installed software and their version using Powershell (which isn't preinstalled on server 2008 by default, but is very handy) or the wmic
command (available on all windows machines).
Example for Powershell:
Get-WmiObject Win32_Product -Computername "computer1", "computer2", "computer3" -filter "name like 'java%'" | select __server, name, vendor, version
Example for wmic (run wmic in cmd.exe):
wmic /NODE: "computer1", "computer2", "computer3" product where "name like 'java%'" get name, vendor, version
(Sadly, I haven't found a solution yet, to display the target name using wmic like I did in Powershell with select __server...
, but I will edit this as soon as I have a solution.)
I recommend using Powershell for this because you're more flexible with Powershell and you can, for example, use an xml file or a simple text file as source for target names. I can provide you with samples for that if you're interested (I have to write them first ;)).
Of course you can schedule a powershell script and let it, for example, write its results to a file or send an email.